Template:Infobox costume/doc: Difference between revisions

Template page
Content added Content deleted
(Added examples and template parameters)
Line 2: Line 2:


{{Lua|Module:Infobox Costume}}
{{Lua|Module:Infobox Costume}}

==Parameters==
<templatedata>
{
"params": {
"costume id": {
"label": "Costume ID",
"type": "string",
"required": true,
"description": "The ID of the costume. Use the \"bundle name\" found in assets.",
"example": "cos0030"
},
"costume name": {
"label": "Costume Name",
"description": "The name of the costume in English. This could be a name translated from Japanese.",
"type": "string",
"required": true,
"example": "Hopping Frills"
},
"japanese": {
"label": "Japanese",
"description": "The name of the costume in Japanese.",
"type": "string",
"suggested": true,
"example": "ホッピングフリル"
},
"romaji": {
"label": "Romaji",
"description": "The romanization of the Japanese name.",
"type": "string",
"suggested": true,
"example": "Hoppingufuriru"
},
"thumbnail": {
"label": "Thumbnail",
"description": "The thumbnail of the costume.",
"type": "wiki-file-name",
"required": true,
"example": "Cos0030 body.png"
},
"gender": {
"label": "Gender",
"description": "The gender the costume is for. Use \"Ladies\" or \"Men\".",
"example": "Ladies",
"type": "string",
"required": true
},
"designer": {
"label": "Designer",
"description": "The designer of the costume. Usually used for costumes of special occasion or costumes from the monthly premium passes.",
"type": "string",
"example": "iXima"
},
"card": {
"label": "Associated Card",
"description": "The card that unlocks this costume.",
"type": "wiki-page-name",
"example": "The Grand Opening"
},
"accessory": {
"label": "Accessory",
"description": "Whether or not this card comes with an accessory.",
"example": "yes",
"type": "boolean",
"required": true
},
"unique accessory": {
"label": "Unique Accessory",
"description": "Whether or not this costume comes with an accessory for a specific character.",
"example": "yes",
"type": "boolean",
"required": true
},
"price": {
"label": "Price",
"description": "The price of the costume. If the costume needs to be purchased (whether on its own or through a bundle), put the price here.",
"type": "string",
"example": "¥1,960"
}
},
"format": "block",
"paramOrder": [
"costume id",
"costume name",
"japanese",
"romaji",
"thumbnail",
"gender",
"designer",
"price",
"card",
"accessory",
"unique accessory"
]
}
</templatedata>


==Quick Copy==
==Quick Copy==
Line 13: Line 109:
|gender =
|gender =
|designer =
|designer =
|price =
|card =
|card =
|accessory =
|accessory =
|unique accessory =
|unique accessory =
}}
</pre>

==Examples==
{{Infobox Costume
|costume id = cos0030
|costume name = Hopping Frills
|japanese = ホッピングフリル
|romaji = Hoppingufuriru
|thumbnail = Cos0030 body.png
|gender = Ladies
|card = The Grand Opening
|accessory = yes
|unique accessory = yes
}}
<pre>
{{Infobox Costume
|costume id = cos0030
|costume name = Hopping Frills
|japanese = ホッピングフリル
|romaji = Hoppingufuriru
|thumbnail = Cos0030 body.png
|gender = Ladies
|card = The Grand Opening
|accessory = yes
|unique accessory = yes
}}
</pre>

{{clear}}

{{Infobox Costume
|costume id = cos0159
|costume name = Pumpkin Sorcerer
|japanese = パンプキンソーサラー
|romaji =
|thumbnail = Cos0159 body.png
|gender = Men
|price = 1,500 paid crystals
|accessory = yes
|unique accessory = no
}}
<pre>
{{Infobox Costume
|costume id = cos0159
|costume name = Pumpkin Sorcerer
|japanese = パンプキンソーサラー
|romaji =
|thumbnail = Cos0159 body.png
|gender = Men
|price = 1,500 paid crystals
|accessory = yes
|unique accessory = no
}}
}}
</pre>
</pre>

Revision as of 02:30, 31 October 2021

Parameters

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Costume IDcostume id

The ID of the costume. Use the "bundle name" found in assets.

Example
cos0030
Stringrequired
Costume Namecostume name

The name of the costume in English. This could be a name translated from Japanese.

Example
Hopping Frills
Stringrequired
Japanesejapanese

The name of the costume in Japanese.

Example
ホッピングフリル
Stringsuggested
Romajiromaji

The romanization of the Japanese name.

Example
Hoppingufuriru
Stringsuggested
Thumbnailthumbnail

The thumbnail of the costume.

Example
Cos0030 body.png
Filerequired
Gendergender

The gender the costume is for. Use "Ladies" or "Men".

Example
Ladies
Stringrequired
Designerdesigner

The designer of the costume. Usually used for costumes of special occasion or costumes from the monthly premium passes.

Example
iXima
Stringoptional
Priceprice

The price of the costume. If the costume needs to be purchased (whether on its own or through a bundle), put the price here.

Example
¥1,960
Stringoptional
Associated Cardcard

The card that unlocks this costume.

Example
The Grand Opening
Page nameoptional
Accessoryaccessory

Whether or not this card comes with an accessory.

Example
yes
Booleanrequired
Unique Accessoryunique accessory

Whether or not this costume comes with an accessory for a specific character.

Example
yes
Booleanrequired

Quick Copy

{{Infobox Costume
|costume id   = 
|costume name = 
|japanese     = 
|romaji       = 
|thumbnail = 
|gender    = 
|designer  = 
|price     =
|card      = 
|accessory        = 
|unique accessory = 
}}

Examples

Template:Infobox Costume

{{Infobox Costume
|costume id   = cos0030
|costume name = Hopping Frills
|japanese = ホッピングフリル
|romaji   = Hoppingufuriru
|thumbnail = Cos0030 body.png
|gender    = Ladies
|card      = The Grand Opening
|accessory        = yes
|unique accessory = yes
}}

Template:Infobox Costume

{{Infobox Costume
|costume id   = cos0159
|costume name = Pumpkin Sorcerer
|japanese     = パンプキンソーサラー
|romaji       = 
|thumbnail = Cos0159 body.png
|gender    = Men
|price     = 1,500 paid crystals
|accessory        = yes
|unique accessory = no
}}


Cookies help us deliver our services. By using our services, you agree to our use of cookies.