Template:Item Infobox: Difference between revisions
Appearance
Created page with "<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 sou..." |
Updated to DRUID infobox |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly>{{#invoke:Infobox|main | ||
-->< | |kind = Item | ||
|sep = , | |||
|title = <!-- | |||
-->{{{title|<!-- | |||
-->{{#if:{{{number|}}}|<!-- | |||
--><span class="archive-number quality-{{lc:{{{quality|none}}}}}"><!-- | |||
-->{{{number}}}<!-- | |||
--></span><!-- | |||
-->}}<!-- | |||
-->{{{name|{{PAGENAME}}}}}<!-- | |||
-->}}} | |||
|subtitle = {{{subtitle|}}} | |||
|image = {{#if:{{{image|}}}|[[File:{{{image|}}}]]|[[File:{{{title|{{{name|{{PAGENAME}}}}}}}} Icon.png]]}} | |||
|images = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|[[File:²{#explode:{item}¦:¦0}²]]|,|template=1}}}} | |||
|tabs = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|²{#explode:{item}¦:¦1}²|,|template=1}}}} | |||
|sections = Information, How to Obtain | |||
|Information_collapsible = Yes | |||
|Information = Category, Type, Quality, Size, Selling Price | |||
</ | |Category = {{#if:{{{category|}}}|[[{{{category}}}]]}} | ||
|Type = {{#if:{{{type|}}}|[[{{{type}}}]]}} | |||
|Quality = <!-- | |||
-->{{#if:{{{quality|}}}|<!-- | |||
--><span class="quality-label quality-{{lc:{{{quality|none}}}}}"><!-- | |||
-->{{{quality|None}}}<!-- | |||
--></span><!-- | |||
-->}} | |||
|Size = {{#if:{{{size|}}}|{{#replace:{{{size}}}|x|×}}}} | |||
|Selling Price = {{#if:{{{sell|{{{price|}}}}}}|{{Item|Dough|x={{{sell|{{{price}}}}}}}}}} | |||
|How to Obtain_collapsible = Yes | |||
|How to Obtain = Source | |||
|Source = {{{source|}}} | |||
}}<!-- | |||
-->{{Namespace|main=<!-- | -->{{Namespace|main=<!-- | ||
-->[[Category: | -->[[Category:Items]]<!-- | ||
Sort | Sort | ||
-->{{#if:{{{number|}}}|[[Category: | -->{{#if:{{{number|}}}|[[Category:Item|{{{number}}}]]|[[Category:Item]][[Category:Item Missing Number]]}}<!-- | ||
Category | Category | ||
-->{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}<!-- | -->{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}<!-- | ||
Type | Type | ||
-->{{#if:{{{type|}}}|[[Category:{{{type}}} | -->{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}<!-- | ||
Quality | |||
-->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}} | -->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}} | ||
{{#if:{{{quality|}}}|[[Category: | {{#if:{{{quality|}}}|[[Category:Item by Quality|{{#switch:{{{quality|}}} | ||
|Gray | |Gray = 0 | ||
|Green | |Green = 1 | ||
|Purple | |Purple = 2 | ||
|Gold | |Gold = 3 | ||
|#default = 4 | |#default = 4 | ||
}}]]}}<!-- | }}]]}}<!-- | ||
Set | Set | ||
-->{{#if:{{{set|}}}|[[Category:{{{set}}} Set | -->{{#if:{{{set|}}}|[[Category:{{{set}}} Set Item]]}}<!-- | ||
Size | Size | ||
-->{{#if:{{{size|}}}|[[Category:{{{size}}} | -->{{#if:{{{size|}}}|[[Category:{{{size}}} Item]]}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | --></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | ||
Latest revision as of 13:21, 21 February 2026
Template documentation
Note: parts of or the entire template might not be visible without values provided.
Note: parts of or the entire template might not be visible without values provided.
| Main | Usage |
The documentation for this template is missing. Click here to create it.