Difference between revisions of "Template:Infobox Item"

From Wiki
Jump to: navigation, search
(removed testing border, made item image optional)
Line 1: Line 1:
{| border="1" style="width: 25em; text-align: left; font-size: 95%; border: 1px solid #aaaaaa; background-color: #f9f9f9;color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right;"
+
{| style="width: 25em; text-align: left; font-size: 95%; border: 1px solid #aaaaaa; background-color: #f9f9f9;color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right;"
 
|+ style="font-size: larger;" | '''{{{item_name}}}'''
 
|+ style="font-size: larger;" | '''{{{item_name}}}'''
 
|-
 
|-
| colspan="2" style="text-align:center;" | [[Image:{{{item_name}}}|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"
Line 53: Line 53:
 
|<pre>{{Infobox Item
 
|<pre>{{Infobox Item
 
| item_name          =  
 
| item_name          =  
 +
| item_image        = (optional)
 
| caption            = (optional)
 
| caption            = (optional)
 
| description        =  
 
| description        =  

Revision as of 09:01, 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)
}}