Template:Cosmetic: Difference between revisions
Template page
More actions
m Added some documentation (same for previous edit, accidentally saved) |
m Added more documentation |
||
Line 135: | Line 135: | ||
"mythic" | "mythic" | ||
], | ], | ||
"suggested": true | "suggested": true, | ||
"type": "string" | |||
}, | }, | ||
"rarity2": { | "rarity2": { | ||
Line 187: | Line 188: | ||
"trail" | "trail" | ||
], | ], | ||
"suggested": true | "suggested": true, | ||
"type": "string" | |||
}, | }, | ||
"obtaining": { | "obtaining": { | ||
"description": "A short description of how this cosmetic is obtained", | "description": "A short description of how this cosmetic is obtained", | ||
"suggested": true, | |||
"type": "string" | |||
}, | |||
"title": { | |||
"description": "Give the infobox a custom title (defaults to page name)", | |||
"type": "string" | |||
}, | |||
"chroma_applicable": { | |||
"description": "Is cosmetic chroma applicable", | |||
"type": "boolean", | |||
"suggested": true | |||
}, | |||
"trophies": { | |||
"description": "The amount of trophies received for having this cosmetic", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"bonus_trophies": { | |||
"description": "The amount of bonus trophies received for having this cosmetic", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"reputation": { | |||
"description": "The amount of reputation earned for scavenging this cosmetic", | |||
"type": "number", | |||
"suggested": true | |||
}, | |||
"scavenge_cosmetic": { | |||
"description": "Is item scavengeable", | |||
"type": "boolean", | |||
"suggested": true | |||
}, | |||
"scavenge_blueprint": { | |||
"description": "Is blueprint scavengeable", | |||
"type": "boolean", | |||
"suggested": true | "suggested": true | ||
} | } | ||
Line 196: | Line 233: | ||
"description": "Creates a cosmetic infobox", | "description": "Creates a cosmetic infobox", | ||
"paramOrder": [ | "paramOrder": [ | ||
"title", | |||
"image", | "image", | ||
"type", | "type", | ||
"rarity", | "rarity", | ||
"rarity2", | "rarity2", | ||
"chroma_applicable", | |||
"added", | |||
"collection", | "collection", | ||
"obtaining" | "obtaining", | ||
"trophies", | |||
"bonus_trophies", | |||
"reputation", | |||
"scavenge_cosmetic", | |||
"scavenge_blueprint" | |||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 05:47, 22 April 2024
Creates a cosmetic infobox
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title | Give the infobox a custom title (defaults to page name) | String | optional |
image | image | Image or GIF of the cosmetic | File | suggested |
type | type | The cosmetic type
| String | suggested |
rarity | rarity | The rarity of the cosmetic
| String | suggested |
rarity2 | rarity2 | The (special) rarity of the cosmetic
| String | suggested |
chroma_applicable | chroma_applicable | Is cosmetic chroma applicable | Boolean | suggested |
added | added | Patch (& date) the cosmetic was added | String | suggested |
collection | collection | The collection the cosmetic is part of.
| String | suggested |
obtaining | obtaining | A short description of how this cosmetic is obtained | String | suggested |
trophies | trophies | The amount of trophies received for having this cosmetic | String | suggested |
bonus_trophies | bonus_trophies | The amount of bonus trophies received for having this cosmetic | String | suggested |
reputation | reputation | The amount of reputation earned for scavenging this cosmetic | Number | suggested |
scavenge_cosmetic | scavenge_cosmetic | Is item scavengeable | Boolean | suggested |
scavenge_blueprint | scavenge_blueprint | Is blueprint scavengeable | Boolean | suggested |