Template:Key: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Tlosk
No edit summary
imported>Tlosk
No edit summary
Line 10: Line 10:
|-
|-
|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>|}}
|}
|}
|width=20|
|width=20|

Revision as of 13:04, 26 February 2009

Related topics: Wiki Templates, Key Template, Chest Template, 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.