Template:Intro: Difference between revisions
From Drunkapedia
imported>Tlosk No edit summary |
imported>Tlosk No edit summary |
||
Line 3: | Line 3: | ||
|-valign=top | |-valign=top | ||
|align=left| | |align=left| | ||
{|border=0 cellpadding=0 cellspacing=0 class="toccolours" style="float:none; padding: 6px 6px 6px 6px;" | {|border=0 cellpadding=0 cellspacing=0 class="toccolours" style="float:none; width:100%; padding: 6px 6px 6px 6px;" | ||
|-valign=top | |-valign=top | ||
| | | | ||
Line 11: | Line 11: | ||
|width=3| | |width=3| | ||
|align=left|{{#ifeq:{{{Patch Introduced|}}}|| ?? | {{{Patch Introduced|}}} }} | |align=left|{{#ifeq:{{{Patch Introduced|}}}|| ?? | {{{Patch Introduced|}}} }} | ||
|width=10| | |width=10| | ||
| | | | ||
|align=left|{{#ifeq:{{{Related Quests|}}}|||<b><font color=#606060>Related Quests: </font></b>}} | |align=left|{{#ifeq:{{{Related Quests|}}}|||<b><font color=#606060>Related Quests: </font></b>}} | ||
|width=3| | |width=3| | ||
|align=left|{{#ifeq:{{{Related Quests|}}}|||{{{Related Quests|}}} }} | |align=left|{{#ifeq:{{{Related Quests|}}}|||{{{Related Quests|}}} }} | ||
|width=10| | |width=10| | ||
| | | | ||
|align=left|{{#ifeq:{{{Updated|}}}|||<b><font color=#606060>Updated: </font></b>}} | |align=left|{{#ifeq:{{{Updated|}}}|||<b><font color=#606060>Updated: </font></b>}} | ||
|width=3| | |width=3| | ||
|align=left|{{#ifeq:{{{Updated|}}}||| {{{Updated|}}} }} | |align=left|{{#ifeq:{{{Updated|}}}||| {{{Updated|}}} }} | ||
|align=right| | |align=right| | ||
{{#ifeq:{{{Rare Number|}}}|||'''[[Rares{{!}}Rare #{{{Rare Number|??}}}]]'''}} | {{#ifeq:{{{Rare Number|}}}|||'''[[Rares{{!}}Rare #{{{Rare Number|??}}}]]'''}} |
Revision as of 09:33, 21 April 2009
Related topics: Wiki Templates, Page Templates
Syntax
{{Intro | Patch Introduced = | Related Quests = | Updated = }}
{{Intro | Patch Introduced = [[<Patch>]] | Related Quests = [[<Quest>]], [[<Quest>]] | Updated = [[<Patch>]], [[<Patch>]] | Rare Number = <Number> }}
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 ( [[ ]] ).
If an item is a Rare, setting Rare Number = <??>
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.