Template:Card/doc: Difference between revisions
mNo edit summary |
Updated |
||
| Line 15: | Line 15: | ||
* {{F|caption}} – Caption for the card. | * {{F|caption}} – Caption for the card. | ||
* {{F|show_caption}} – Set to {{F|1}} to show the caption. | * {{F|show_caption}} – Set to {{F|1}} to show the caption. | ||
* {{F|caption_width}} – Width of the caption. | * {{F|caption_width}} – Width of the caption {{Color|New|including}} the length unit. Default: {{F|76px}} (full), {{F|56px}} (mini). | ||
* {{F|image}} – Set another image for the card. | * {{F|image}} – Set another image for the card. | ||
* {{F|size}} – Size of the image. | * {{F|size}} – Size of the image {{Color|Old|excluding}} the length unit. Default: {{F|70}} (full), {{F|48}} (mini). | ||
* {{F|ext}} – Extension of the image. Default: {{F|png}}. | * {{F|ext}} – Extension of the image. Default: {{F|png}}. | ||
* {{F|quality}} / {{F|rarity}} – Quality of the item. Default: see [[Module:CentralData]]. | * {{F|quality}} / {{F|rarity}} – Quality of the item. Default: see [[Module:CentralData]]. | ||
| Line 101: | Line 101: | ||
"caption_width": { | "caption_width": { | ||
"label": "Caption width", | "label": "Caption width", | ||
"description": "Width of the caption.", | "description": "Width of the caption including the unit length.", | ||
"example": " | "example": "100px, 3em", | ||
"type": "string" | "type": "string", | ||
"default": "74px (full), 56px (mini)" | |||
}, | }, | ||
"quality": { | "quality": { | ||
| Line 159: | Line 160: | ||
], | ], | ||
"label": "Size", | "label": "Size", | ||
"description": "Size of the image.", | "description": "Size of the image excluding the unit length.", | ||
"default": " | "default": "70 (full), 48 (mini)", | ||
"type": "number", | |||
"example": "64, 128" | |||
}, | }, | ||
"ext": { | "ext": { | ||