Template:Clothing Infobox: Difference between revisions
No edit summary |
mNo edit summary |
||
| (11 intermediate revisions by 3 users not shown) | |||
| Line 11: | Line 11: | ||
|images = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|[[File:²{#explode:{item}¦:¦0}²]]|,|template=1}}}} | |images = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|[[File:²{#explode:{item}¦:¦0}²]]|,|template=1}}}} | ||
|tabs = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|²{#explode:{item}¦:¦1}²|,|template=1}}}} | |tabs = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|²{#explode:{item}¦:¦1}²|,|template=1}}}} | ||
|sections = Information | |sections = Checkbox, Information, Details, How to Obtain | ||
|Checkbox_nolabel = 1 | |||
|Checkbox = Collected | |||
|Collected = Mark as collected <span class="tpt-instance wds-checkbox" data-category="{{PAGEID:Dress Up/List}}" data-pageid="{{PAGEID}}"></span> | |||
|Information_collapsible = Yes | |Information_collapsible = Yes | ||
| Line 22: | Line 26: | ||
|Tags = {{#if:{{#explode:{{{tags}}}|;|1}}|{{List|{{{tags}}}}}|{{{tags|}}}}} | |Tags = {{#if:{{#explode:{{{tags}}}|;|1}}|{{List|{{{tags}}}}}|{{{tags|}}}}} | ||
|Selling Price = {{#if:{{{sell|{{{price|}}}}}}|{{Item|Dough|20|x={{{sell|{{{price}}}}}}}}}} | |Selling Price = {{#if:{{{sell|{{{price|}}}}}}|{{Item|Dough|20|x={{{sell|{{{price}}}}}}}}}} | ||
|Details_collapsible = Yes | |Details_collapsible = Yes | ||
|Details = Color, Material, Style, Neighbor Match | |Details = Color, Material, Style, Neighbor Match, Neighbor Exclusive | ||
|Color = {{#if:{{{color|}}}|{{Array|{{{color}}}|;|{item}|, }}}} | |Color = {{#if:{{{color|}}}|{{Array|{{{color}}}|;|[[{item}]]|, }}}} | ||
|Color_label = Color{{#if:{{#explode:{{{color}}}|;|1}}|s}} | |Color_label = Color{{#if:{{#explode:{{{color}}}|;|1}}|s}} | ||
|Material = {{#if:{{{material|}}}|{{Array|{{{material}}}|;|{item}|, }}}} | |Material = {{#if:{{{material|}}}|{{Array|{{{material}}}|;|²{Material Link¦{item}¦}²|, |template=1}}}} | ||
|Material_label = Material{{#if:{{#explode:{{{material}}}|;|1}}|s}} | |Material_label = Material{{#if:{{#explode:{{{material}}}|;|1}}|s}} | ||
|Style = {{#if:{{{style|}}}|{{Array|{{{style}}}|;|{item}|, }}}} | |Style = {{#if:{{{style|}}}|{{Array|{{{style}}}|;|[[{item}]]|, }}}} | ||
|Style_label = Style{{#if:{{#explode:{{{style}}}|;|1}}|s}} | |Style_label = Style{{#if:{{#explode:{{{style}}}|;|1}}|s}} | ||
|Neighbor Match = {{#if:{{{nmatch|}}}|{{Array|{{{nmatch}}}|;|{item}|, }}}} | |Neighbor Match = {{#if:{{{nmatch|}}}|{{Array|{{{nmatch}}}|;|{item}|, }}}} | ||
|Neighbor Exclusive = {{#if:{{{nexclusive|}}}|[[{{{nexclusive|}}}]]}} | |||
|How to Obtain_collapsible = Yes | |How to Obtain_collapsible = Yes | ||
| Line 42: | Line 42: | ||
|Source = {{#if:{{#explode:{{{source}}}|;|1}}|{{List|{{{source}}}}}|{{{source|}}}}} | |Source = {{#if:{{#explode:{{{source}}}|;|1}}|{{List|{{{source}}}}}|{{{source|}}}}} | ||
|Source_label = Source{{#if:{{#explode:{{{source}}}|;|1}}|s}} | |Source_label = Source{{#if:{{#explode:{{{source}}}|;|1}}|s}} | ||
}}<!-- | }}{{#if:{{{description|}}}|{{Description|{{{description}}}}}}}<!-- | ||
-->{{#invoke:Bucket|put| | -->{{#invoke:Bucket|put|clothing | ||
|+templateargs = name, number, quality, category, type, set, set_link, tags, source, description, color, material, style, images | |+templateargs = name, number, quality, category, type, set, set_link, tags, source, description, color, material, style, nmatch, images | ||
|page_id = {{PAGEID}} | |page_id = {{PAGEID}} | ||
|type-delimiter = ; | |type-delimiter = ; | ||
|tags-delimiter = ; | |tags-delimiter = ; | ||
|sell = {{{sell|{{{price|}}}}}} | |sell = {{{sell|{{{price|}}}}}} | ||
|color-delimiter = ; | |color-delimiter = ; | ||
|material-delimiter = ; | |material-delimiter = ; | ||
|style-delimiter = ; | |style-delimiter = ; | ||
|nmatch-delimiter = ; | |||
|source-delimiter = ; | |||
|image = {{{image|{{{title|{{{name|{{PAGENAME}}}}}}}} Icon.png}}} | |image = {{{image|{{{title|{{{name|{{PAGENAME}}}}}}}} Icon.png}}} | ||
|images-delimiter = ; | |images-delimiter = ; | ||
| Line 66: | Line 67: | ||
-->{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}<!-- | -->{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}<!-- | ||
Type | Type | ||
-->{{#if:{{{type|}}}|{{Array|{{{type}}}|;|[[Category:{item}]]}}|}}<!-- | -->{{#if:{{{type|}}}|{{Array|{{{type|}}}|;|[[Category:{item}]]}}|}}<!-- | ||
Quality | Quality | ||
-->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}} | -->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}} | ||
| Line 77: | Line 78: | ||
}}]]}}<!-- | }}]]}}<!-- | ||
Tags | Tags | ||
-->{{#if:{{{tags|}}}|{{Cat List|{{{tags}}}|{item} Clothing | -->{{#if:{{{tags|}}}|{{Cat List|{{{tags}}}|{item} Clothing}}}}<!-- | ||
-->{{#if:{{{color|}}}|{{Cat List|{{{color}}}|{item} Clothing | -->{{#if:{{{color|}}}|{{Cat List|{{{color}}}|{item} Clothing}}}}<!-- | ||
-->{{#if:{{{material|}}}|{{Cat List|{{{material}}}|{item} Clothing | -->{{#if:{{{material|}}}|{{Cat List|{{{material}}}|{item} Clothing}}}}<!-- | ||
-->{{#if:{{{style|}}}|{{Cat List|{{{style}}}|{item} Clothing | -->{{#if:{{{style|}}}|{{Cat List|{{{style}}}|{item} Clothing}}}}<!-- | ||
-->{{#if:{{{nexclusive|}}}|[[Category:Neighbor Exclusive Clothing]]}}<!-- | |||
Set | Set | ||
-->{{#if:{{{set|}}}|[[Category:{{{set}}} Set Clothing Items]]}}<!-- | -->{{#if:{{{set|}}}|[[Category:{{{set}}} Set Clothing Items]]}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | --></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | ||