Template:Hatnote/doc: Difference between revisions
Content deleted Content added
m →Technical details: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other |
m 165 revisions imported from wikipedia:Template:Hatnote/doc |
||
(15 intermediate revisions by 11 users not shown) | |||
Line 1:
{{Documentation subpage}}
{{High-use| 369726 }}
{{Never substitute}}
{{lua|Module:Hatnote}}
Line 7 ⟶ 8:
{{hatnote|Example hatnote text.}}
Broadly speaking, a hatnote should answer a
{{TOC limit}}
Line 19 ⟶ 20:
== Usage ==
; Basic usage:
{{hatnote|''text''}}
Line 27:
== Parameters ==
This template accepts the following parameters:
* <code>1</code>
* <code>extraclasses</code>
* <code>selfref</code>
* <code>category</code>
== Example ==
* <code><nowiki>{{hatnote|Example hatnote text}}</nowiki></code> → {{hatnote|Example hatnote text}}
== Errors ==
If no hatnote text is supplied, the template will output the following message:
* {{hatnote|category=no}}
Line 54 ⟶ 51:
== Technical details ==
The HTML code produced by this template looks like this:
*
The code is produced by [[Module:Hatnote]].
==See also==
* {{tl|For}}
{{Hatnote templates}}
|