Difference between revisions of "Template:Infobox Item"

From Wiki
Jump to: navigation, search
(Adding border to view table sixing problem)
(removed some carriage returns to try and get extra space out of bottom of template table)
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}}}|
+
{{ #if: {{{description}}}|
 
|- valign="top"
 
|- valign="top"
 
! Description:
 
! Description:
 
| {{{description|}}} | }}
 
| {{{description|}}} | }}
{{#if: {{{property1|}}}|
+
{{ #if: {{{property1|}}}|{{!}}- valign="top"
{{!}}- valign="top"
+
 
! Properties:
 
! Properties:
 
{{!}} align="center" {{!}} {{{property1}}}}}
 
{{!}} align="center" {{!}} {{{property1}}}}}
{{#if: {{{property2|}}}|
+
{{ #if: {{{property2|}}}|{{!}}- valign="top"
{{!}}- valign="top"
+
 
{{!}} {{!}}{{!}} align="center" {{!}} {{{property2}}}}}
 
{{!}} {{!}}{{!}} align="center" {{!}} {{{property2}}}}}
{{#if: {{{property3|}}}|
+
{{ #if: {{{property3|}}}|{{!}}- valign="top"
{{!}}- valign="top"
+
 
{{!}} {{!}}{{!}} align="center" {{!}} {{{property3}}}}}
 
{{!}} {{!}}{{!}} align="center" {{!}} {{{property3}}}}}
{{#if: {{{property4|}}}|
+
{{ #if: {{{property4|}}}|{{!}}- valign="top"
{{!}}- valign="top"
+
 
{{!}} {{!}}{{!}} align="center" {{!}} {{{property4}}}}}
 
{{!}} {{!}}{{!}} align="center" {{!}} {{{property4}}}}}
{{#if: {{{property5|}}}|
+
{{ #if: {{{property5|}}}|{{!}}- valign="top"
{{!}}- valign="top"
+
 
{{!}} {{!}}{{!}} align="center" {{!}} {{{property5}}}}}
 
{{!}} {{!}}{{!}} align="center" {{!}} {{{property5}}}}}
{{#if: {{{property6|}}}|
+
{{ #if: {{{property6|}}}|{{!}}- valign="top"
{{!}}- valign="top"
+
 
{{!}} {{!}}{{!}} align="center" {{!}} {{{property6}}}}}
 
{{!}} {{!}}{{!}} align="center" {{!}} {{{property6}}}}}
{{#if: {{{property7|}}}|
+
{{ #if: {{{property7|}}}|{{!}}- valign="top"
{{!}}- valign="top"
+
 
{{!}} {{!}}{{!}} align="center" {{!}} {{{property7}}}}}
 
{{!}} {{!}}{{!}} align="center" {{!}} {{{property7}}}}}
{{#if: {{{property8|}}}|
+
{{ #if: {{{property8|}}}|{{!}}- valign="top"
{{!}}- valign="top"
+
 
{{!}} {{!}}{{!}} align="center" {{!}} {{{property8}}}}}
 
{{!}} {{!}}{{!}} align="center" {{!}} {{{property8}}}}}
{{#if: {{{property9|}}}|
+
{{ #if: {{{property9|}}}|{{!}}- valign="top"
{{!}}- valign="top"
+
 
{{!}} {{!}}{{!}} align="center" {{!}} {{{property9}}}}}
 
{{!}} {{!}}{{!}} align="center" {{!}} {{{property9}}}}}
{{#if: {{{property10|}}}|
+
{{ #if: {{{property10|}}}|{{!}}- valign="top"
{{!}}- valign="top"
+
 
{{!}} {{!}}{{!}} align="center" {{!}} {{{property10}}}}}
 
{{!}} {{!}}{{!}} align="center" {{!}} {{{property10}}}}}
{{#if: {{{property11|}}}|
+
{{ #if: {{{property11|}}}|{{!}}- valign="top"
{{!}}- valign="top"
+
 
{{!}} {{!}}{{!}} align="center" {{!}} {{{property11}}}}}
 
{{!}} {{!}}{{!}} align="center" {{!}} {{{property11}}}}}
 
|}
 
|}

Revision as of 15:13, 22 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)
}}