Difference between revisions of "Template:Infobox Item"

From Wiki
Jump to: navigation, search
(Attempting Nowiki newline solution)
Line 3: Line 3:
 
|-
 
|-
 
| colspan="2" style="text-align:center;" | {{#if: {{{item_image|}}}|[[Image:{{{item_image}}}|300px| ]]<br>}}<i>{{{caption|}}}</i>
 
| colspan="2" style="text-align:center;" | {{#if: {{{item_image|}}}|[[Image:{{{item_image}}}|300px| ]]<br>}}<i>{{{caption|}}}</i>
{{ #if: {{{description|}}}|{{!}}- valign="top"
+
{{ #if: {{{description|}}}|<nowiki/>
 +
{{!}}- valign="top"
 
! Description:
 
! Description:
{{!}} align="center" {{!}} {{{description}}}}}
+
{{!}} align="center" {{!}} {{{description}}}}}{{ #if: {{{property1|}}}|<nowiki/>
{{ #if: {{{property1|}}}|{{!}}- valign="top"
+
{{!}}- valign="top"
 
! Properties:
 
! Properties:
{{!}} align="center" {{!}} {{{property1}}}}}
+
{{!}} align="center" {{!}} {{{property1}}}}}{{ #if: {{{property2|}}}|<nowiki/>
{{ #if: {{{property2|}}}|{{!}}- valign="top"
+
{{!}}- valign="top"
 
!
 
!
{{!}} align="center" {{!}} {{{property2}}}}}
+
{{!}} align="center" {{!}} {{{property2}}}}}{{ #if: {{{property3|}}}|<nowiki/>
{{ #if: {{{property3|}}}|{{!}}- valign="top"
+
{{!}}- valign="top"
 
!
 
!
{{!}} align="center" {{!}} {{{property3}}}}}
+
{{!}} align="center" {{!}} {{{property3}}}}}{{ #if: {{{property4|}}}|<nowiki/>
{{ #if: {{{property4|}}}|{{!}}- valign="top"
+
{{!}}- valign="top"
 
!
 
!
{{!}} align="center" {{!}} {{{property4}}}}}
+
{{!}} align="center" {{!}} {{{property4}}}}}{{ #if: {{{property5|}}}|<nowiki/>
{{ #if: {{{property5|}}}|{{!}}- valign="top"
+
{{!}}- valign="top"
 
!
 
!
{{!}} align="center" {{!}} {{{property5}}}}}
+
{{!}} align="center" {{!}} {{{property5}}}}}{{ #if: {{{property6|}}}|<nowiki/>
{{ #if: {{{property6|}}}|{{!}}- valign="top"
+
{{!}}- valign="top"
 
!
 
!
{{!}} align="center" {{!}} {{{property6}}}}}
+
{{!}} align="center" {{!}} {{{property6}}}}}{{ #if: {{{property7|}}}|<nowiki/>
{{ #if: {{{property7|}}}|{{!}}- valign="top"
+
{{!}}- valign="top"
 
!
 
!
{{!}} align="center" {{!}} {{{property7}}}}}
+
{{!}} align="center" {{!}} {{{property7}}}}}{{ #if: {{{property8|}}}|<nowiki/>
{{ #if: {{{property8|}}}|{{!}}- valign="top"
+
{{!}}- valign="top"
 
!
 
!
{{!}} align="center" {{!}} {{{property8}}}}}
+
{{!}} align="center" {{!}} {{{property8}}}}}{{ #if: {{{property9|}}}|<nowiki/>
{{ #if: {{{property9|}}}|{{!}}- valign="top"
+
{{!}}- valign="top"
 
!
 
!
{{!}} align="center" {{!}} {{{property9}}}}}
+
{{!}} align="center" {{!}} {{{property9}}}}}{{ #if: {{{property10|}}}|<nowiki/>
{{ #if: {{{property10|}}}|{{!}}- valign="top"
+
{{!}}- valign="top"
 
!
 
!
{{!}} align="center" {{!}} {{{property10}}}}}
+
{{!}} align="center" {{!}} {{{property10}}}}}{{ #if: {{{property11|}}}|<nowiki/>
{{ #if: {{{property11|}}}|{{!}}- valign="top"
+
{{!}}- valign="top"
 
!
 
!
 
{{!}} align="center" {{!}} {{{property11}}}}}
 
{{!}} align="center" {{!}} {{{property11}}}}}

Revision as of 09:09, 23 June 2010

{{{item_name}}}


This infobox is meant to be put on item pages to offer information about the item!

Usage

{{Infobox Item
| item_name          = 
| item_image         = (optional)
| caption            = (optional)
| description        = 
| property1          = (optional)
| property2          = (optional)
...
| property11         = (optional)
}}


File:Image Needed.png
Infobox Item
Loot from Shadowyrm