Template:Key: Difference between revisions
Jump to navigation
Jump to search
imported>Tlosk's Bot No edit summary |
imported>Tlosk's Bot No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{|border=0 cellpadding=0 cellspacing=3 | {|border=0 cellpadding=0 cellspacing=3 style=width:100% | ||
|colspan=3| From [[{{#ifeq:{{{Quest|??}}}| |??|{{{Quest|??}}}}}]] introduced in [[{{#ifeq:{{{Patch|??}}}| |??|{{{Patch|??}}}}}]].<br> | |colspan=3| From [[{{#ifeq:{{{Quest|??}}}| |??|{{{Quest|??}}}}}]] introduced in [[{{#ifeq:{{{Patch|??}}}| |??|{{{Patch|??}}}}}]].<br> | ||
|-valign=top | |-valign=top | ||
Line 13: | Line 13: | ||
{{#ifeq:{{{Description|}}}|||{{#ifeq:{{{Description| }}}| ||{{{Description}}}<br><br>}}}}{{#ifeq:{{{Special Properties|}}}|||{{#ifeq:{{{Special Properties| }}}| ||[[Special Properties]]: {{{Special Properties}}}<br><br>}}}}{{#ifeq:{{{Description Two|}}}|||{{#ifeq:{{{Description Two| }}}| ||{{{Description Two}}}<br><br>}}}}{{#ifeq:{{{Number of Uses|}}}|||{{#ifeq:{{{Number of Uses| }}}| ||Number of uses remaining: {{{Number of Uses}}}<br><br>}}}}{{#ifeq:{{{Cannot Be Sold|False}}}|True|This item cannot be sold.<br><br>|}} | {{#ifeq:{{{Description|}}}|||{{#ifeq:{{{Description| }}}| ||{{{Description}}}<br><br>}}}}{{#ifeq:{{{Special Properties|}}}|||{{#ifeq:{{{Special Properties| }}}| ||[[Special Properties]]: {{{Special Properties}}}<br><br>}}}}{{#ifeq:{{{Description Two|}}}|||{{#ifeq:{{{Description Two| }}}| ||{{{Description Two}}}<br><br>}}}}{{#ifeq:{{{Number of Uses|}}}|||{{#ifeq:{{{Number of Uses| }}}| ||Number of uses remaining: {{{Number of Uses}}}<br><br>}}}}{{#ifeq:{{{Cannot Be Sold|False}}}|True|This item cannot be sold.<br><br>|}} | ||
|} | |} | ||
|width=20| | |||
| | | | ||
{{#ifeq:{{{Live Image|Live.jpg}}} | {{#ifeq:{{{Live Image|Live.jpg}}} | ||
Line 20: | Line 21: | ||
| | | | ||
| | | | ||
| [[Image:{{{Live Image|}}}{{!}}frame{{!}}{{{Live Image Caption}}}|right]] | |||
| [[Image:{{{Live Image|}}}{{!}}frame{{!}}{{{Live Image Caption}}}]] | |||
}} | }} | ||
}} | }} |
Revision as of 10:23, 3 February 2009
Related topics: Wiki Templates, Key Template, Chest Template, Template:Chest
Syntax
{{Key | Quest = | Patch = | Name = | Icon Image = Icon.png | Value = | Burden = | Description = | Special Properties = [[Attuned]], [[Bonded]] | Description Two = Use this item on a locked door or chest to unlock it. | Number of Uses = 1 | Cannot Be Sold = True }} {{Key | Quest = | Patch = | Name = | Icon Image = Icon.png | Live Image = | Live Image Caption = | Value = | Burden = | Description = | Special Properties = | Description Two = | Number of Uses = | Cannot Be Sold = False }}
Usage
You can leave blank or erase variables that aren't applicable. Many keys split the description before and after special properties, use Description Two for the second half. Special properties should be wiki linked (double brackets). If there is no live image indicated or if it is "Live.jpg" then that section will not be shown. Set Cannot be Sold to "True" to display.
This wiki template is a section within the page template Key Template. See West Armory Key for an example.