Template:Item Infobox: Difference between revisions

no edit summary
>Abcboy
No edit summary
>Abcboy
No edit summary
Line 1: Line 1:
{| style="vertical-align:top ;margin: 0 0 0.5em 1em; border:1px solid silver; float:right; text-align:left; font-size:90%; background-color:white;" cellpadding="5"
{| style="vertical-align:top; margin: 0 0 0.5em 1em; border:1px solid silver; float:right; text-align:left; font-size:90%; background-color:white;" cellpadding="5"
! colspan="2" style="font-size:110%; text-align:center; background-color:#d4e3e5;" | {{{Name}}}
! colspan="2" style="font-size:110%; text-align:center; background-color:#d4e3e5;" | {{{Name}}}
|-
|-
Line 21: Line 21:
| {{{Stackable}}}
| {{{Stackable}}}
|-
|-
|} {{#if: {{{Imageicon|}}} | [[Category:TestCategory]] }} {{#if:{{#ifexist: File:{{{Name}}} Icon.png ||{{{Name}}} Icon.png}}|[[Category:TestCategory2]]}}<noinclude>
|}<includeonly>{{#ifeq: {{{Image|Image.png}}}|Image.png|[[Category:Pages needing an image]]}}{{#ifeq: {{#ifexist: File:{{{Name}}} Icon.png |{{{Name}}} Icon.png|{{{Imageicon|Image.png}}}}}|Image.png|[[Category:Pages needing an image]]}}</includeonly><noinclude>
<pre>
<pre>
  {{Item Infobox
  {{Item Infobox
Line 38: Line 38:
* '''Name''' - Name of item as it appears in game
* '''Name''' - Name of item as it appears in game
* '''Image''' - Large image of item. The image is resized to 140px. ''Image.png'' is a default image when no image is available.
* '''Image''' - Large image of item. The image is resized to 140px. ''Image.png'' is a default image when no image is available.
* '''Imageicon''' - Small icon image of item. The image is resized to 40px. ''Image.png'' is a default image when no image is available.
* '''Imageicon''' - Small icon image of item. The image is resized to 40px. ''Image.png'' is a default image when no image is available. '''Only use if filename does not follow File: {{{Name}}} Icon.png.'''
* '''Category''' - Defined category of item. (ie. Apple is categorized as Food)
* '''Category''' - Defined category of item. (ie. Apple is categorized as Food)
* '''Use''' - Primary use of item (ie. Food, Farming, Crafting, Construction, etc.)
* '''Use''' - Primary use of item (ie. Food, Farming, Crafting, Construction, etc.)
Anonymous user