From Dark and Darker Wiki
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<templatedata>{ | |||
"description": "Displays an image centered upon a box colored by rarity.", | "description": "Displays an image centered upon a box colored by rarity.", | ||
"params": { | "params": { | ||
Line 73: | Line 73: | ||
"maxwidth" | "maxwidth" | ||
] | ] | ||
}</templatedata | }</templatedata> |
Latest revision as of 20:33, 18 March 2024
Displays an image centered upon a box colored by rarity.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name 1 | Name of the character/item/weapon | String | required |
Rarity | rarity | Options: -1, 1, 2, 3, 4, 5, 6, 7 | Number | suggested |
Size | size | Size with px to set width, eg."30px" Size with xpx to set height, eg."x30px" | String | suggested |
Amount | amount | Shows a number on the bottom right corner | Number | suggested |
Image Override | image | If not set, uses the image that matches the name | String | suggested |
Caption Override | caption | If not set, uses the specified name. Always links to the name. Use "no" to hide the caption | String | suggested |
Top Text | top | Shown above the caption | String | suggested |
Prevent Line Breaks? | nobr | If enabled, removes the line break, putting the icon and text on a single line. Use 1 to enable | Boolean | suggested |
Max Width | maxwidth | If set, constrains the box to the specified width. If not set, uses max-width:initial.
| String | suggested |