Template:Hatnote/doc
Template page
More actions
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}} Page Template:Hatnote/styles.css has no content.
{{Hatnote|icon=cdxIconHand.svg|I am a hatnote with icon}} Page Template:Hatnote/styles.css has no content.
{{Hatnote|icon=cdxIconHand.svg|color=red|I am a hatnote with icon but in red}} Page Template:Hatnote/styles.css has no content.