Difference between revisions of "Template: Hatnote"

From A Wiki of Ice and Fire
Jump to: navigation, search
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
:<div class="dablink">''{{{1}}}.''</div><noinclude>
+
<includeonly>{{#invoke:Hatnote|hatnote}}</includeonly><noinclude>
 
+
{{documentation}}
==Usage==
+
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
This template produces formatting for hatnotes at the heads of articles or sections.
+
</noinclude>
 
 
To add a hatnote, write <nowiki>{{</nowiki>'''Hatnote'''|''text''<nowiki>}}</nowiki>. For example, <nowiki>{{</nowiki>'''Hatnote'''|''This is a hadnote''<nowiki>}}</nowiki> gives the following result:
 
{{hatnote|This is a hatnote}}
 
 
 
Add your hatnotes at the top of a page, above any infobox that can be found, in order to display the hatnote on the top of pages in mobile view as well as desktop view.
 
[[Category:Templates]][[Category:Hatnote Templates]]</noinclude>
 

Latest revision as of 16:39, 10 September 2018

Template documentation[view] [edit] [history] [purge]

Usage

This template produces formatting for hatnotes at the heads of articles or sections.

To add a hatnote, write {{Hatnote|text}}. For example, {{Hatnote|This is a hatnote}} gives the following result:

Add your hatnotes at the top of a page, above any infobox that can be found, in order to display the hatnote on the top of pages in mobile view as well as desktop view.