Difference between revisions of "Template: Hatnote"

From A Wiki of Ice and Fire
Jump to: navigation, search
(explanation)
(Usage)
Line 4: Line 4:
 
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.
  
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:
+
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}}
 
{{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.
 
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>
 
[[Category:Templates]]</noinclude>

Revision as of 14:15, 2 July 2016

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 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.