Template:Set Infobox: Difference between revisions
mNo edit summary |
Added bucket. sources->source to match all other infoboxes. Moved "Source" pluralization to Source_label |
||
| Line 18: | Line 18: | ||
|Information_collapsible = Yes | |Information_collapsible = Yes | ||
|Information = Type, Group, Quality, Source | |Information = Type, Group, Quality, Source, Reward | ||
|Type = <!-- | |Type = <!-- | ||
-->{{#if:{{#explode:{{{type}}}|;|1}}|<!-- | -->{{#if:{{#explode:{{{type}}}|;|1}}|<!-- | ||
-->{{ | -->{{List|[[{{{type}}}]]}}|<!-- | ||
-->{{#if:{{{type|}}}|[[{{{type}}}]]}}<!-- | -->{{#if:{{{type|}}}|[[{{{type}}}]]}}<!-- | ||
-->}} | -->}} | ||
|Group = <!-- | |Group = <!-- | ||
-->{{#if:{{#explode:{{{group}}}|;|1}}|<!-- | -->{{#if:{{#explode:{{{group}}}|;|1}}|<!-- | ||
-->{{ | -->{{List|[[{{{group}}}]]}}|<!-- | ||
-->{{#if:{{{group|}}}|[[{{{group}}}]]}}<!-- | -->{{#if:{{{group|}}}|[[{{{group}}}]]}}<!-- | ||
-->}} | -->}} | ||
|Quality = <!-- | |Quality = <!-- | ||
-->{{#if:{{{quality|}}}|<!-- | -->{{#if:{{{quality|}}}|<!-- | ||
--><span class="quality-label quality-{{lc:{{{quality | --><span class="quality-label quality-{{lc:{{{quality}}}}}"><!-- | ||
-->{{{quality | -->{{{quality}}}<!-- | ||
--></span><!-- | --></span><!-- | ||
-->}} | -->}} | ||
|Source | |Source = <!-- | ||
-->{{#if:{{#explode:{{{ | -->{{#if:{{#explode:{{{source}}}|;|1}}|<!-- | ||
-->{{ | -->{{List|[[{{{source}}}]]}}|<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{source|}}}|[[{{{source}}}]]}}<!-- | ||
-->}} | -->}} | ||
|Reward = {{#switch:{{{type}}}<!-- | |Source_label = Source{{#if:{{#explode:{{{source}}}|;|1}}|s}} | ||
|Reward = {{#switch:{{{type|}}}<!-- | |||
-->|Creature Set = {{Item|Omni-Voucher|x={{{reward|25}}}}}<!-- | -->|Creature Set = {{Item|Omni-Voucher|x={{{reward|25}}}}}<!-- | ||
-->|Furniture Set = {{Item|Dough|x={{{reward|400}}}}}<!-- | -->|Furniture Set = {{Item|Dough|x={{{reward|400}}}}}<!-- | ||
| Line 50: | Line 51: | ||
|DescriptionText_wide = Yes | |DescriptionText_wide = Yes | ||
|DescriptionText = {{{description|}}} | |DescriptionText = {{{description|}}} | ||
}}<!-- | |||
-->{{#invoke:Bucket|put|sets | |||
|+templateargs = name, number, quality, type, group, source, description, images | |||
|page_id = {{PAGEID}} | |||
|source-delimiter = ; | |||
|reward = {{#switch:{{{type|}}}<!-- | |||
-->|Creature Set = {{Item|Omni-Voucher|x={{{reward|25}}}}}<!-- | |||
-->|Furniture Set = {{Item|Dough|x={{{reward|400}}}}}<!-- | |||
-->|#default = <!-- | |||
-->}} | |||
|image = {{{image|{{{title|{{{name|{{PAGENAME}}}}}}}} Icon.png}}} | |||
|images-delimiter = ; | |||
|removed = {{{removed|0}}} | |||
}}<!-- | }}<!-- | ||