Template:Clothing Infobox/doc: Difference between revisions
SteviumBot (talk | contribs) m Changed template data format |
Updated |
||
| (4 intermediate revisions by 2 users not shown) | |||
| 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 [[Clothing]] items. | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="wikitext" copy> | <syntaxhighlight lang="wikitext" copy> | ||
{{ | {{Clothing Infobox | ||
|name = | |name = | ||
|number = | |number = | ||
| Line 13: | Line 13: | ||
|quality = | |quality = | ||
|set = | |set = | ||
| | |color = | ||
|material = | |||
|style = | |||
|nmatch = | |||
|description = | |description = | ||
|source = | |source = | ||
| Line 19: | Line 22: | ||
}} | }} | ||
</syntaxhighlight> | </syntaxhighlight> | ||
* {{F|name}} – Name of the | * {{F|name}} – Name of the Clothing item. | ||
* {{F|number}} – Sorting number for the | * {{F|number}} – Sorting number for the Clothing item. | ||
* {{F|category}} – Category of the | * {{F|category}} – Category of the Clothing item. | ||
* {{F|type}} – Type of the | * {{F|type}} – Type of the Clothing item. | ||
* {{F|quality}} – Quality of the | * {{F|quality}} – Quality of the Clothing item. | ||
* {{F|set}} – Set the | * {{F|set}} – Set the Clothing item is included in. | ||
* {{F| | * {{F|color}} – Color tag(s) of the Clothing item as a semicolon separated list. | ||
* {{F|description}} – Description of the | * {{F|material}} – Material tag(s) of the Clothing item as a semicolon separated list. | ||
* {{F|source}} – Source(s) of the | * {{F|style}} – Style tag(s) of the Clothing item as a semicolon separated list. | ||
* {{F|sell}} – Selling price of the | * {{F|nmatch}} – Neighbor Match of the Clothing item as a semicolon separated list. | ||
* {{F|description}} – Description of the Clothing item. | |||
* {{F|source}} – Source(s) of the Clothing item as a semicolon separated list. | |||
* {{F|sell}} – Selling price of the Clothing item. | |||
===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. | ||
** Format: {{F|Image 1.ext:Tab 1 name; Image 2.ext:Tab 2 name; ... ; Image N.ext:Tab N name}}. | ** Format: {{F|Image 1.ext:Tab 1 name; Image 2.ext:Tab 2 name; ... ; Image N.ext:Tab N name}}. | ||
| Line 37: | Line 43: | ||
==Example== | ==Example== | ||
{{Example|<nowiki> | {{Example|<nowiki> | ||
{{ | {{Clothing Infobox | ||
|name = Wonky Cat Witch's Hat | |name = Wonky Cat Witch's Hat | ||
|number = 60406 | |number = 60406 | ||
| Line 44: | Line 50: | ||
|quality = Purple | |quality = Purple | ||
|set = Wonky Cat Witch | |set = Wonky Cat Witch | ||
| | |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 56: | Line 64: | ||
"number": { | "number": { | ||
"label": "Number", | "label": "Number", | ||
"description": "Sorting number for the | "description": "Sorting number for the Clothing item.", | ||
"example": "60406", | "example": "60406", | ||
"type": "number", | "type": "number", | ||
| Line 63: | Line 71: | ||
"quality": { | "quality": { | ||
"label": "Quality", | "label": "Quality", | ||
"description": "Quality of the | "description": "Quality of the Clothing item.", | ||
"example": "Gray, Purple, Gold", | "example": "Gray, Purple, Gold", | ||
"type": "string", | "type": "string", | ||
| Line 70: | Line 78: | ||
"name": { | "name": { | ||
"label": "Name", | "label": "Name", | ||
"description": "Name of the | "description": "Name of the Clothing item.", | ||
"example": "Wonky Cat Witch's Hat", | "example": "Wonky Cat Witch's Hat", | ||
"type": "string", | "type": "string", | ||
| Line 90: | Line 98: | ||
"category": { | "category": { | ||
"label": "Category", | "label": "Category", | ||
"description": "Category of the | "description": "Category of the Clothing item.", | ||
"example": "Outfit", | "example": "Outfit", | ||
"type": "string", | "type": "string", | ||
| Line 97: | Line 105: | ||
"type": { | "type": { | ||
"label": "Type", | "label": "Type", | ||
"description": "Type of the | "description": "Type of the Clothing item.", | ||
"example": "Headwear", | "example": "Headwear", | ||
"type": "string", | "type": "string", | ||
| Line 104: | Line 112: | ||
"description": { | "description": { | ||
"label": "Description", | "label": "Description", | ||
"description": "Description of the | "description": "Description of the Clothing item.", | ||
"type": "content", | "type": "content", | ||
"suggested": true | "suggested": true | ||
| Line 110: | Line 118: | ||
"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 Clothing set.", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"set": { | "set": { | ||
"label": "Set", | "label": "Set", | ||
"description": "Set the | "description": "Set the Clothing item is included in.", | ||
"example": "Wonky Cat Witch", | "example": "Wonky Cat Witch", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "color": { | ||
"label": " | "label": "Color", | ||
"description": " | "description": "Color tag(s) of the Clothing item as a semicolon separated list.", | ||
"example": "Brown; Fabric; | "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 129: | Line 158: | ||
"sell": { | "sell": { | ||
"label": "Selling price", | "label": "Selling price", | ||
"description": "Selling price of the | "description": "Selling price of the Clothing item.", | ||
"example": "15", | "example": "15", | ||
"type": "number" | "type": "number" | ||
| Line 135: | Line 164: | ||
"source": { | "source": { | ||
"label": "Source", | "label": "Source", | ||
"description": "Source(s) of the | "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 141: | Line 170: | ||
} | } | ||
}, | }, | ||
"description": "Template that creates an infobox for | "description": "Template that creates an infobox for Clothings.", | ||
"paramOrder": [ | "paramOrder": [ | ||
"name", | "name", | ||
| Line 150: | Line 179: | ||
"set", | "set", | ||
"set_link", | "set_link", | ||
" | "color", | ||
"material", | |||
"style", | |||
"nmatch", | |||
"description", | "description", | ||
"source", | "source", | ||
| Line 157: | Line 189: | ||
"images" | "images" | ||
], | ], | ||
"format": "{{_\n| | "format": "{{_\n|___________ = _\n}}\n" | ||
} | } | ||
</templatedata> | </templatedata> | ||
Latest revision as of 21:03, 26 May 2026
This is the documentation page for Clothing Infobox. It contains usage information, categories, and other content not part of the original template page. | ||
|---|---|---|
| Main | Documentation | Usage |
Template that creates an infobox for Clothing items.
Syntax
[edit source]{{Clothing Infobox
|name =
|number =
|category =
|type =
|quality =
|set =
|color =
|material =
|style =
|nmatch =
|description =
|source =
|sell =
}}
- name – Name of the Clothing item.
- number – Sorting number for the Clothing item.
- category – Category of the Clothing item.
- type – Type of the Clothing item.
- quality – Quality of the Clothing item.
- set – Set the Clothing item is included in.
- color – Color tag(s) of the Clothing item as a semicolon separated list.
- material – Material tag(s) of the Clothing item as a semicolon separated list.
- style – Style tag(s) of the Clothing item as a semicolon separated list.
- nmatch – Neighbor Match of the Clothing item as a semicolon separated list.
- description – Description of the Clothing item.
- source – Source(s) of the Clothing item as a semicolon separated list.
- sell – Selling price of the Clothing item.
Other parameters
[edit source]- image – Override the default image with a single file. Default: name Icon.png.
- images – Override the default image with multiple files and tabs.
- Format: Image 1.ext:Tab 1 name; Image 2.ext:Tab 2 name; ... ; Image N.ext:Tab N name.
Example
[edit source]
{{Clothing Infobox
|name = Wonky Cat Witch's Hat
|number = 60406
|category = Outfit
|type = Headwear
|quality = Purple
|set = Wonky Cat Witch
|color = Brown
|material = Fabric
|style = Romantic
|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]]
}}
Template Data
[edit source]Template that creates an infobox for Clothings.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Name of the Clothing item.
| String | required |
| Number | number | Sorting number for the Clothing item.
| Number | suggested |
| Category | category | Category of the Clothing item.
| String | suggested |
| Type | type | Type of the Clothing item.
| String | suggested |
| Quality | quality | Quality of the Clothing item.
| String | suggested |
| Set | set | Set the Clothing item is included in.
| String | suggested |
| Set link | set_link | Appoint another page to be linked for the Clothing set. | String | optional |
| Color | color | Color tag(s) of the Clothing item as a semicolon separated list.
| Content | suggested |
| Material | material | Material tag(s) of the Clothing item as a semicolon separated list.
| Content | suggested |
| Style | style | Style tag(s) of the Clothing item as a semicolon separated list.
| Content | suggested |
| Neighbor match | nmatch | Neighbor Match of the Clothing item as a semicolon separated list.
| Content | suggested |
| Description | description | Description of the Clothing item. | Content | suggested |
| Source | source | Source(s) of the Clothing item as a semicolon separated list.
| Content | suggested |
| Selling price | sell | Selling price of the Clothing item.
| Number | optional |
| Image | image | Override the default image with a single file.
| File | optional |
| Images | images | Override the default image with multiple files and tabs.
| Content | optional |