Template:ItemTooltip: Difference between revisions
From Lilith's Throne
				
				
				Jump to navigationJump to search
				
				
 Set Image Height to 100px  | 
				 Add Missing Colon to Author #if Statement  | 
				||
| Line 7: | Line 7: | ||
{{#ifeq:{{{consumedOnUse}}}|true|<span style='color:#EA5D76'>Consumed on use</span>|<span style='color:#57DB7E'>Infinite uses</span>}}  | {{#ifeq:{{{consumedOnUse}}}|true|<span style='color:#EA5D76'>Consumed on use</span>|<span style='color:#57DB7E'>Infinite uses</span>}}  | ||
</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' >  | <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'>  | ||
<div style='border: 0; position:relative; float:left; background:#19191a; border-radius:5px; padding:4px; margin:4px 8px 4px 8px; box-sizing: border-box; width:calc(66.6% - 16px); 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; box-sizing: border-box; width:calc(66.6% - 16px); font-size:16px; font-weight: bold; text-align:center; line-height:18px'>  | ||
{{{rarity}}}<br>  | {{{rarity}}}<br>  | ||
| Line 24: | Line 24: | ||
Value: <span style='color:#FFCC00'>¤</span>{{{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>}}}  | ||
</div><!--  | </div><!--  | ||
--></includeonly>  | --></includeonly>  | ||
Revision as of 22:22, 1 February 2024
A replica of in-game tooltip for items.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Image Name | imageName | no description  | String | required | 
| 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 |