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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Image NameimageName

no description

Stringrequired
Image HeightimageHeight

no description

Numberoptional
Valuevalue

no description

Numberrequired
Namename

no description

Stringrequired
Descriptiondescription

no description

Stringrequired
Consumed On Use?consumedOnUse

no description

Booleanrequired
Rarityrarity

no description

Suggested values
{{UNKNOWN}} {{JINXED}} {{COMMON}} {{UNCOMMON}} {{RARE}} {{EPIC}} {{LEGENDARY}} {{QUEST}}
Stringrequired
Effect Tooltip LineseffectTooltipLines

no description

Stringrequired
Authorauthor

no description

Stringoptional