| Latest revision |
Your text |
| Line 1: |
Line 1: |
| {{Documentation/Header}} | | {{Documentation/Header}} |
| {{Lua|Infobox}}
| | |
| {{CSS|Gadget-Infobox}}
| | Infobox for Dress Up items. |
| Template that creates an infobox for [[Clothing]] items.
| |
|
| |
|
| ==Syntax== | | ==Syntax== |
| <syntaxhighlight lang="wikitext" copy> | | <pre> |
| {{Clothing Infobox | | {{Outfit Infobox |
| |name = | | |name = Page Name |
| |number = | | |number = Sorting Number |
| |category =
| | |image = [Image].png |
| |type = | | |category = Outfit/Styling |
| |quality = | | |type = Headwear/Skin Tone |
| |set = | | |quality = Quality Color |
| |color = | | |set = Set (If Any) |
| |material = | | |sellPrice = Sell Price at Glenn's |
| |style = | | |source = Source of Item |
| |nmatch =
| |
| |description =
| |
| |source = | |
| |sell =
| |
| }} | | }} |
| </syntaxhighlight> | | </pre> |
| * {{F|name}} – Name of the Clothing item.
| |
| * {{F|number}} – Sorting number for the Clothing item.
| |
| * {{F|category}} – Category of the Clothing item.
| |
| * {{F|type}} – Type of the Clothing item.
| |
| * {{F|quality}} – Quality of the Clothing item.
| |
| * {{F|set}} – Set the Clothing item is included in.
| |
| * {{F|color}} – Color tag(s) of the Clothing item as a semicolon separated list.
| |
| * {{F|material}} – Material tag(s) of the Clothing item as a semicolon separated list.
| |
| * {{F|style}} – Style tag(s) of the Clothing item as a semicolon separated list.
| |
| * {{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===
| |
| * {{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.
| |
| ** Format: {{F|Image 1.ext:Tab 1 name; Image 2.ext:Tab 2 name; ... ; Image N.ext:Tab N name}}.
| |
|
| |
|
| ==Example== | | ==Example== |
| {{Example|<nowiki> | | {{Dress Up Infobox |
| {{Clothing Infobox
| | |name = Handcrafted Tree Sapling Hat |
| |name = Wonky Cat Witch's Hat | | |number = 001 |
| |number = 60406 | | |image = Handcrafted Tree Sapling Hat Icon.png |
| |category = Outfit | | |category = Outfit |
| |type = Headwear | | |type = Headwear |
| |quality = Purple | | |quality = Gray |
| |set = Wonky Cat Witch | | |set = None |
| |color = Brown
| | |sellPrice = 10 |
| |material = Fabric | | |source = Main Quest |
| |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]]
| |
| }} | | }} |
| </nowiki>}}
| |
| {{Clr}}
| |
| ==Template Data==
| |
| <templatedata>
| |
| {
| |
| "params": {
| |
| "number": {
| |
| "label": "Number",
| |
| "description": "Sorting number for the Clothing item.",
| |
| "example": "60406",
| |
| "type": "number",
| |
| "suggested": true
| |
| },
| |
| "quality": {
| |
| "label": "Quality",
| |
| "description": "Quality of the Clothing item.",
| |
| "example": "Gray, Purple, Gold",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "name": {
| |
| "label": "Name",
| |
| "description": "Name of the Clothing item.",
| |
| "example": "Wonky Cat Witch's Hat",
| |
| "type": "string",
| |
| "required": true
| |
| },
| |
| "image": {
| |
| "label": "Image",
| |
| "description": "Override the default image with a single file.",
| |
| "example": "Unknown Icon.png",
| |
| "type": "wiki-file-name",
| |
| "default": "<name> Icon.png"
| |
| },
| |
| "images": {
| |
| "label": "Images",
| |
| "description": "Override the default image with multiple files and tabs.",
| |
| "example": "Image 1.ext:Tab 1 name; Image 2.ext:Tab 2 name",
| |
| "type": "content"
| |
| },
| |
| "category": {
| |
| "label": "Category",
| |
| "description": "Category of the Clothing item.",
| |
| "example": "Outfit",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "type": {
| |
| "label": "Type",
| |
| "description": "Type of the Clothing item.",
| |
| "example": "Headwear",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "description": {
| |
| "label": "Description",
| |
| "description": "Description of the Clothing item.",
| |
| "type": "content",
| |
| "suggested": true
| |
| },
| |
| "set_link": {
| |
| "label": "Set link",
| |
| "description": "Appoint another page to be linked for the Clothing set.",
| |
| "type": "string"
| |
| },
| |
| "set": {
| |
| "label": "Set",
| |
| "description": "Set the Clothing item is included in.",
| |
| "example": "Wonky Cat Witch",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "color": {
| |
| "label": "Color",
| |
| "description": "Color tag(s) of the Clothing item as a semicolon separated list.",
| |
| "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",
| |
| "suggested": true
| |
| },
| |
| "sell": {
| |
| "label": "Selling price",
| |
| "description": "Selling price of the Clothing item.",
| |
| "example": "15",
| |
| "type": "number"
| |
| },
| |
| "source": {
| |
| "label": "Source",
| |
| "description": "Source(s) of the Clothing item as a semicolon separated list.",
| |
| "example": "[[Loomix Mart]]; [[Loomix Curated Apparel: I]]",
| |
| "type": "content",
| |
| "suggested": true
| |
| }
| |
| },
| |
| "description": "Template that creates an infobox for Clothings.",
| |
| "paramOrder": [
| |
| "name",
| |
| "number",
| |
| "category",
| |
| "type",
| |
| "quality",
| |
| "set",
| |
| "set_link",
| |
| "color",
| |
| "material",
| |
| "style",
| |
| "nmatch",
| |
| "description",
| |
| "source",
| |
| "sell",
| |
| "image",
| |
| "images"
| |
| ],
| |
| "format": "{{_\n|___________ = _\n}}\n"
| |
| }
| |
| </templatedata>
| |