Template:Chest: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Sanddh
mNo edit summary
imported>Sanddh
mNo 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:{{{Holds Max Items|}}}|||Can hold up to {{{Holds Max Items}}} items and {{{Holds Containers}}} containers.<br><br>}}{{#ifeq:{{lc:{{{Locked|False}}} }}|true|<br>Locked.<br>}}}|{{#ifeq:{{{Lock Difficulty| }}}| ||{{{Lock Difficulty}}}<br>}}}}{{#ifeq:{{{Resistance}}}<br>(Resistance {{{Resistance}}})|}}
{{#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:{{{Holds Max Items|}}}|||Can hold up to {{{Holds Max Items}}} items and {{{Holds Containers}}} containers.<br><br>}}{{#ifeq:{{lc:{{{Locked|False}}} }}|true|<br>Locked.<br>}}}{{#ifeq:{{{Lock Difficulty| }}}| ||{{{Lock Difficulty}}}<br>}}{{#ifeq:{{{Resistance}}}<br>(Resistance {{{Resistance}}})|}}
|}
|}
|width=20|
|width=20|

Revision as of 09:57, 21 June 2009

Related topics: Wiki Templates, Container Template

Syntax

{{Chest
 |               Name = 
 |         Icon Image =  Icon.png
 |         Live Image =  Live.jpg
 | Live Image Caption = 
 |              Value = 
 |             Burden = 
 |        Description = 
 | Special Properties = 
 |    Description Two = Use this item to open it and see its contents. 
 |   Holds Containers = 
 |    Holds Max Items = 
 |             Locked = False
 |    Lock Difficulty = You can't tell how hard it is to pick this lock. This lock looks easy / difficult / impossible to pick.
 |         Resistance = 
}}

Usage

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