Difference between revisions of "Template: Hatnote"

From A Wiki of Ice and Fire
Jump to: navigation, search
(formatting)
(explanation)
Line 1: Line 1:
 
:<div class="dablink">''{{{1}}}.''</div><noinclude>
 
:<div class="dablink">''{{{1}}}.''</div><noinclude>
  
{{hatnote|This is a hatnote.}}
+
==Usage==
 +
This template produces formatting for hatnotes at the heads of articles or sections.
  
This template produces formatting for hatnotes at the heads of articles or sections.</noinclude>
+
To add a hatnote, write <nowiki>{{</nowiki>'''Hatnote'''<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]]</noinclude>

Revision as of 14:14, 2 July 2016

Usage

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

To add a hatnote, write {{Hatnote}}. For example, {{Hatnote|This is a hadnote}} 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.