Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 08:19, 27 July 2025 by >MangoFVTT (Created page with "Meta-template to create a hatnote that are used on top of page or section. == Parameters == {|class="wikitable" |- ! Type !! Name !! Description |- | string || <code>class</code> || HTML class for the template |- | string || <code>1</code> || Content for the hatnote template |- | string || <code>color</code> || Color of the template (red, yellow, green) |- | string || <code>icon</code> || File name of the icon |} == Usage == <pre>{{Hatnote|I am a hatnote}}</pre> {{Hatn...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Meta-template to create a hatnote that are used on top of page or section.

Parameters

Type Name Description
string class HTML class for the template
string 1 Content for the hatnote template
string color Color of the template (red, yellow, green)
string icon File name of the icon

Usage

{{Hatnote|I am a hatnote}}

{{Hatnote|icon=fa-book-solid-full.svg|I am a hatnote with icon}}

{{Hatnote|icon=fa-book-solid-full.svg|color=red|I am a hatnote with icon but in red}}