Template:Hatnote/doc: Difference between revisions

Content added Content deleted
(docs)
Tag: 2017 source edit
 
(typoed)
Tag: 2017 source edit
 
Line 5: Line 5:
<code><nowiki>{{Hatnote|2+2=4}}</nowiki></code> yields {{Hatnote|2+2=4}}
<code><nowiki>{{Hatnote|2+2=4}}</nowiki></code> yields {{Hatnote|2+2=4}}


<code><nowiki>{{Hatnote|1=2+2=4}}</nowiki></code> yields {{Hatnote|1+2+2=4}}
<code><nowiki>{{Hatnote|1=2+2=4}}</nowiki></code> yields {{Hatnote|1=2+2=4}}

Latest revision as of 15:54, 24 February 2022

Creates a basic hatnote. Takes one parameter, the content of the hatnote. If the content has an equals sign in it, for technical reasons you must prepend the parameter with 1=.

{{Hatnote|Example}} yields

{{Hatnote|2+2=4}} yields Error: no text specified (help).

{{Hatnote|1=2+2=4}} yields