Template:Intro/Doc: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
imported>An Adventurer
 
Line 14: Line 14:
  |  Related Quests = [[<Quest>]], [[<Quest>]]
  |  Related Quests = [[<Quest>]], [[<Quest>]]
  |          Updated = [[<Patch>]], [[<Patch>]]
  |          Updated = [[<Patch>]], [[<Patch>]]
| Retired Versions = [[<Page>|1]], [[<Page>|2]]
|  Current Version = [[<Page>]]
|      Rare Number = <Number>
}}
}}
</pre>
</pre>
Line 22: Line 19:
== Usage ==
== Usage ==
This is a component template that is used within many [[Page Templates]] and displays the patch introduced, related quests and patches when the item was updated. Leave blank any sections that do not apply. Items should be enclosed in link brackets <nowiki>( [[ ]] )</nowiki>.
This is a component template that is used within many [[Page Templates]] and displays the patch introduced, related quests and patches when the item was updated. Leave blank any sections that do not apply. Items should be enclosed in link brackets <nowiki>( [[ ]] )</nowiki>.
If an item is a [[Rare]], setting <code>Rare Number = <??></code> will categorize the page as a rare and display a link in the upper right. For non-rares simply leave this value out all together.
You can display prominent links to retired versions on the page for the current version, and vice versa, by adding the appropriate parameter shown above (you can delete parameters that don't apply).


<noinclude>
<noinclude>
[[Category:Template Documentation]]
[[Category:Template Documentation]]
</noinclude>
</noinclude>

Latest revision as of 18:13, 6 June 2018

Related topics: Wiki Templates, Page Templates

Syntax

{{Intro
 | Patch Introduced = 
 |   Related Quests = 
 |          Updated = 
}}
{{Intro
 | Patch Introduced = [[<Patch>]]
 |   Related Quests = [[<Quest>]], [[<Quest>]]
 |          Updated = [[<Patch>]], [[<Patch>]]
}}

Usage

This is a component template that is used within many Page Templates and displays the patch introduced, related quests and patches when the item was updated. Leave blank any sections that do not apply. Items should be enclosed in link brackets ( [[ ]] ).