Difference between revisions of "Template:Infobox Item"

From Wiki
Jump to: navigation, search
m (Reverted edits by Tigey (Talk) to last revision by Snicker7)
Line 1: Line 1:
{| style="width: 25em; text-align: left; font-size: 95%; border: 1px solid #aaaaaa; background-color: #CCD0FF;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;" | {{#if: {{{item_image|}}}|[[Image:{{{item_image}}}|300px| ]]<br>}}''{{{caption|}}}''
+
| colspan="2" style="text-align:center;" | [[Image:{{{item_name}}}|300px| ]]<br><i>{{{caption|}}}</i>
{{#if: {{{description}}}|
+
 
|- valign="top"
 
|- valign="top"
 
! Description:
 
! Description:
| {{{description|}}} | }}
+
| {{{description|}}}
{{#if: {{{property1|}}}|{{!}}- valign="top" ! Properties:
+
|- valign="top"
{{!}} align="center" {{!}} {{{property1}}}}}
+
! Properties:
{{#if: {{{property2|}}}| {{!}}- valign="top"{{!}} {{!}}{{!}} align="center" {{!}} {{{property2}}}}}
+
| align="center" | {{{properties|}}}
{{#if: {{{property3|}}}| {{!}}- valign="top"{{!}} {{!}}{{!}} align="center" {{!}} {{{property3}}}}}
+
|-
{{#if: {{{property4|}}}| {{!}}- valign="top"{{!}} {{!}}{{!}} align="center" {{!}} {{{property4}}}}}
+
{{#if: {{{property5|}}}| {{!}}- valign="top"{{!}} {{!}}{{!}} align="center" {{!}} {{{property5}}}}}
+
{{#if: {{{property6|}}}| {{!}}- valign="top"{{!}} {{!}}{{!}} align="center" {{!}} {{{property6}}}}}
+
{{#if: {{{property7|}}}| {{!}}- valign="top"{{!}} {{!}}{{!}} align="center" {{!}} {{{property7}}}}}
+
{{#if: {{{property8|}}}| {{!}}- valign="top"{{!}} {{!}}{{!}} align="center" {{!}} {{{property8}}}}}
+
{{#if: {{{property9|}}}| {{!}}- valign="top"{{!}} {{!}}{{!}} align="center" {{!}} {{{property9}}}}}
+
{{#if: {{{property10|}}}| {{!}}- valign="top"{{!}} {{!}}{{!}} align="center" {{!}} {{{property10}}}}}
+
{{#if: {{{property11|}}}| {{!}}- valign="top"{{!}} {{!}}{{!}} align="center" {{!}} {{{property11}}}}}
+
 
|}
 
|}
 
+
[[Category:Alexandria|Alexandria Items]]<noinclude>
 
+
[[Category:Alexandria|Alexandria Items]]
+
 
+
 
+
<noinclude>
+
 
This infobox is meant to be put on item pages to offer information about the item!
 
This infobox is meant to be put on item pages to offer information about the item!
 
== Usage ==
 
== Usage ==
Line 31: Line 17:
 
|<pre>{{Infobox Item
 
|<pre>{{Infobox Item
 
| item_name          =  
 
| item_name          =  
| item_image        = (optional)
 
 
| caption            = (optional)
 
| caption            = (optional)
 
| description        =  
 
| description        =  
| property1          = (optional)
+
| properties        =
| property2          = (optional)
+
|  
...
+
| property11        = (optional)
+
 
}}</pre>
 
}}</pre>
 
|}
 
|}
 
[[Category:Alexandria|Templates:Infobox Item]]
 
[[Category:Alexandria|Templates:Infobox Item]]
 
[[Category:Infobox templates]]
 
[[Category:Infobox templates]]
 
 
</noinclude>
 
</noinclude>

Revision as of 15:03, 22 June 2010

{{{item_name}}}
[[Image:{{{item_name}}}|300px| ]]
Description:
Properties:

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

Usage

{{Infobox Item
| item_name          = 
| caption            = (optional)
| description        = 
| properties         =
| 
}}