Template:Key: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Tlosk
No edit summary
imported>Arkalor
No edit summary
 
(One intermediate revision by one other user not shown)
Line 6: 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|}}}|||{{{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:{{{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|
|width=20|

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.