Template:Dress Up Infobox: Difference between revisions
Appearance
ReisuDesign (talk | contribs) Created page with "<includeonly><infobox> <title source="title"> <default>{{PAGENAME|{{{title}}}}}</default> </title> <image source="image"> <caption source="caption-image"/> </image> <group layout="horizontal> <data source="category"> <label>Category</label> <format>[[{{{category}}}]]</format> </data> <data source="type"> <label>Type</label> <format>[[{{{type}}}]]</format> </data> </group> <data source="quality"> <label>Quality</label> <..." |
Updated to DRUID infobox |
||
| (9 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#invoke:Infobox|main | ||
|kind = Dress Up | |||
|sep = , | |||
|title = <!-- | |||
-->{{{title|<!-- | |||
< | -->{{#if:{{{number|}}}|<!-- | ||
</ | --><span class="archive-number quality-{{lc:{{{quality|none}}}}}"><!-- | ||
-->{{{number}}}<!-- | |||
--></span><!-- | |||
-->}}<!-- | |||
-->{{{name|{{PAGENAME}}}}}<!-- | |||
-->}}} | |||
|subtitle = {{{subtitle|}}} | |||
|image = {{#if:{{{image|}}}|[[File:{{{image|}}}]]|[[File:{{{title|{{{name|{{PAGENAME}}}}}}}} Icon.png]]}} | |||
|images = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|[[File:²{#explode:{item}¦:¦0}²]]|,|template=1}}}} | |||
|tabs = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|²{#explode:{item}¦:¦1}²|,|template=1}}}} | |||
|sections = Information, Description, How to Obtain | |||
|Information_collapsible = Yes | |||
</ | |Information = Category, Type, Quality, Set, Tags, Selling Price | ||
|Category = {{#if:{{{category|}}}|[[{{{category}}}]]}} | |||
|Type = {{#if:{{{type|}}}|[[{{{type}}}]]}} | |||
|Quality = <!-- | |||
-->{{#if:{{{quality|}}}|<!-- | |||
--><span class="quality-label quality-{{lc:{{{quality|none}}}}}"><!-- | |||
-->{{{quality|None}}}<!-- | |||
--></span><!-- | |||
-->}} | |||
|Set = {{#if:{{{set_link|{{{set|}}}}}}|[[{{{set_link|{{{set}}}}}}|{{{set}}}]]}} | |||
|Tags = {{#if:{{#explode:{{{tags}}}|;|1}}|{{List|{{{tags}}}}}|{{{tags|}}}}} | |||
|Selling Price = {{#if:{{{sell|{{{price|}}}}}}|{{Item|Dough|x={{{sell|{{{price}}}}}}}}}} | |||
|Description_collapsible = Yes | |||
|Description = DescriptionText | |||
|DescriptionText_wide = Yes | |||
|DescriptionText = {{{description|}}} | |||
|How to Obtain_collapsible = Yes | |||
|How to Obtain = Source | |||
|Source = {{#if:{{#explode:{{{source}}}|;|1}}|{{List|{{{source}}}}}|{{{source|}}}}} | |||
}}<!-- | |||
-->{{Namespace|main=<!-- | -->{{Namespace|main=<!-- | ||
-->[[Category:Dress Up | -->[[Category:Dress Up]]<!-- | ||
Number | |||
-->{{#if:{{{category|}}}|[[Category:{{{category}}} | -->{{#if:{{{number|}}}|[[Category:Dress Up Items|{{{number|}}}]]|[[Category:Dress Up Items]][[Category:Dress Up Items Missing Number]]}}<!-- | ||
Category | |||
-->{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}<!-- | |||
Type | |||
-->{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}<!-- | -->{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}<!-- | ||
-->{{#if:{{{tags|}}}|{{Cat List|{{{tags}}}|{item} Dress Up|{{#if:{{{category|}}}|[[Category:{item} {{{category}}}]]}}{{#if:{{{type|}}}|[[Category:{item}{{{type}}}]]}}}}}}<!-- | Quality | ||
-->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}} | |||
{{#if:{{{quality|}}}|[[Category:Dress Up Items by Quality|{{#switch:{{{quality|}}} | |||
|Gray = 0 | |||
|Green = 1 | |||
|Purple = 2 | |||
|Gold = 3 | |||
|#default = 4 | |||
}}]]}}<!-- | |||
Tags | |||
-->{{#if:{{{tags|}}}|{{Cat List|{{{tags}}}|{item} Dress Up|{{#if:{{{category|}}}|[[Category:{item} {{{category}}}]]}}{{#if:{{{type|}}}|[[Category:{item} {{{type}}}]]}}}}}}<!-- | |||
Set | |||
-->{{#if:{{{set|}}}|[[Category:{{{set}}} Set Dress Up Items]]}}<!-- | |||
-->}}<!-- | -->}}<!-- | ||
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | --></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | ||
Latest revision as of 13:18, 21 February 2026
Template documentation
Note: parts of or the entire template might not be visible without values provided.
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
Infobox for Dress Up items.
Syntax[edit source]
{{Outfit Infobox
|name = Page Name
|number = Sorting Number
|image = [Image].png
|category = Outfit/Styling
|type = Headwear/Skin Tone
|quality = Quality Color
|set = Set (If Any)
|sellPrice = Sell Price at Glenn's
|source = Source of Item
}}