Abrir menu principal

UESPWiki β

Alterações

Predefinição:Trail/Doc

2 094 bytes adicionados, 19h07min de 25 de janeiro de 2018
m
Atualização do conteúdo de acordo com a UESP original
__NOTOC__
==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 {{tl|Place Summary}}, can add to or override the Trail template if placed later on the page.
==Parameters==
{{Parameters
|1<br>2<br>3<br>4|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<br>addcat2<br>addcat3<br>addcat4|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 <code>Category:''namespace''-</code>.|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==
<pre>{{Trail|Quests|Fighters Guild}}</pre>If used in the Oblivion namespaceon an [[Morrowind:Morrowind|Morrowind]] page:* The trail is <small>[[Oblivion:Oblivion|Oblivion]]: [[Oblivion:Quests|Quests]]: [[OblivionMorrowind:Fighters GuildMorrowind|Fighters GuildMorrowind]]</small>* The category is [[:Category:Oblivion-Quests-Fighters GuildMorrowind]]
<pre>{{Trail|Items}}</pre>
If used on an [[Morrowind:Morrowind|Morrowind]] page:
* The trail is <small>[[Morrowind:Morrowind|Morrowind]]: [[Morrowind:Items|Items]]</small>
* The category is [[:Category:Morrowind-Items]]
 
If used on a [[Tes3Mod:Tamriel Rebuilt]] page:
* The trail is <small>[[Tes3Mod:Tes3Mod|Tes3Mod]]: [[Tes3Mod:Tamriel Rebuilt|Tamriel Rebuilt]]: [[Tes3Mod:Tamriel Rebuilt/Items|Items]]</small>
* The category is [[:Category:Tes3Mod-Tamriel Rebuilt-Items]]
 <pre>{{Trail|Enchanting|Glyphs}}</pre>If used in the Online namespace:* The trail is <small>[[Online:Online|Online]]: [[Online:Enchanting|Enchanting]]: [[Online:Glyphs|Glyphs]]</small>* The category is [[:Category:Online-Enchanting-Glyphs]] <pre>{{Trail|Quests|Fighters Guild}}</pre>If used in the Oblivion namespace:* The trail is <small>[[Oblivion:Oblivion|Oblivion]]: [[Oblivion:Quests|Quests]]: [[Oblivion:Fighters Guild|Fighters Guild]]</small>* The categories are [[:Category:Oblivion-Quests]] and [[:Category:Oblivion-Quests-Fighters Guild]] <pre>{{Trail|Alchemy/Items/Ingredients}}</pre>If used in the Oblivion namespace:* The trail is <small>[[Oblivion:Oblivion|Oblivion]]: [[Oblivion:Alchemy|Alchemy]] / [[Oblivion:Items|Items]] / [[Oblivion:Ingredients|Ingredients]]</small>* The categories are [[:Category:Oblivion-Alchemy]], [[:Category:Oblivion-Items]], and [[:Category:Oblivion-Ingredients]] <pre>{{Trail|Places|addcat1=Dawnguard|addcat2=Dawnguard-Places}}</pre>If used in the Skyrim namespace:* The trail is <small>[[Skyrim:Skyrim|Skyrim]]: [[Skyrim:Places|Places]]</small>* The categories are [[:Category:Skyrim-Places]], [[:Category:Skyrim-Dawnguard]], and [[:Category:Skyrim-Dawnguard-Places]] <includeonly>[[Category:Bread Crumb Trail Templates| {{BASEPAGENAME}}]]</includeonly><noinclude>[[Category:Template Documentation|{{PAGENAME}}]]</noinclude>
confirmed, Patrulhadores, translator, Userspace Patrollers
3 064
edições