m (→Quick Copy) |
(Added examples and template parameters) |
||
Line 2:
{{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==
Line 13 ⟶ 109:
|gender =
|designer =
|price =
|card =
|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>
|
Revision as of 02:30, 31 October 2021
This is a documentation subpage for Template:Infobox costume. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Parameters
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Costume ID | costume id | The ID of the costume. Use the "bundle name" found in assets.
| String | required |
Costume Name | costume name | The name of the costume in English. This could be a name translated from Japanese.
| String | required |
Japanese | japanese | The name of the costume in Japanese.
| String | suggested |
Romaji | romaji | The romanization of the Japanese name.
| String | suggested |
Thumbnail | thumbnail | The thumbnail of the costume.
| File | required |
Gender | gender | The gender the costume is for. Use "Ladies" or "Men".
| String | required |
Designer | designer | The designer of the costume. Usually used for costumes of special occasion or costumes from the monthly premium passes.
| String | optional |
Price | price | The price of the costume. If the costume needs to be purchased (whether on its own or through a bundle), put the price here.
| String | optional |
Associated Card | card | The card that unlocks this costume.
| Page name | optional |
Accessory | accessory | Whether or not this card comes with an accessory.
| Boolean | required |
Unique Accessory | unique accessory | Whether or not this costume comes with an accessory for a specific character.
| Boolean | required |
Quick Copy
{{Infobox Costume |costume id = |costume name = |japanese = |romaji = |thumbnail = |gender = |designer = |price = |card = |accessory = |unique accessory = }}
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 }}
{{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 }}