Template:Hatnote compendium page/doc: Difference between revisions

m
fix link after page move
(note about not needing to add glossary category)
m (fix link after page move)
 
(4 intermediate revisions by the same user not shown)
Line 1:
<noinclude>{{documentation subpage}}</noinclude>
This ishatnote atemplate simple templateis used for glossary pages. Glossary pages are '''article pages''' in the main namespace. thatIts providesfunction quick,is explanatory informationto allowingnotify the reader tothat findthe outpage/article morethey aboutare areading specificis actionlisted orin place relating tothe any[[:Category:Compendium|Compendium]] of the battalions[[Lonsdale ofBattalion]] and the wider [[Border Regiment]].
The template's primary function is to identify which pages are included in [[:Category:Glossary]]. Adding pages to the glossary category allows for a faster navigation in that namespace, which is linked to from this template.
 
==Usage==
<code><nowiki>{{Glossary}}</nowiki></code> should be placed at the bottom of any new glossary page. Adding <code><nowiki>[[Category:Glossary]]</nowiki></code> is '''not''' required as it it is built in to the template.
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>
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 to the subject may be included, especially if they are [[Template:Hatnote compendium category|sub-categories of the compendium]].
<includeonly>
[[Category:Template]]
[[Category:GlossaryHatnote templates]]
</includeonly>