Template:Hatnote compendium page/doc: Difference between revisions

m
fix link after page move
m (Borderman moved page Template:Glossary/doc to Template:Hatnote compendium page/doc: Renaming title)
m (fix link after page move)
 
(2 intermediate revisions by the same user not shown)
Line 1:
<noinclude>{{documentation subpage}}</noinclude>
This hatnote template is used for '''article pages''' in the main namespace. Its function is to notify the reader that the page/article they are reading is listed in the [[:Category:Compendium|Compendium]] of the [[Lonsdale Battalion]] and the wider [[Border Regiment]].
 
==Usage==
<code><nowiki>{{hatnote compendium entry}}</nowiki></code> should be placed at the bottom of any new compendium page. Adding <code><nowiki>[[Category:Compendium]]</nowiki></code> is '''not''' required as it it is built in to the template. However, additional relative categories may be included, especially if they are [[Template:Hatnote compendium|sub-categories of the compendium]].
Either of the following can be used. It should be placed at the bottom of any new compendium page, but above any categories.
*The main template page <code><nowiki>{{hatnote compendium page}}</nowiki></code>
*The redirected template page <code><nowiki>{{compendium}}</nowiki></code>
<code><nowiki>{{hatnote compendium entry}}</nowiki></code> should be placed at the bottom of any new compendium page. Adding <code><nowiki>[[Category:Compendium]]</nowiki></code> is '''not''' required as it it is built in to the template. However, additional categories that are relative categoriesto the subject may be included, especially if they are [[Template:Hatnote compendium category|sub-categories of the compendium]].
<includeonly>
[[Category:Template]]