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
PenguinEncounter (talk | contribs)
No edit summary
Tag: 2017 source edit
PenguinEncounter (talk | contribs)
No edit summary
Tag: 2017 source edit
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
"label": "Text",
"label": "Text",
"description": "Text to be displayed in the hatnote.",
"description": "Text to be displayed in the hatnote.",
"required": true
"required": true,
"type": "content"
},
},
"extraclasses": {
"extraclasses": {
"label": "CSS classes",
"label": "CSS classes",
"description": "Additional CSS classes to add to the hatnote."
"description": "Additional CSS classes to add to the hatnote.",
"suggestedvalues": [
"no-border"
],
"type": "string"
}
}
},
},

Latest revision as of 20:17, 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.

Contentrequired
CSS classesextraclasses

Additional CSS classes to add to the hatnote.

Suggested values
no-border
Stringoptional