Difference between revisions of "Template:Infobox Item"
From Wiki
(Reverted to working copy) |
|||
Line 1: | Line 1: | ||
− | {| style="width: 25em; text-align: left; font-size: 95%; border: 1px solid #aaaaaa; background-color: # | + | {| 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="font-size: larger;" | '''{{{item_name}}}''' | |+ style="font-size: larger;" | '''{{{item_name}}}''' | ||
|- | |- | ||
− | | colspan="2" style="text-align:center;" | [[Image:{{{ | + | | colspan="2" style="text-align:center;" | {{#if: {{{item_image|}}}|[[Image:{{{item_image}}}|300px| ]]<br>}}<i>{{{caption|}}}</i> |
+ | {{#if: {{{description}}}| | ||
|- valign="top" | |- valign="top" | ||
! Description: | ! Description: | ||
− | | {{{description|}}} | + | | {{{description|}}} | }} |
− | |- valign="top" | + | {{#if: {{{property1|}}}| |
+ | {{!}}- valign="top" | ||
! Properties: | ! Properties: | ||
− | | align="center" | {{{ | + | {{!}} align="center" {{!}} {{{property1}}}}} |
− | |- | + | {{#if: {{{property2|}}}| |
+ | {{!}}- valign="top" | ||
+ | {{!}} {{!}}{{!}} align="center" {{!}} {{{property2}}}}} | ||
+ | {{#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 17: | Line 53: | ||
|<pre>{{Infobox Item | |<pre>{{Infobox Item | ||
| item_name = | | item_name = | ||
+ | | item_image = (optional) | ||
| caption = (optional) | | caption = (optional) | ||
| description = | | description = | ||
− | | | + | | property1 = (optional) |
− | | | + | | 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
|
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) }} |