Template:Clothing Infobox: Difference between revisions
Added auto-pluralization for source label |
No edit summary |
||
| Line 15: | Line 15: | ||
|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, Description, How to Obtain | |sections = Information, Description, Details, How to Obtain | ||
|Information_collapsible = Yes | |Information_collapsible = Yes | ||
| Line 35: | Line 35: | ||
|DescriptionText_wide = Yes | |DescriptionText_wide = Yes | ||
|DescriptionText = {{{description|}}} | |DescriptionText = {{{description|}}} | ||
|Details_collapsible = Yes | |||
|Details = Color, Material, Style | |||
|Color = {{Array|{{{color|}}}|;|<ul><li>{item}</li></ul>}} | |||
|Material = {{Array|{{{material|}}}|;|<ul><li>{item}</li></ul>}} | |||
|Style = {{Array|{{{style|}}}|;|<ul><li>{item}</li></ul>}} | |||
|How to Obtain_collapsible = Yes | |How to Obtain_collapsible = Yes | ||
| Line 43: | Line 49: | ||
-->{{#invoke:Bucket|put|dress_up | -->{{#invoke:Bucket|put|dress_up | ||
|+templateargs = name, number, quality, category, type, set, set_link, tags, source, description, images | |+templateargs = name, number, quality, category, type, set, set_link, tags, source, description, color, material, style, images | ||
|page_id = {{PAGEID}} | |page_id = {{PAGEID}} | ||
|tags-delimiter = ; | |tags-delimiter = ; | ||
|sell = {{{sell|{{{price|}}}}}} | |sell = {{{sell|{{{price|}}}}}} | ||
|source-delimiter = ; | |source-delimiter = ; | ||
|color-delimiter = ; | |||
|material-delimiter = ; | |||
|style-delimiter = ; | |||
|image = {{{image|{{{title|{{{name|{{PAGENAME}}}}}}}} Icon.png}}} | |image = {{{image|{{{title|{{{name|{{PAGENAME}}}}}}}} Icon.png}}} | ||
|images-delimiter = ; | |images-delimiter = ; | ||
| Line 72: | Line 81: | ||
Tags | Tags | ||
-->{{#if:{{{tags|}}}|{{Cat List|{{{tags}}}|{item} Dress Up|{{#if:{{{category|}}}|[[Category:{item} {{{category}}}]]}}{{#if:{{{type|}}}|[[Category:{item} {{{type}}}]]}}}}}}<!-- | -->{{#if:{{{tags|}}}|{{Cat List|{{{tags}}}|{item} Dress Up|{{#if:{{{category|}}}|[[Category:{item} {{{category}}}]]}}{{#if:{{{type|}}}|[[Category:{item} {{{type}}}]]}}}}}}<!-- | ||
-->{{#if:{{{color|}}}|{{Cat List|{{{tags}}}|{item} Dress Up|{{#if:{{{category|}}}|[[Category:{item} {{{category}}}]]}}{{#if:{{{type|}}}|[[Category:{item} {{{type}}}]]}}}}}}<!-- | |||
-->{{#if:{{{material|}}}|{{Cat List|{{{tags}}}|{item} Dress Up|{{#if:{{{category|}}}|[[Category:{item} {{{category}}}]]}}{{#if:{{{type|}}}|[[Category:{item} {{{type}}}]]}}}}}}<!-- | |||
-->{{#if:{{{style|}}}|{{Cat List|{{{tags}}}|{item} Dress Up|{{#if:{{{category|}}}|[[Category:{item} {{{category}}}]]}}{{#if:{{{type|}}}|[[Category:{item} {{{type}}}]]}}}}}}<!-- | |||
Set | Set | ||
-->{{#if:{{{set|}}}|[[Category:{{{set}}} Set Dress Up Items]]}}<!-- | -->{{#if:{{{set|}}}|[[Category:{{{set}}} Set Dress Up Items]]}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | --></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | ||