Template:ItemTooltip: Difference between revisions
From Lilith's Throne
				
				
				Jump to navigationJump to search
				
				
 Remove Forced Height on Author Section  | 
				 Make Margins Uniform  | 
				||
| Line 1: | Line 1: | ||
<includeonly><!--  | <includeonly><!--  | ||
--><div style='float:left; border-radius:5px; width: 400px; background: #1e1e20; font-family: Calibri, Carlito, sans-serif; font-size:15px; color: #eeeeee; border:0; overflow:hidden; padding:0; margin:0'>  | --><div style='float:left; border-radius:5px; width: 400px; background: #1e1e20; font-family: Calibri, Carlito, sans-serif; font-size:15px; color: #eeeeee; border:0; overflow:hidden; padding:0; margin:0'>  | ||
<div style='border: 0; position:relative; float:left; background:#19191a; border-radius:5px; padding:4px; margin:  | <div style='border: 0; position:relative; float:left; background:#19191a; border-radius:5px; padding:4px; margin:8px 8px 4px 8px; width: calc(100% - 16px); box-sizing: border-box; text-align:center;'>  | ||
<h5 style='font-size:1.4em; font-weight: bold; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px'>{{{name}}}</h5>  | <h5 style='font-size:1.4em; font-weight: bold; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px'>{{{name}}}</h5>  | ||
</div>  | </div>  | ||
| Line 21: | Line 21: | ||
{{{description}}}  | {{{description}}}  | ||
</div>  | </div>  | ||
<div style='border: 0; position:relative; float:left; background:#19191a; border-radius:5px; padding:4px; margin:4px 8px   | <div style='border: 0; position:relative; float:left; background:#19191a; border-radius:5px; padding:4px; margin:4px 8px 8px 8px; width: calc(100% - 16px); box-sizing: border-box; font-size:16px; font-weight: bold; text-align:center; line-height:18px'>  | ||
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; margin:8px 8px   | {{#if:{{{author|}}}|<div style='float:left; border: 0; border-radius:5px; margin:0 8px 8px 8px; padding:8px; background-color:#19191a; box-sizing: border-box; width: calc(100% - 16px);'>{{{author}}}</div>}}  | ||
</div><!--  | </div><!--  | ||
--></includeonly>  | --></includeonly>  | ||
Revision as of 22:54, 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 |