More actions
Created page with "<nowiki>{{Hatnote|TEXT}}</nowiki>" |
No edit summary Tag: 2017 source edit |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
< | <templatestyles src="Template:Hatnote/style.css"/><div role="note" class="hatnote {{{extraclasses|}}}">{{{1|{{{text}}}}}}</div><noinclude><!-- Documentation --> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"aliases": [ | |||
"text" | |||
], | |||
"label": "Text", | |||
"description": "Text to be displayed in the hatnote.", | |||
"required": true, | |||
"type": "content" | |||
}, | |||
"extraclasses": { | |||
"label": "CSS classes", | |||
"description": "Additional CSS classes to add to the hatnote.", | |||
"suggestedvalues": [ | |||
"no-border" | |||
], | |||
"type": "string" | |||
} | |||
}, | |||
"description": "Displays a hatnote; italic with padding and optionally an underline.", | |||
"format": "inline" | |||
} | |||
</templatedata></noinclude> |
Latest revision as of 20:17, 26 September 2024
{{{text}}}
Displays a hatnote; italic with padding and optionally an underline.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text | 1 text | Text to be displayed in the hatnote. | Content | required |
CSS classes | extraclasses | Additional CSS classes to add to the hatnote.
| String | optional |