Difference between revisions of "Template: Hatnote"

From A Wiki of Ice and Fire
Jump to: navigation, search
(formatting)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
:<div class="dablink">''{{{1}}}.''</div><noinclude>
+
<includeonly>{{#invoke:Hatnote|hatnote}}</includeonly><noinclude>
 
+
{{documentation}}
{{hatnote|This is a hatnote.}}
+
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 
+
</noinclude>
This template produces formatting for hatnotes at the heads of articles or sections.</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.