Template:Intro: Difference between revisions

From leaftidewiki
Jump to navigation Jump to search
imported>An Adventurer
(changes to intro box to fit new styles)
imported>An Adventurer
(removed my hardcoded values used in testing. oops!)
Line 3: Line 3:
|-valign=top
|-valign=top
|align=left| <b><font color=#ffffcc>Introduced:&nbsp;</font></b>
|align=left| <b><font color=#ffffcc>Introduced:&nbsp;</font></b>
|align=left| <font color=#ffffff>[[Release]]</font>
|align=left| {{#ifeq:{{{Patch Introduced|}}}||??|{{{Patch Introduced|}}}}}
|width=8|
|width=8|
|align=left| <b><font color=#ffffcc>Related&nbsp;Quests:&nbsp;</font></b>
|align=left| {{#ifeq:{{{Related Quests|}}}|||<b><font color=#ffffcc>Related&nbsp;Quests:&nbsp;</font></b>}}
|align=left| [[Sword of Lost Light Quest]]
|align=left| {{#ifeq:{{{Related Quests|}}}|||{{{Related Quests|}}}}}
|width=8|  
|width=8|  
|align=left| <b><font color=#ffffcc>Updated:&nbsp;</font></b>
|align=left| {{#ifeq:{{{Updated|}}}|||<b><font color=#ffffcc>Updated:&nbsp;</font></b>}}
|align=left| [[Dark Majesty]]
|align=left| {{#ifeq:{{{Updated|}}}|||{{{Updated|}}}}}
|}
|}
</div></includeonly>
</div></includeonly>

Revision as of 05:16, 8 June 2018



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>]]
}}

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