Template:Trail
Due to the sensitive nature of this template or the fact that it is used on a large number of pages, it has been semi-protected to prevent site-wide damage by vandal bots. Editors: In order to minimize the impact on our servers, please use sandboxes to make and test changes to widely used templates before deployment. For more information, please see this article's talk page. |
Summary
Creates a bread crumb trail and adds the article to the appropriate category. The resulting bread crumb trail is in the "new format": it is inserted at the top left of the page. Pages will be categorized into the combination of all the trail elements. If the first parameter is either "Places" or "Quests", those categories will be added in addition to the combined category. Slashes in the text of the final parameter allow for multiple trail links and categories.
Note: Other templates, like {{Place Summary}}, can add to or override the Trail template if placed later on the page.
Parameters
Parameter | Scope | Description |
---|---|---|
1 2 3 4 5 |
optional | The elements of the trail and categories to be used. These should not be links (the trail subroutines will automatically convert them into links). |
addcat1 addcat2 addcat3 addcat4 addcat5 |
optional | Additional categories to be added. This is a convenience function to keep all trail-like categories in the template call. All categories will be prefixed with Category:namespace- . |
nocat | optional | If a value is passed for this parameter, no categories will be added. This will automatically be set in User and Template space. |
ns_base | optional | Namespace for the trail links. |
Examples
{{Trail}}
If used on an Morrowind page:
- The trail is Morrowind
- The category is Category:Morrowind
{{Trail|Items}}
If used on an Morrowind page:
- The trail is Morrowind: Items
- The category is Category:Morrowind-Items
If used on a Tes3Mod:Tamriel Rebuilt page:
- The trail is Morrowind Mod: Tamriel Rebuilt: Items
- The category is Category:Tes3Mod-Tamriel Rebuilt-Items
{{Trail|Enchanting|Glyphs}}
If used in the Online namespace:
- The trail is Online: Enchanting: Glyphs
- The category is Category:Online-Enchanting-Glyphs
{{Trail|Quests|Fighters Guild}}
If used in the Oblivion namespace:
- The trail is Oblivion: Quests: Fighters Guild
- The categories are Category:Oblivion-Quests and Category:Oblivion-Quests-Fighters Guild
{{Trail|Alchemy/Items/Ingredients}}
If used in the Oblivion namespace:
- The trail is Oblivion: Alchemy / Items / Ingredients
- The categories are Category:Oblivion-Alchemy, Category:Oblivion-Items, and Category:Oblivion-Ingredients
{{Trail|Places|addcat1=Dawnguard|addcat2=Dawnguard-Places}}
If used in the Skyrim namespace:
- The trail is Skyrim: Places
- The categories are Category:Skyrim-Places, Category:Skyrim-Dawnguard, and Category:Skyrim-Dawnguard-Places