Template:Hatnote/doc: Difference between revisions
Template page
More actions
>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..." |
>MangoFVTT No edit summary |
||
| Line 21: | Line 21: | ||
<hr> | <hr> | ||
<pre>{{Hatnote|icon=fa-book-solid-full.svg|color=red|I am a hatnote with icon but in red}}</pre> {{Hatnote|icon=fa-book-solid-full.svg|color=red|I am a hatnote with icon but in red}} | <pre>{{Hatnote|icon=fa-book-solid-full.svg|color=red|I am a hatnote with icon but in red}}</pre> {{Hatnote|icon=fa-book-solid-full.svg|color=red|I am a hatnote with icon but in red}} | ||
<hr> | |||
<pre>{{Hatnote|icon=fa-book-solid-full.svg|color=yellow|I am a hatnote with icon but in yellow}}</pre> {{Hatnote|icon=fa-book-solid-full.svg|color=yellow|I am a hatnote with icon but in yellow}} | |||
<hr> | |||
<pre>{{Hatnote|icon=fa-book-solid-full.svg|color=green|I am a hatnote with icon but in green}}</pre> {{Hatnote|icon=fa-book-solid-full.svg|color=green|I am a hatnote with icon but in green}} | |||
<includeonly>[[Category:Utility Templates]]</includeonly> | <includeonly>[[Category:Utility Templates]]</includeonly> | ||