Template:Trail2
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. Its use is much the same as {{Trail}}, but gives the user a finer control of links used and categories added.
Parameters
Parameter | Scope | Description |
---|---|---|
1 2 3 |
optional | The elements of the trail and categories to be used. This should not be links. |
title1 title2 title3 |
optional | The titles displayed in the trails, defaults to the positional parameters. |
link1 link2 link3 |
optional | The links used in the trail, defaults to the title parameters. |
cat1 cat2 cat3 |
optional | The category parts used, defaults to the title parameters. |
sortkey | optional | The sort key to use for all categories unless otherwise specified. Defaults to the page name. |
sortkey1 sortkey2 sortkey3 |
optional | The sort keys for each category. Defaults to sortkey or the page name if not specified. |
addcat1 addcat2 addcat3 |
optional | Additional categories to be added. These are not linked to the trail in any way; they're provided only to allow pages like Daggerfall:Anthotis to specify additional categories in the trail. Only the trailing portion of the category is required (e.g., addcat1=Factions-Vampire Bloodline would link to Category:Daggerfall-Factions-Vampire Bloodline in Daggerfall space. |
addsortkey | optional | The sort key to use for all addcat parameters unless otherwise specified. Defaults to sortkey or the page name if not specified. |
addsortkey1 addsortkey2 addsortkey3 |
optional | The sort keys for each individual addcat parameter. Defaults to addsortkey or the page name if not specified. |
nocat | optional | If a value is passed for this parameter, no categories will be added. |
Examples
{{Trail2|Quests|Thieves Guild|link2=Thieves Guild (faction)}}
If used in the Skyrim namespace:
- The trail is Skyrim: Quests: Thieves Guild
- The category is Category:Skyrim-Quests-Thieves Guild
Trail2 in Use
For a summary on how to use Trail2 for longer Trails, such as those for Crown Store Furnishing Packs, and other Pages with more than 1 subpage: