Template:Hatnote: Difference between revisions
Appearance
mNo edit summary |
+docs |
||
| Line 14: | Line 14: | ||
</noinclude> | </noinclude> | ||
<includeonly>{{#invoke:Hatnote|hatnote}}</includeonly> | <includeonly>{{#invoke:Hatnote|hatnote}}</includeonly> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Text", | |||
"description": "The text you want the hatnote to show.", | |||
"example": "Example text" | |||
} | |||
}, | |||
"description": "This template produces formatted text, following the guideline for a Wikipedia hatnote. Broadly speaking, a hatnote should answer a reader's question (maybe preemptively): ''Am I on the right page?''" | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Revision as of 05:46, 23 October 2025
This template produces formatted text, following the guideline for a Wikipedia hatnote. Broadly speaking, a hatnote should answer a reader's question (maybe preemptively): Am I on the right page?
Usage/Example
Adding this temlpate under a header
Header
{{Hatnote|Example hatnote text.}}
Produces this result
Header
This template produces formatted text, following the guideline for a Wikipedia hatnote. Broadly speaking, a hatnote should answer a reader's question (maybe preemptively): ''Am I on the right page?''
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | 1 | The text you want the hatnote to show.
| Unknown | optional |