Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Hatnote: Difference between revisions

Template page
Created page with "<nowiki>{{Hatnote|TEXT}}</nowiki>"
 
PenguinEncounter (talk | contribs)
No edit summary
Tag: 2017 source edit
Line 1: Line 1:
<nowiki>{{Hatnote|TEXT}}</nowiki>
<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
},
"extraclasses": {
"label": "CSS classes",
"description": "Additional CSS classes to add to the hatnote."
}
},
"description": "Displays a hatnote; italic with padding and optionally an underline.",
"format": "inline"
}
</templatedata></noinclude>

Revision as of 20:13, 26 September 2024

{{{text}}}

Displays a hatnote; italic with padding and optionally an underline.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1 text

Text to be displayed in the hatnote.

Unknownrequired
CSS classesextraclasses

Additional CSS classes to add to the hatnote.

Unknownoptional