! (talk | contribs)
No edit summary
Tag: Reverted
Made it required because if you aren’t requiring it something has gone terribly wrong.
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
# S<!---->u<!---->b<!---->s<!---->c<!---->r<!---->i<!---->b<!---->e t<!---->o t<!---->h<!---->i<!---->s c<!---->h<!---->a<!---->n<!---->n<!---->e<!---->l<!---->: y<!---->o<!---->u<!---->t<!---->u<!---->b<!---->e<!---->.<!---->c<!---->o<!---->m<!---->/<!---->u<!---->s<!---->e<!---->r<!---->/<!---->m<!---->q<!---->u<!---->i<!---->n<!---->4<!---->0<!---->4<!---->4<!---->0
<noinclude> {{Hatnote|From https://en.wikipedia.org/wiki/Template:Hatnote under CC BY-SA 4.0 }} 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
<blockquote>
==Header ==
<nowiki>{{Hatnote|Example hatnote text.}}</nowiki>
</blockquote>
Produces this result
<blockquote>
==Header ==
{{Hatnote|Example hatnote text.}}
</blockquote>
[[Category:Styling templates]]
</noinclude>
<includeonly>{{#invoke:Hatnote|hatnote}}</includeonly>
<noinclude>
<templatedata>
{
"params": {
"1": {
"label": "Text",
"description": "The text you want the hatnote to show.",
"example": "Example text",
"required": true
}
},
"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>