| Latest revision |
Your text |
| Line 1: |
Line 1: |
| <includeonly>{{#invoke:Infobox|main | | <includeonly><infobox> |
| |kind = Clothing
| | <title source="name"> |
| |sep = ,
| | <format>{{#if:{{{number|}}}|<span class="number">{{{number}}} </span>}}{{{name|{{PAGENAME}}}}}</format> |
| |class = quality-{{#if:{{{quality|}}}|{{lc:{{{quality}}}}}|none}}
| | </title> |
| |title = <!--
| | <image source="image"> |
| -->{{{title|<!--
| | <caption source="caption-image"/> |
| -->{{{name|{{PAGENAME}}}}}<!--
| | </image> |
| -->}}}
| | <group layout="horizontal"> |
| |subtitle = {{{subtitle|}}}
| | <data source="category"> |
| |image = {{#if:{{{image|}}}|[[File:{{{image|}}}]]|[[File:{{{title|{{{name|{{PAGENAME}}}}}}}} Icon.png]]}}
| | <label>Category</label> |
| |images = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|[[File:²{#explode:{item}¦:¦0}²]]|,|template=1}}}}
| | <format>[[{{{category}}}]]</format> |
| |tabs = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|²{#explode:{item}¦:¦1}²|,|template=1}}}}
| | </data> |
| |sections = Checkbox, Information, Details, How to Obtain
| | <data source="type"> |
| | | <label>Type</label> |
| |Checkbox_nolabel = 1
| | <format>[[{{{type}}}]]</format> |
| |Checkbox = Collected
| | </data> |
| |Collected = Mark as collected <span class="tpt-instance wds-checkbox" data-category="{{PAGEID:Dress Up/List}}" data-pageid="{{PAGEID}}"></span>
| | </group> |
| | | <data source="quality"> |
| |Information_collapsible = Yes
| | <label>Quality</label> |
| |Information = Category, Type, Quality, Set, Tags, Selling Price
| | <format>{{{quality}}}</format> |
| |Category = {{#if:{{{category|}}}|[[{{{category}}}]]}}
| | </data> |
| |Type = {{#if:{{{type|}}}|{{Array|{{{type}}}|;|[[{item}]]|, }}}}
| | <data source="set"> |
| |Type_label = Type{{#if:{{#explode:{{{type}}}|;|1}}|s}}
| | <label>Set</label> |
| |Quality = {{#if:{{{quality|}}}|<span class="quality-label">{{{quality}}}</span>}}
| | <format>[[{{{set}}}]]</format> |
| |Set = {{#if:{{{set_link|{{{set|}}}}}}|[[{{{set_link|{{{set}}}}}}|{{{set}}}]]}}
| | </data> |
| |Tags = {{#if:{{#explode:{{{tags}}}|;|1}}|{{List|{{{tags}}}}}|{{{tags|}}}}}
| | <data source="tags"> |
| |Selling Price = {{#if:{{{sell|{{{price|}}}}}}|{{Item|Dough|20|x={{{sell|{{{price}}}}}}}}}}
| | <label>Tags</label> |
| | | <format>{{List|{{{tags}}}}}</format> |
| |Details_collapsible = Yes
| | </data> |
| |Details = Color, Material, Style, Neighbor Match, Neighbor Exclusive
| | <data source="source"> |
| |Color = {{#if:{{{color|}}}|{{Array|{{{color}}}|;|[[{item}]]|, }}}}
| | <label>Source</label> |
| |Color_label = Color{{#if:{{#explode:{{{color}}}|;|1}}|s}}
| | <format>{{List|{{{source}}}}}</format> |
| |Material = {{#if:{{{material|}}}|{{Array|{{{material}}}|;|²{Material Link¦{item}¦}²|, |template=1}}}}
| | </data> |
| |Material_label = Material{{#if:{{#explode:{{{material}}}|;|1}}|s}}
| | <data source="sell"> |
| |Style = {{#if:{{{style|}}}|{{Array|{{{style}}}|;|[[{item}]]|, }}}}
| | <label>Selling Price</label> |
| |Style_label = Style{{#if:{{#explode:{{{style}}}|;|1}}|s}}
| | <format>{{Item|Dough|x={{{sell}}}}}</format> |
| |Neighbor Match = {{#if:{{{nmatch|}}}|{{Array|{{{nmatch}}}|;|{item}|, }}}}
| | </data> |
| |Neighbor Exclusive = {{#if:{{{nexclusive|}}}|[[{{{nexclusive|}}}]]}}
| | </infobox><!-- |
| | |
| |How to Obtain_collapsible = Yes
| |
| |How to Obtain = Source
| |
| |Source = {{#if:{{#explode:{{{source}}}|;|1}}|{{List|{{{source}}}}}|{{{source|}}}}}
| |
| |Source_label = Source{{#if:{{#explode:{{{source}}}|;|1}}|s}}
| |
| }}{{#if:{{{description|}}}|{{Description|{{{description}}}}}}}<!--
| |
| | |
| -->{{#invoke:Bucket|put|clothing
| |
| |+templateargs = name, number, quality, category, type, set, set_link, tags, source, description, color, material, style, nmatch, images
| |
| |page_id = {{PAGEID}}
| |
| |type-delimiter = ;
| |
| |tags-delimiter = ;
| |
| |sell = {{{sell|{{{price|}}}}}}
| |
| |color-delimiter = ;
| |
| |material-delimiter = ;
| |
| |style-delimiter = ;
| |
| |nmatch-delimiter = ;
| |
| |source-delimiter = ;
| |
| |image = {{{image|{{{title|{{{name|{{PAGENAME}}}}}}}} Icon.png}}}
| |
| |images-delimiter = ;
| |
| |removed = {{{removed|0}}}
| |
| }}<!--
| |
| | |
| -->{{Namespace|main=<!-- | | -->{{Namespace|main=<!-- |
| -->[[Category:Clothing]]<!-- | | -->[[Category:Dress Up]]<!-- |
| Number | | ID |
| -->{{#if:{{{number|}}}|[[Category:Clothing Items|{{{number|}}}]]|[[Category:Clothing Items]][[Category:Clothing Items Missing Number]]}}<!-- | | -->{{#if:{{{id|}}}|[[Category:Dress Up Items|{{{id|}}}]]|[[Category:Dress Up Items]][[Category:Dress Up Items Missing ID]]}}<!-- |
| Category | | Category |
| -->{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}<!-- | | -->{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}<!-- |
| Type | | Type |
| -->{{#if:{{{type|}}}|{{Array|{{{type|}}}|;|[[Category:{item}]]}}|}}<!-- | | -->{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}<!-- |
| Quality
| | Quality |
| -->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}} | | -->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}} |
| {{#if:{{{quality|}}}|[[Category:Clothing Items by Quality|{{#switch:{{{quality|}}} | | {{#if:{{{quality|}}}|[[Category:Dress Up Items by Quality|{{#switch:{{{quality|}}} |
| |Gray = 0 | | |Gray = 0 |
| |Green = 1 | | |Green = 1 |
| |Purple = 2 | | |Purple = 2 |
| |Gold = 3 | | |Gold = 3 |
| |#default = 4 | | |#default = 4 |
| }}]]}}<!-- | | }}]]}}<!-- |
| Tags | | Tags |
| -->{{#if:{{{tags|}}}|{{Cat List|{{{tags}}}|{item} Clothing}}}}<!-- | | -->{{#if:{{{tags|}}}|{{Cat List|{{{tags}}}|{item} Dress Up|{{#if:{{{category|}}}|[[Category:{item} {{{category}}}]]}}{{#if:{{{type|}}}|[[Category:{item}{{{type}}}]]}}}}}}<!-- |
| -->{{#if:{{{color|}}}|{{Cat List|{{{color}}}|{item} Clothing}}}}<!--
| | |
| -->{{#if:{{{material|}}}|{{Cat List|{{{material}}}|{item} Clothing}}}}<!--
| |
| -->{{#if:{{{style|}}}|{{Cat List|{{{style}}}|{item} Clothing}}}}<!--
| |
| -->{{#if:{{{nexclusive|}}}|[[Category:Neighbor Exclusive Clothing]]}}<!--
| |
| Set
| |
| -->{{#if:{{{set|}}}|[[Category:{{{set}}} Set Clothing Items]]}}<!--
| |
| -->}}<!-- | | -->}}<!-- |
| --></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | | --></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> |