Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
If you make an edit, a temporary account will be created for you.

Template:Clothing Infobox/doc: Difference between revisions

Template page
Updated
Updated
 
(7 intermediate revisions by 3 users not shown)
Line 2: Line 2:
{{Lua|Infobox}}
{{Lua|Infobox}}
{{CSS|Gadget-Infobox}}
{{CSS|Gadget-Infobox}}
Template that creates an infobox for [[Dress Up]] items.
Template that creates an infobox for [[Clothing]] items.


==Syntax==
==Syntax==
<syntaxhighlight lang="wikitext" copy>
<syntaxhighlight lang="wikitext" copy>
{{Dress Up Infobox
{{Clothing Infobox
|name        =  
|name        =  
|number      =  
|number      =  
Line 13: Line 13:
|quality    =  
|quality    =  
|set        =  
|set        =  
|tags        =  
|color      =
|material    =
|style      =
|nmatch      =  
|description =  
|description =  
|source      =  
|source      =  
Line 19: Line 22:
}}
}}
</syntaxhighlight>
</syntaxhighlight>
* {{F|name}} &ndash; Name of the Dress Up item.
* {{F|name}} &ndash; Name of the Clothing item.
* {{F|number}} &ndash; Sorting number for the Dress Up item.
* {{F|number}} &ndash; Sorting number for the Clothing item.
* {{F|category}} &ndash; Category of the Dress Up item.
* {{F|category}} &ndash; Category of the Clothing item.
* {{F|type}} &ndash; Type of the Dress Up item.
* {{F|type}} &ndash; Type of the Clothing item.
* {{F|quality}} &ndash; Quality of the Dress Up item.
* {{F|quality}} &ndash; Quality of the Clothing item.
* {{F|set}} &ndash; Set the Dress Up item is included in.
* {{F|set}} &ndash; Set the Clothing item is included in.
* {{F|tags}} &ndash; Tags of the Dress Up item as a semi-colon separated list.
* {{F|color}} &ndash; Color tag(s) of the Clothing item as a semicolon separated list.
* {{F|description}} &ndash; Description of the Dress Up item.
* {{F|material}} &ndash; Material tag(s) of the Clothing item as a semicolon separated list.
* {{F|source}} &ndash; Source(s) of the Dress Up item as a semi-colon separated list.
* {{F|style}} &ndash; Style tag(s) of the Clothing item as a semicolon separated list.
* {{F|sell}} &ndash; Selling price of the Dress Up item.
* {{F|nmatch}} &ndash; Neighbor Match of the Clothing item as a semicolon separated list.
* {{F|description}} &ndash; Description of the Clothing item.
* {{F|source}} &ndash; Source(s) of the Clothing item as a semicolon separated list.
* {{F|sell}} &ndash; Selling price of the Clothing item.


===Other parameters===
===Other parameters===
* {{F|image}} &ndash; Override the default image with a single file. Default: {{F|<name> Icon.png}}
* {{F|image}} &ndash; Override the default image with a single file. Default: {{F|((name)) Icon.png}}.
* {{F|images}} &ndash; Override the default image with multiple files and tabs.
* {{F|images}} &ndash; Override the default image with multiple files and tabs.
** Format: {{F|Image 1.ext:Tab 1 name; Image 2.ext:Tab 2 name; ... ; Image N.ext:Tab N name}}.


