Template:Set Infobox: Difference between revisions
Template page
More actions
for the moment i'm copying terminology infobox. |
Updated to DRUID infobox |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly | <includeonly>{{#invoke:Infobox|main | ||
|kind = Set | |||
|sep = , | |||
|title = <!-- | |||
-->{{{title|<!-- | |||
-->{{#if:{{{number|}}}|<!-- | |||
--><span class="archive-number quality-{{lc:{{{quality|none}}}}}"><!-- | |||
-->{{{number}}}<!-- | |||
--></span><!-- | |||
-->{{ | |||
--> | |||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{ | -->{{{name|{{PAGENAME}}}}}<!-- | ||
-->{{#if:{{{ | -->}}} | ||
-->{{#if:{{{ | |subtitle = {{{subtitle|}}} | ||
-->{{#if:{{{ | |image = {{#if:{{{image|}}}|[[File:{{{image|}}}]]|[[File:{{{title|{{{name|{{PAGENAME}}}}}}}} {{{type|}}}.png]]}} | ||
-->{{#if:{{{ | |images = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|[[File:²{#explode:{item}¦:¦0}²]]|,|template=1}}}} | ||
|tabs = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|²{#explode:{item}¦:¦1}²|,|template=1}}}} | |||
|sections = Information, Description | |||
|Information_collapsible = Yes | |||
|Information = Type, Group, Quality | |||
|Type = <!-- | |||
-->{{#if:{{#explode:{{{type}}}|;|1}}|<!-- | |||
-->{{Array|{{{type}}}|;|* [[{item}]]{newline} }}|<!-- | |||
-->{{#if:{{{type|}}}|[[{{{type}}}]]}}<!-- | |||
-->}} | |||
|Group = <!-- | |||
-->{{#if:{{#explode:{{{group}}}|;|1}}|<!-- | |||
-->{{Array|{{{group}}}|;|* [[{item}]]{newline} }}|<!-- | |||
-->{{#if:{{{group|}}}|[[{{{group}}}]]}}<!-- | |||
-->}} | |||
|Quality = <!-- | |||
-->{{#if:{{{quality|}}}|<!-- | |||
--><span class="quality-label quality-{{lc:{{{quality|none}}}}}"><!-- | |||
-->{{{quality|None}}}<!-- | |||
--></span><!-- | |||
-->}} | |||
|Description_collapsible = Yes | |||
|Description = DescriptionText | |||
|DescriptionText_wide = Yes | |||
|DescriptionText = {{{description|}}} | |||
}}<!-- | |||
-->{{Namespace|main=<!-- | |||
-->[[Category:Sets]]<!-- | |||
Sort | |||
-->{{#if:{{{number|}}}|[[Category:Set|{{{number}}}]]|[[Category:Set]][[Category:Set Missing Number]]}}<!-- | |||
Type and Group | |||
-->{{#if:{{{type|}}}|{{Array|{{{type}}}|;|[[Category:{item}]]}}}}<!-- | |||
-->{{#if:{{{group|}}}|{{Array|{{{group}}}|;|[[Category:{item}]]}}}}<!-- | |||
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:Furniture by Quality|{{#switch:{{{quality|}}} | ||
|Gray | |Gray = 0 | ||
|Green | |Green = 1 | ||
|Purple | |Purple = 2 | ||
|Gold | |Gold = 3 | ||
|#default = 4 | |#default = 4 | ||
}}]]}}<!-- | }}]]}}<!-- | ||
--> | -->}}<!-- | ||
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | |||
--> | |||