Template:Card/doc
Jump to navigation
Jump to search
Returns a card based on the input.
Syntax
{{Card|filename|size = image size|link = mage link|q = item quality|note = appended note|x = item amount|ext = file extension}}
Examples
{{Card|Carrot|30|Crops}}
yields:{{Card|Carrot|30|Crops|mini = 1}}
yields:{{Card|Carrot|link = Carrot|show_caption = 1}}
yields:{{Card|Carrot|q = 1}}
yields:{{Card|Carrot|text = blue carrot|q = 4|note = this is not a potato|x = 5}}
yields:
Template Data
Template to automate and standardize formatting of icons.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Card | 1 name | Item or character name | String | required |
Quality | q | Item's quality, accepted values are "1" or "bronze", "2" or "silver", "3" or "gold", and "4" or "osmium" | String | suggested |
Amount | 2 x amount | Amount of items
| Number | suggested |
Link | link | Link of a page | String | optional |
Note | note | Text appended inside parenthesis | String | suggested |
Extension | ext | File extension if not "png"
| String | optional |
Caption text | text 3 | Card caption's custom text
| String | suggested |
Card caption | show_caption | Show default card caption | Boolean | optional |
Mini card | mini | Mini version of card
| Boolean | optional |