==Example==
==Example==
{{Example|<nowiki>
{{Example|<nowiki>
{{Dress Up Infobox
{{Clothing Infobox
|name        = Wonky Cat Witch's Hat
|name        = Wonky Cat Witch's Hat
|number      = 60406
|number      = 60406
Line 43: Line 50:
|quality    = Purple
|quality    = Purple
|set        = Wonky Cat Witch
|set        = Wonky Cat Witch
|tags        = Brown; Fabric; Romantic
|color      = Brown
|material    = Fabric
|style      = Romantic
|description = A witch hat that simply refuses to sit straight. Could that be where the magic comes from?
|description = A witch hat that simply refuses to sit straight. Could that be where the magic comes from?
|source      = [[Loomix Mart]]; [[Loomix Curated Apparel: I]]
|source      = [[Loomix Mart]]; [[Loomix Curated Apparel: I]]
Line 55: Line 64:
"number": {
"number": {
"label": "Number",
"label": "Number",
"description": "Sorting number for the Dress Up item.",
"description": "Sorting number for the Clothing item.",
"example": "60406",
"example": "60406",
"type": "number",
"type": "number",
Line 62: Line 71:
"quality": {
"quality": {
"label": "Quality",
"label": "Quality",
"description": "Quality of the Dress Up item.",
"description": "Quality of the Clothing item.",
"example": "Gray, Purple, Gold",
"example": "Gray, Purple, Gold",
"type": "string",
"type": "string",
Line 69: Line 78:
"name": {
"name": {
"label": "Name",
"label": "Name",
"description": "Name of the Dress Up item.",
"description": "Name of the Clothing item.",
"example": "Wonky Cat Witch's Hat",
"example": "Wonky Cat Witch's Hat",
"type": "string",
"type": "string",
Line 84: Line 93:
"label": "Images",
"label": "Images",
"description": "Override the default image with multiple files and tabs.",
"description": "Override the default image with multiple files and tabs.",
"example": "Image 1.png:Tab 1 name; Image 2.png:Tab 2 name",
"example": "Image 1.ext:Tab 1 name; Image 2.ext:Tab 2 name",
"type": "content"
"type": "content"
},
},
"category": {
"category": {
"label": "Category",
"label": "Category",
"description": "Category of the Dress Up item.",
"description": "Category of the Clothing item.",
"example": "Outfit",
"example": "Outfit",
"type": "string",
"type": "string",
Line 96: Line 105:
"type": {
"type": {
"label": "Type",
"label": "Type",
"description": "Type of the Dress Up item.",
"description": "Type of the Clothing item.",
"example": "Headwear",
"example": "Headwear",
"type": "string",
"type": "string",
Line 103: Line 112:
"description": {
"description": {
"label": "Description",
"label": "Description",
"description": "Description of the Dress Up item.",
"description": "Description of the Clothing item.",
"type": "content",
"type": "content",
"suggested": true
"suggested": true
Line 109: Line 118:
"set_link": {
"set_link": {
"label": "Set link",
"label": "Set link",
"description": "Appoint another page to be linked for the Dress Up set.",
"description": "Appoint another page to be linked for the Clothing set.",
"type": "string"
"type": "string"
},
},
"set": {
"set": {
"label": "Set",
"label": "Set",
"description": "Set the Dress Up item is included in.",
"description": "Set the Clothing item is included in.",
"example": "Wonky Cat Witch",
"example": "Wonky Cat Witch",
"type": "string",
"type": "string",
"suggested": true
"suggested": true
},
},
"tags": {
"color": {
"label": "Tags",
"label": "Color",
"description": "Tags of the Dress Up item as a semi-colon separated list.",
"description": "Color tag(s) of the Clothing item as a semicolon separated list.",
"example": "Brown; Fabric; Romantic",
"example": "Brown; White; Pink",
"type": "content",
"suggested": true
},
"material": {
"label": "Material",
"description": "Material tag(s) of the Clothing item as a semicolon separated list.",
"example": "Fabric; Plush; Metal",
"type": "content",
"suggested": true
},
"style": {
"label": "Style",
"description": "Style tag(s) of the Clothing item as a semicolon separated list.",
"example": "Cool; Sporty; Artistic",
"type": "content",
"suggested": true
},
"nmatch": {
"label": "Neighbor match",
"description": "Neighbor Match of the Clothing item as a semicolon separated list.",
"example": "One-Size",
"type": "content",
"type": "content",
"suggested": true
"suggested": true
Line 128: Line 158:
"sell": {
"sell": {
"label": "Selling price",
"label": "Selling price",
"description": "Selling price of the Dress Up item.",
"description": "Selling price of the Clothing item.",
"example": "15",
"example": "15",
"type": "number"
"type": "number"
Line 134: Line 164:
"source": {
"source": {
"label": "Source",
"label": "Source",
"description": "Source(s) of the Dress Up item as a semi-colon separated list.",
"description": "Source(s) of the Clothing item as a semicolon separated list.",
"example": "[[Loomix Mart]]; [[Loomix Curated Apparel: I]]",
"example": "[[Loomix Mart]]; [[Loomix Curated Apparel: I]]",
"type": "content",
"type": "content",
Line 140: Line 170:
}
}
},
},
"description": "Template that creates an infobox for Dress Ups.",
"description": "Template that creates an infobox for Clothings.",
"paramOrder": [
"paramOrder": [
"name",
"name",
Line 149: Line 179:
"set",
"set",
"set_link",
"set_link",
"tags",
"color",
"material",
"style",
"nmatch",
"description",
"description",
"source",
"source",
Line 156: Line 189:
"images"
"images"
],
],
"format": "block"
"format": "{{_\n|___________ = _\n}}\n"
}
}
</templatedata>
</templatedata>