Template:Key: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Tlosk's Bot
No edit summary
imported>Arkalor
No edit summary
 
(8 intermediate revisions by 2 users not shown)
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>
|-valign=top
|-valign=top
|
|
Line 7: Line 6:
|colspan=2 align=center|'''{{{Name|??}}}'''
|colspan=2 align=center|'''{{{Name|??}}}'''
|-
|-
|align=center| Value: {{{Value|??}}}<br>{{{Burden|??}}} Burden Units
|align=center| Value: {{{Value|??}}}<br>{{#ifeq:{{lc:{{{Burden|}}}}}|unknown|Unknown Burden|{{{Burden|??}}} Burden Units}}
|width=40 align=center| [[{{#ifeq: {{{Icon Image|}}} || Image:Icon.png | Image:{{{Icon Image}}}}}]]
|width=40 align=center| [[{{#ifeq: {{{Icon Image|}}} || Image:Icon.png | Image:{{{Icon Image}}}}}]]
|-
|-
|colspan=2|  
|colspan=2|  
{{#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|}}}|||{{{Description|}}}<br><br>}}{{#ifeq:{{{Special Properties|}}}|||[[Special Properties]]: {{{Special Properties|}}}<br><br>}}{{#ifeq:{{{Description Two|}}}|||{{{Description Two|}}}<br><br>}}{{#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>|}}{{#ifeq:{{{Inscription|}}}|||<br><hr style="background#F0F0F0;"/>{{{Inscription|}}}<br>}}
|}
|}
|width=20|
|
|
{{#ifeq:{{{Live Image|Live.jpg}}}
{{#ifeq:{{{Live Image|Live.jpg}}}
Line 20: Line 20:
     |  
     |  
     |  
     |  
     | <font color=white>............................. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .</font>
     | [[Image:{{{Live Image|}}}{{!}}frame{{!}}{{{Live Image Caption}}}|right]]
   }}
   }}
}}
}}
|
|}[[Category:Key]]</includeonly><noinclude>
{{#ifeq:{{{Live Image|Live.jpg}}}
{{Related|Wiki Templates|Key Template|Chest Template|{{mtl|Chest}}}}
| Live.jpg
|
| {{#ifeq:{{{Live Image|}}}
    |
    |
    | [[Image:{{{Live Image|}}}{{!}}frame{{!}}{{{Live Image Caption}}}]]
  }}
}}
|} [[Category:Key]]</includeonly><noinclude>
{{Related|Wiki Templates|Key Template|Chest Template|Template:Chest}}
== Syntax ==
== Syntax ==
<pre>
<pre>
{{Key
{{Key
|              Quest =
|              Patch =
  |              Name =  
  |              Name =  
  |        Icon Image =  Icon.png
  |        Icon Image =  Icon.png
Line 53: Line 41:


{{Key
{{Key
|              Quest =
|              Patch =
  |              Name =  
  |              Name =  
  |        Icon Image =  Icon.png
  |        Icon Image =  Icon.png
Line 70: Line 56:


== Usage ==
== 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]], go there for full details and an example.


This wiki template is a section within the page template [[Key Template]]. See [[West Armory Key]] for an example.
[[Category:Wiki Template]]
</noinclude>

Latest revision as of 19:20, 10 July 2012

Related topics: Wiki Templates, Key Template, Chest Template, {{Chest}}

Syntax

{{Key
 |               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
 |               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

This wiki template is a section within the page template Key Template, go there for full details and an example.