Jump to content

Editing Template:Clothing Infobox/doc

Warning: You are not logged in. Once you make an edit, a temporary account will be created for you. Learn more. Log in or create an account to continue receiving notifications after this account expires, and to access other features.
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 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}} &ndash; Name of the Clothing item.
* {{F|number}} &ndash; Sorting number for the Clothing item.
* {{F|category}} &ndash; Category of the Clothing item.
* {{F|type}} &ndash; Type of the Clothing item.
* {{F|quality}} &ndash; Quality of the Clothing item.
* {{F|set}} &ndash; Set the Clothing item is included in.
* {{F|color}} &ndash; Color tag(s) of the Clothing item as a semicolon separated list.
* {{F|material}} &ndash; Material tag(s) of the Clothing item as a semicolon separated list.
* {{F|style}} &ndash; Style tag(s) of the Clothing item as a semicolon separated list.
* {{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===
* {{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.
** 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>
Please note that all contributions to The Petit Planet Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see Petit Planet Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)
Preview page with this template
Below are commonly used wikitext from MediaWiki:Edittools. Click on any to insert them in the edit box.
File Pages==Summary====Licensing=={{Fairuse}}{{File|}}
Dynamic Page List¦²«»²{¦}²«»«/»«!----»
Array in DPL¹^2{}^2^2{¹}^2
Parser Functions{{#if:||}}
{{#ifeq:|||}}
{{#expr:}}
{{#switch:||#default=}}
{{#replace:||}}
{{#titleparts:}}
{{#tag:|}}
Markup{{}}|[][[]][[Category:]]#REDIRECT [[]] [[Category:Redirect Pages]]<code></code><includeonly></includeonly><noinclude></noinclude><nowiki></nowiki><!----><br>§
Notices{{Stub|}}{{Stub Dialogue}}{{Upcoming}}{{Under Construction}}{{Placeholder|}}
Magic Words{{!}}{{formatnum:}}{{lc:}}{{uc:}}{{PAGENAME}}{{FULLPAGENAME}}{{ROOTPAGENAME}}{{BASEPAGENAME}}{{SUBPAGENAME}}{{DISPLAYTITLE:|noreplace}}__TOC____NOTOC____EXPECTUNUSEDCATEGORY____HIDDENCAT__
HTML Entities&mdash;&nbsp;&comma;&shy;