Template:Intro: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk's Bot
No edit summary
imported>An Adventurer
(removing bg color)
 
(24 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly><div width="100%" style="float:none; width:100%; padding: 6px 6px 6px 6px">
{|border=0 cellpadding=0 cellspacing=0 style="float:none; width:100%; padding: 0px 0px 5px 0px;"
{|border=0 cellpadding=0 cellspacing=0  
|align=left|
|-valign=top
{|border=0 cellpadding=0 cellspacing=0 class="toccolours" style="float:none; width:100%; padding: 6px 6px 6px 6px;"
|align=left| <b><font color=#ffffcc>Introduced:&nbsp;</font></b>
|
|align=left| {{#ifeq:{{{Patch Introduced|}}}||??|{{{Patch Introduced|}}}}}
{|border=0 cellpadding=0 cellspacing=0 style="background-color:#F9F9F9"
|width=8|
|<b><font color=#606060>Introduced:</font></b> {{#ifeq:{{{Patch Introduced|}}} | | ?? | {{{Patch Introduced}}} }}
|align=left| {{#ifeq:{{{Related Quests|}}}|||<b><font color=#ffffcc>Related&nbsp;Quests:&nbsp;</font></b>}}
|width=10|  
|align=left| {{#ifeq:{{{Related Quests|}}}|||{{{Related Quests|}}}}}
|{{#ifeq:{{{Related Quests|}}} | | |<b><font color=#606060>Related Quests:</font></b> {{{Related Quests}}} }}
|width=8|  
|width=10|  
|align=left| {{#ifeq:{{{Updated|}}}|||<b><font color=#ffffcc>Updated:&nbsp;</font></b>}}
| {{#ifeq:{{{Updated|}}} | | |<b><font color=#606060>Updated:</font></b> {{{Updated}}} }}
|align=left| {{#ifeq:{{{Updated|}}}|||{{{Updated|}}}}}
|}
|}</div></includeonly>
{{#ifeq{{{Rare|}}}|||
<noinclude>
{{!}}align=right{{!}}
{{Documentation}}
'''[[Rares|Rare #{{{Rare #|??}}}]]'''
[[Category:Wiki Template]][[Category:Summary Template]]
}}
|}
|}</includeonly><noinclude>
{{Related|Wiki Templates|Page Templates}}
== Syntax ==
<pre>
{{Intro
| Patch Introduced =
|  Related Quests =
|          Updated =
}}
</pre>
 
<pre>
{{Intro
| Patch Introduced = [[<Patch>]]
|  Related Quests = [[<Quest>]], [[<Quest>]]
|          Updated = [[<Patch>]], [[<Patch>]]
|          Rare # = ###
}}
</pre>
 
== 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. All items should be enclosed in link brackets <nowiki>( [[ ]] )</nowiki>.
</noinclude>
</noinclude>

Latest revision as of 07:40, 18 September 2018


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