Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Hatnote compendium page/doc: Difference between revisions

Template page
Content added Content deleted
(note about not needing to add glossary category)
(updated to reflect template name change)
Line 1: Line 1:
<noinclude>{{documentation subpage}}</noinclude>
<noinclude>{{documentation subpage}}</noinclude>
This is a simple template used for glossary pages. Glossary pages are article pages in the main namespace that provides quick, explanatory information allowing the reader to find out more about a specific action or place relating to any of the battalions of the Border Regiment.
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]].
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.


<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.
<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]].
<includeonly>
<includeonly>
[[Category:Template]]
[[Category:Template]]
[[Category:Glossary templates]]
[[Category:Hatnote templates]]
</includeonly>
</includeonly>

Revision as of 02:20, 15 May 2024

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 Compendium of the Lonsdale Battalion and the wider Border Regiment.

{{hatnote compendium entry}} should be placed at the bottom of any new compendium page. Adding [[Category:Compendium]] is not required as it it is built in to the template. However, additional relative categories may be included, especially if they are sub-categories of the compendium.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.