Difference between revisions of "Template:Hatnote"
Jump to navigation
Jump to search
(The class "dablink" doesn't exist any longer in the CSS. Instead, I've replicated what the automatic 'Redirect' tab uses, which is similar to what Wikipedia does.) |
(Fixed links to Wikipedia) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{ | == Template == | ||
</noinclude><includeonly><div id="contentSub"><span role="note" class="mw-redirectedfrom hatnote navigation-not-searchable">{{{1}}}</span></div></includeonly><noinclude> | |||
== Syntax == | |||
<nowiki>{{Hatnote|TEXT}}</nowiki> | |||
Adds a {{Wikipedia|Hatnote|hatnote}}, a short note placed at the very top of an {{Wikipedia|Article|article}} or a {{Wikipedia|Section|section}}. | |||
== Usage == | |||
See {{Wikipedia|Hatnote|hatnote}}, although here there is just one template, not a plethora of subtemplates. | |||
== Origin == | |||
Very likely, a 2006-ish version of the Wikipedia's own hatnotes. Things have substantially changed since then, and the old <code>dablink</code> class doesn't exist any longer. | |||
</noinclude> | </noinclude> |
Latest revision as of 01:01, 14 September 2022
Template
Syntax
{{Hatnote|TEXT}}
Adds a hatnote, a short note placed at the very top of an article or a section.
Usage
See hatnote, although here there is just one template, not a plethora of subtemplates.
Origin
Very likely, a 2006-ish version of the Wikipedia's own hatnotes. Things have substantially changed since then, and the old dablink
class doesn't exist any longer.