Jump to content

Editing Template:Clothing Infobox/doc

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
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 [[Clothing]] items.
Template that creates an infobox for [[Dress Up]] items.


==Syntax==
==Syntax==
<syntaxhighlight lang="wikitext" copy>
<syntaxhighlight lang="wikitext" copy>
{{Clothing Infobox
{{Dress Up Infobox
|name        =  
|name        =  
|number      =  
|number      =  
Line 13: Line 13:
|quality    =  
|quality    =  
|set        =  
|set        =  
|color      =
|tags        =  
|material    =
|style      =
|nmatch      =  
|description =  
|description =  
|source      =  
|source      =  
Line 22: Line 19:
}}
}}
</syntaxhighlight>
</syntaxhighlight>
* {{F|name}} &ndash; Name of the Clothing item.
* {{F|name}} &ndash; Name of the Dress Up item.
* {{F|number}} &ndash; Sorting number for the Clothing item.
* {{F|number}} &ndash; Sorting number for the Dress Up item.
* {{F|category}} &ndash; Category of the Clothing item.
* {{F|category}} &ndash; Category of the Dress Up item.
* {{F|type}} &ndash; Type of the Clothing item.
* {{F|type}} &ndash; Type of the Dress Up item.
* {{F|quality}} &ndash; Quality of the Clothing item.
* {{F|quality}} &ndash; Quality of the Dress Up item.
* {{F|set}} &ndash; Set the Clothing item is included in.
* {{F|set}} &ndash; Set the Dress Up item is included in.
* {{F|color}} &ndash; Color tag(s) of the Clothing item as a semicolon separated list.
* {{F|tags}} &ndash; Tags of the Dress Up item as a semicolon separated list.
* {{F|material}} &ndash; Material tag(s) of the Clothing item as a semicolon separated list.
* {{F|description}} &ndash; Description of the Dress Up item.
* {{F|style}} &ndash; Style tag(s) of the Clothing item as a semicolon separated list.
* {{F|source}} &ndash; Source(s) of the Dress Up item as a semicolon separated list.
* {{F|nmatch}} &ndash; Neighbor Match of the Clothing item as a semicolon separated list.
* {{F|sell}} &ndash; Selling price of the Dress Up item.
* {{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}}.
** Format: {{F|Image 1.ext:Tab 1 name; Image 2.ext:Tab 2 name; ... ; Image N.ext:Tab N name}}.
Line 43: Line 37:
==Example==
==Example==
{{Example|<nowiki>
{{Example|<nowiki>
{{Clothing Infobox
{{Dress Up Infobox
|name        = Wonky Cat Witch's Hat
|name        = Wonky Cat Witch's Hat
|number      = 60406
|number      = 60406
Line 50: Line 44:
|quality    = Purple
|quality    = Purple
|set        = Wonky Cat Witch
|set        = Wonky Cat Witch
|color      = Brown
|tags        = Brown; Fabric; Romantic
|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 64: Line 56:
"number": {
"number": {
"label": "Number",
"label": "Number",
"description": "Sorting number for the Clothing item.",
"description": "Sorting number for the Dress Up item.",
"example": "60406",
"example": "60406",
"type": "number",
"type": "number",
Line 71: Line 63:
"quality": {
"quality": {
"label": "Quality",
"label": "Quality",
"description": "Quality of the Clothing item.",
"description": "Quality of the Dress Up item.",
"example": "Gray, Purple, Gold",
"example": "Gray, Purple, Gold",
"type": "string",
"type": "string",
Line 78: Line 70:
"name": {
"name": {
"label": "Name",
"label": "Name",
"description": "Name of the Clothing item.",
"description": "Name of the Dress Up item.",
"example": "Wonky Cat Witch's Hat",
"example": "Wonky Cat Witch's Hat",
"type": "string",
"type": "string",
Line 98: Line 90:
"category": {
"category": {
"label": "Category",
"label": "Category",
"description": "Category of the Clothing item.",
"description": "Category of the Dress Up item.",
"example": "Outfit",
"example": "Outfit",
"type": "string",
"type": "string",
Line 105: Line 97:
"type": {
"type": {
"label": "Type",
"label": "Type",
"description": "Type of the Clothing item.",
"description": "Type of the Dress Up item.",
"example": "Headwear",
"example": "Headwear",
"type": "string",
"type": "string",
Line 112: Line 104:
"description": {
"description": {
"label": "Description",
"label": "Description",
"description": "Description of the Clothing item.",
"description": "Description of the Dress Up item.",
"type": "content",
"type": "content",
"suggested": true
"suggested": true
Line 118: Line 110:
"set_link": {
"set_link": {
"label": "Set link",
"label": "Set link",
"description": "Appoint another page to be linked for the Clothing set.",
"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 Clothing item is included in.",
"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
},
},
"color": {
"tags": {
"label": "Color",
"label": "Tags",
"description": "Color tag(s) of the Clothing item as a semicolon separated list.",
"description": "Tags of the Dress Up item as a semicolon separated list.",
"example": "Brown; White; Pink",
"example": "Brown; Fabric; Romantic",
"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 158: Line 129:
"sell": {
"sell": {
"label": "Selling price",
"label": "Selling price",
"description": "Selling price of the Clothing item.",
"description": "Selling price of the Dress Up item.",
"example": "15",
"example": "15",
"type": "number"
"type": "number"
Line 164: Line 135:
"source": {
"source": {
"label": "Source",
"label": "Source",
"description": "Source(s) of the Clothing item as a semicolon separated list.",
"description": "Source(s) of the Dress Up 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 170: Line 141:
}
}
},
},
"description": "Template that creates an infobox for Clothings.",
"description": "Template that creates an infobox for Dress Ups.",
"paramOrder": [
"paramOrder": [
"name",
"name",
Line 179: Line 150:
"set",
"set",
"set_link",
"set_link",
"color",
"tags",
"material",
"style",
"nmatch",
"description",
"description",
"source",
"source",
Line 189: Line 157:
"images"
"images"
],
],
"format": "{{_\n|___________ = _\n}}\n"
"format": "{{_\n|_______________ = _\n}}\n"
}
}
</templatedata>
</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;