Template:Housing Item: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Tlosk
No edit summary
Line 9: Line 9:
|-
|-
|colspan=2|  
|colspan=2|  
{{#ifeq:{{{Description|}}}|||{{{Description|}}}<br><br>}}{{#ifeq:{{{Special Properties|}}}|||[[Special Properties]]: {{{Special Properties|}}}<br><br>}}{{#ifeq:{{{Description Two|}}}|||{{#ifeq:{{{Description Two| }}}| ||{{{Description Two}}}<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|}}}|||{{#ifeq:{{{Description Two| }}}| ||{{{Description Two}}}<br><br>}}}}{{#ifeq:{{{Spells|}}}|||Casts the following spells: {{{Spells|}}}<br><br>}}{{#ifeq:{{{Cannot Be Sold|False}}}|True|This item cannot be sold.<br>|}}
|}
|}
|width=20|
|width=20|
Line 36: Line 36:
  | Special Properties =  
  | Special Properties =  
  |    Description Two =  
  |    Description Two =  
|            Spells =
  |      Portal Device = False
  |      Portal Device = False
  |    Cannot Be Sold = False
  |    Cannot Be Sold = False

Revision as of 13:44, 20 April 2009

Related topics: Wiki Templates, Housing Item Template

Syntax

{{Housing Item
 |               Name = 
 |         Icon Image =  Icon.png
 |         Live Image =  Live.jpg
 | Live Image Caption = 
 |              Value = 
 |             Burden = 
 |        Description = 
 | Special Properties = 
 |    Description Two = 
 |             Spells = 
 |      Portal Device = False
 |     Cannot Be Sold = False
}}

Usage

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