This site is a read-only mirror archive of http://tptiap.co.uk, updated daily. To edit content, please visit the original site!

Template:ItemTooltip: Difference between revisions

From Lilith's Throne Wiki
Jump to navigationJump to search
imported>NoHornyOnMain
Add Line Break After Rarity
imported>NoHornyOnMain
Set Image Size & Align Image to Right
Line 14: Line 14:
<div style='padding: 0; border: 0; background:#19191a; position:relative; float:left; border-radius: 5px; width:calc(33.3% - 16px); margin:1%; -webkit-box-sizing: border-box'>
<div style='padding: 0; border: 0; background:#19191a; position:relative; float:left; border-radius: 5px; width:calc(33.3% - 16px); margin:1%; -webkit-box-sizing: border-box'>
<div style='float:left; padding: 0; border: 0; margin: 0; border-radius:5px; position: absolute; width: 100%; height: 100%;'>
<div style='float:left; padding: 0; border: 0; margin: 0; border-radius:5px; position: absolute; width: 100%; height: 100%;'>
[[File:{{{imageName}}}|{{{name}}}]]
[[File:{{{imageName}}}|x{{{imageHeight|64}}}px|right|{{{name}}}]]
</div>
</div>
</div>
</div>
Line 36: Line 36:
"type": "string",
"type": "string",
"required": true
"required": true
},
"imageHeight": {
"label": "Image Height",
"type": "number",
"required": false
},
},
"value": {
"value": {

Revision as of 21:59, 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