Template:ItemTooltip: Difference between revisions
From Lilith's Throne
Jump to navigationJump to search
Set Image Size & Align Image to Right |
Add Colour to Currency Symbol |
||
Line 22: | Line 22: | ||
</div> | </div> | ||
<div style='border: 0; position:relative; float:left; background:#19191a; border-radius:5px; padding:4px; margin:4px 8px 4px 8px; width: calc(100% - 16px); box-sizing: border-box; font-size:16px; font-weight: bold; text-align:center; line-height:18px'> | <div style='border: 0; position:relative; float:left; background:#19191a; border-radius:5px; padding:4px; margin:4px 8px 4px 8px; width: calc(100% - 16px); box-sizing: border-box; font-size:16px; font-weight: bold; text-align:center; line-height:18px'> | ||
Value: ¤{{{value}}} | Value: <span style='color:#FFCC00'>¤</span>{{{value}}} | ||
</div> | </div> | ||
{{#if{{{author|}}}|<div style='float:left; border: 0; border-radius:5px; height:52px; margin:8px 8px 0 8px; padding:8px; min-height:106px; background-color:#19191a; box-sizing: border-box; width: calc(100% - 16px);'>{{{author}}}</div>}}} | {{#if{{{author|}}}|<div style='float:left; border: 0; border-radius:5px; height:52px; margin:8px 8px 0 8px; padding:8px; min-height:106px; background-color:#19191a; box-sizing: border-box; width: calc(100% - 16px);'>{{{author}}}</div>}}} |
Revision as of 22:04, 1 February 2024
A replica of in-game tooltip for items.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image Name | imageName | no description | String | required |
Image Height | imageHeight | no description | Number | optional |
Value | value | no description | Number | required |
Name | name | no description | String | required |
Description | description | no description | String | required |
Consumed On Use? | consumedOnUse | no description | Boolean | required |
Rarity | rarity | no description
| String | required |
Effect Tooltip Lines | effectTooltipLines | no description | String | required |
Author | author | no description | String | optional |