Editing Template:Clothing Infobox/doc
Template page
More actions
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 2: | Line 2: | ||
{{Lua|Infobox}} | {{Lua|Infobox}} | ||
{{CSS|Gadget-Infobox}} | {{CSS|Gadget-Infobox}} | ||
Template that creates an infobox for [[ | Template that creates an infobox for [[Dress Up]] items. | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="wikitext" copy> | <syntaxhighlight lang="wikitext" copy> | ||
{{ | {{Dress Up Infobox | ||
|name = | |name = | ||
|number = | |number = | ||
| Line 13: | Line 13: | ||
|quality = | |quality = | ||
|set = | |set = | ||
| | |tags = | ||
|description = | |description = | ||
|source = | |source = | ||
| Line 22: | Line 19: | ||
}} | }} | ||
</syntaxhighlight> | </syntaxhighlight> | ||
* {{F|name}} – Name of the | * {{F|name}} – Name of the Dress Up item. | ||
* {{F|number}} – Sorting number for the | * {{F|number}} – Sorting number for the Dress Up item. | ||
* {{F|category}} – Category of the | * {{F|category}} – Category of the Dress Up item. | ||
* {{F|type}} – Type of the | * {{F|type}} – Type of the Dress Up item. | ||
* {{F|quality}} – Quality of the | * {{F|quality}} – Quality of the Dress Up item. | ||
* {{F|set}} – Set the | * {{F|set}} – Set the Dress Up item is included in. | ||
* {{F| | * {{F|tags}} – Tags of the Dress Up item as a semi-colon separated list. | ||
* {{F|description}} – Description of the Dress Up item. | |||
* {{F|source}} – Source(s) of the Dress Up item as a semi-colon separated list. | |||
* {{F|sell}} – Selling price of the Dress Up item. | |||
* {{F|description}} – Description of the | |||
* {{F|source}} – Source(s) of the | |||
* {{F|sell}} – Selling price of the | |||
===Other parameters=== | ===Other parameters=== | ||
* {{F|image}} – Override the default image with a single file. Default: {{F| | * {{F|image}} – Override the default image with a single file. Default: {{F|<name> Icon.png}} | ||
* {{F|images}} – Override the default image with multiple files and tabs. | * {{F|images}} – Override the default image with multiple files and tabs. | ||
==Example== | ==Example== | ||
{{Example|<nowiki> | {{Example|<nowiki> | ||
{{ | {{Dress Up Infobox | ||
|name = Wonky Cat Witch's Hat | |name = Wonky Cat Witch's Hat | ||
|number = 60406 | |number = 60406 | ||
| Line 50: | Line 43: | ||
|quality = Purple | |quality = Purple | ||
|set = Wonky Cat Witch | |set = Wonky Cat Witch | ||
| | |tags = Brown; Fabric; 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 64: | Line 55: | ||
"number": { | "number": { | ||
"label": "Number", | "label": "Number", | ||
"description": "Sorting number for the | "description": "Sorting number for the Dress Up item.", | ||
"example": "60406", | "example": "60406", | ||
"type": "number", | "type": "number", | ||
| Line 71: | Line 62: | ||
"quality": { | "quality": { | ||
"label": "Quality", | "label": "Quality", | ||
"description": "Quality of the | "description": "Quality of the Dress Up item.", | ||
"example": "Gray, Purple, Gold", | "example": "Gray, Purple, Gold", | ||
"type": "string", | "type": "string", | ||
| Line 78: | Line 69: | ||
"name": { | "name": { | ||
"label": "Name", | "label": "Name", | ||
"description": "Name of the | "description": "Name of the Dress Up item.", | ||
"example": "Wonky Cat Witch's Hat", | "example": "Wonky Cat Witch's Hat", | ||
"type": "string", | "type": "string", | ||
| Line 93: | Line 84: | ||
"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. | "example": "Image 1.png:Tab 1 name; Image 2.png:Tab 2 name", | ||
"type": "content" | "type": "content" | ||
}, | }, | ||
"category": { | "category": { | ||
"label": "Category", | "label": "Category", | ||
"description": "Category of the | "description": "Category of the Dress Up item.", | ||
"example": "Outfit", | "example": "Outfit", | ||
"type": "string", | "type": "string", | ||
| Line 105: | Line 96: | ||
"type": { | "type": { | ||
"label": "Type", | "label": "Type", | ||
"description": "Type of the | "description": "Type of the Dress Up item.", | ||
"example": "Headwear", | "example": "Headwear", | ||
"type": "string", | "type": "string", | ||
| Line 112: | Line 103: | ||
"description": { | "description": { | ||
"label": "Description", | "label": "Description", | ||
"description": "Description of the | "description": "Description of the Dress Up item.", | ||
"type": "content", | "type": "content", | ||
"suggested": true | "suggested": true | ||
| Line 118: | Line 109: | ||
"set_link": { | "set_link": { | ||
"label": "Set link", | "label": "Set link", | ||
"description": "Appoint another page to be linked for the | "description": "Appoint another page to be linked for the Dress Up set.", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"set": { | "set": { | ||
"label": "Set", | "label": "Set", | ||
"description": "Set the | "description": "Set the Dress Up item is included in.", | ||
"example": "Wonky Cat Witch", | "example": "Wonky Cat Witch", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "tags": { | ||
"label": " | "label": "Tags", | ||
"description": " | "description": "Tags of the Dress Up item as a semi-colon separated list.", | ||
"example": "Brown; | "example": "Brown; Fabric; Romantic", | ||
"type": "content", | "type": "content", | ||
"suggested": true | "suggested": true | ||
| Line 158: | Line 128: | ||
"sell": { | "sell": { | ||
"label": "Selling price", | "label": "Selling price", | ||
"description": "Selling price of the | "description": "Selling price of the Dress Up item.", | ||
"example": "15", | "example": "15", | ||
"type": "number" | "type": "number" | ||
| Line 164: | Line 134: | ||
"source": { | "source": { | ||
"label": "Source", | "label": "Source", | ||
"description": "Source(s) of the | "description": "Source(s) of the Dress Up item as a semi-colon separated list.", | ||
"example": "[[Loomix Mart]]; [[Loomix Curated Apparel: I]]", | "example": "[[Loomix Mart]]; [[Loomix Curated Apparel: I]]", | ||
"type": "content", | "type": "content", | ||
| Line 170: | Line 140: | ||
} | } | ||
}, | }, | ||
"description": "Template that creates an infobox for | "description": "Template that creates an infobox for Dress Ups.", | ||
"paramOrder": [ | "paramOrder": [ | ||
"name", | "name", | ||
| Line 179: | Line 149: | ||
"set", | "set", | ||
"set_link", | "set_link", | ||
" | "tags", | ||
"description", | "description", | ||
"source", | "source", | ||
| Line 189: | Line 156: | ||
"images" | "images" | ||
], | ], | ||
"format": " | "format": "block" | ||
} | } | ||
</templatedata> | </templatedata> | ||