Editing Template:Item Infobox
Template page
More actions
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><!-- | ||
--><infobox> | |||
<title source="name"> | |||
<format>{{#if:{{{number|}}}|<span class="number">{{{number}}} </span>}}{{{name|{{PAGENAME}}}}}</format> | |||
</title> | |||
--> | <image source="image"> | ||
</image> | |||
<group layout="horizontal"> | |||
<data source="category"> | |||
<label>Category</label> | |||
<format>[[{{{category}}}]]</format> | |||
</data> | |||
<data source="type"> | |||
<label>Type</label> | |||
<format>[[{{{type}}}]]</format> | |||
</data> | |||
</group> | |||
<data source="quality"> | |||
<label>Quality</label> | |||
<format>{{{quality}}}</format> | |||
</data> | |||
<data source="size"> | |||
<label>Size</label> | |||
<format>{{{size}}}</format> | |||
</data> | |||
<data source="sellPrice"> | |||
<label>Sell Price</label> | |||
</data> | |||
<header>How to Obtain</header> | |||
<data source="source"><label>Obtain</label></data> | |||
</infobox><!-- | |||
-->{{Namespace|main=<!-- | -->{{Namespace|main=<!-- | ||
-->[[Category:Items]]<!-- | -->[[Category:Items]]<!-- | ||
| Line 57: | Line 37: | ||
-->{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}<!-- | -->{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}<!-- | ||
Type | Type | ||
-->{{#if:{{{type|}}} | -->{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}<!-- | ||
Quality | |||
-->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}} | |||
-->{{#switch:{{{quality}}}|Gray| | |||
{{#if:{{{quality|}}}|[[Category:Item by Quality|{{#switch:{{{quality|}}} | {{#if:{{{quality|}}}|[[Category:Item by Quality|{{#switch:{{{quality|}}} | ||
|Gray | |Gray = 0 | ||
| | |Green = 1 | ||
|Purple | |Purple = 2 | ||
|Gold | |Gold = 3 | ||
|#default = 4 | |#default = 4 | ||
}}]]}}<!-- | }}]]}}<!-- | ||
Set | |||
-->{{#if:{{{set|}}}|[[Category:{{{set}}} Set Item]]}}<!-- | |||
Size | |||
-->{{#if:{{{size|}}}|[[Category:{{{size}}} Item]]}}<!-- | |||
-->}}<!-- | -->}}<!-- | ||
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | --></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | ||