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)
Add suggestion ('no-border') to extraclasses
Tag: 2017 source edit
PenguinEncounter (talk | contribs)
No edit summary
Tag: 2017 source edit
 
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": {
Line 17: Line 18:
"suggestedvalues": [
"suggestedvalues": [
"no-border"
"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