Template:Intro: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Tlosk's Bot
No edit summary
Created page with "<includeonly>{{#ifeq:{{{Rare Number|}}}|||Category:Rare}} {|border=0 cellpadding=0 cellspacing=0 style="float:none; width:100%; padding: 0px 0px 5px 0px;" |align=left| {|border=0 cellpadding=0 cellspacing=0 class="toccolours" style="float:none; width:100%; padding: 6px 6px 6px 6px;" | {|border=0 cellpadding=0 cellspacing=0 style="background-color:#F9F9F9" |-valign=top |align=left| <b><font color=#606060>Introduced: </font></b> |align=left| {{#ifeq:{{{Patch Intro..."
 
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{{#ifeq:{{{Rare Number|}}}|||[[Category:Rare]]}}
{|border=0 cellpadding=0 cellspacing=0 style="float:none; width:100%; padding: 0px 0px 5px 0px;"
{|border=0 cellpadding=0 cellspacing=0 style="float:none; width:100%; padding: 0px 0px 5px 0px;"
|align=left|
|align=left|
Line 5: Line 5:
|
|
{|border=0 cellpadding=0 cellspacing=0 style="background-color:#F9F9F9"
{|border=0 cellpadding=0 cellspacing=0 style="background-color:#F9F9F9"
|<b><font color=#606060>Introduced:</font></b> {{#ifeq:{{{Patch Introduced|}}} | | ?? | {{{Patch Introduced}}} }}
|-valign=top
|width=10|  
|align=left| <b><font color=#606060>Introduced:&nbsp;</font></b>
|{{#ifeq:{{{Related Quests|}}} | | |<b><font color=#606060>Related Quests:</font></b> {{{Related Quests}}} }}
|align=left| {{#ifeq:{{{Patch Introduced|}}}||??|{{{Patch Introduced|}}}}}
|width=10|  
|width=8|
| {{#ifeq:{{{Updated|}}} | | |<b><font color=#606060>Updated:</font></b> {{{Updated}}} }}
|align=left| {{#ifeq:{{{Related Quests|}}}|||<b><font color=#606060>Related&nbsp;Quests:&nbsp;</font></b>}}
|align=left| {{#ifeq:{{{Related Quests|}}}|||{{{Related Quests|}}}}}
|width=8|  
|align=left| {{#ifeq:{{{Updated|}}}|||<b><font color=#606060>Updated:&nbsp;</font></b>}}
|align=left| {{#ifeq:{{{Updated|}}}|||{{{Updated|}}}}}
|}
|}
|width=10|  
|align=right| {{#ifeq:{{{Retired Versions|}}}|||<b><font color=#606060>Retired Versions:&nbsp;</font></b> '''{{{Retired Versions|}}}'''}}
{{#ifeq{{{Rare Number|}}}|||
|align=right| {{#ifeq:{{{Current Version|}}}|||<b><font color=#606060>Current Version:&nbsp;</font></b> {{{Current Version|}}}}}
{{!}}align=right{{!}}
|align=right| {{#ifeq:{{{Rare Number|}}}|||'''[[Rares{{!}}Rare #{{{Rare Number|}}}]]'''
'''[[Rares{{!}}Rare <nowiki>#</nowiki>{{{Rare Number|??}}}]]'''
}}
}}
|}
|}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
{{Related|Wiki Templates|Page Templates}}
{{Documentation}}
== Syntax ==
[[Category:Wiki Template]][[Category:Summary Template]]
<pre>
{{Intro
| Patch Introduced =
|  Related Quests =
|          Updated =
}}
</pre>
 
<pre>
{{Intro
| Patch Introduced = [[<Patch>]]
|  Related Quests = [[<Quest>]], [[<Quest>]]
|          Updated = [[<Patch>]], [[<Patch>]]
|      Rare Number = ###
}}
</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 23:22, 16 January 2024

Template Documentation: 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>]]
 | Retired Versions = [[<Page>|1]], [[<Page>|2]]
 |  Current Version = [[<Page>]]
 |      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.


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).