Template:Intro: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
(added parameters to include links to retired versions and the current version of an item, split documentation)
imported>Immortalbob
mNo edit summary
Line 16: Line 16:
|}
|}
|align=right|
|align=right|
{{#ifeq:{{{Retired Versions|}}}|||<b><font color=#606060>Retired Versions:&nbsp;</font></b> '''{{{Retired Versions|}}}'''}}{{#ifeq:{{{Current Version|}}}|||<b><font color=#606060>Current Version:&nbsp;</font></b> {{{Current Version|}}}}}{{#ifeq:{{{Rare Number|}}}|||'''[[Rares{{!}}Rare #{{{Rare Number|}}}]]'''
{{#ifeq:{{{Retired Versions|}}}|||<b><font color=#606060>Retired Versions:&nbsp;</font></b> '''{{{Retired Versions|}}}'''}} {{#ifeq:{{{Current Version|}}}|||<b><font color=#606060>Current Version:&nbsp;</font></b> {{{Current Version|}}}}} {{#ifeq:{{{Rare Number|}}}|||'''[[Rares{{!}}Rare #{{{Rare Number|}}}]]'''
}}
}}
|}
|}

Revision as of 18:04, 27 October 2010

Template Documentation: |_}}/Doc?action=edit Edit Documentation

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 ( [[ ]] ).