Template:SpecialLootboxes: Difference between revisions
Created page with "<noinclude> Generates a special lootbox display (non-table row). Parameters: * icon – the file name of the foreground icon (e.g. Eyeender.png) * tooltip – the file name for the large hover image (e.g. GridIron Glory.png) * name – the display name (e.g. Gridiron Glory) </noinclude> <includeonly> <div style="text-align:left; padding:8px;"> <div style="display:inline-block; vertical-align:middle;"> <div class="tooltip-wrapper" style="width:84px;height:84px;position:r..." |
No edit summary |
||
Line 3: | Line 3: | ||
Parameters: | Parameters: | ||
* icon – the | * icon – full File: syntax for the small foreground icon (e.g. [[File:Eyeender.png|48px|link=]]) | ||
* tooltip – | * tooltip – full File: syntax for the large tooltip preview (e.g. [[File:GridIron Glory.png|300px|link=]]) | ||
* name – the display name (e.g. Gridiron Glory) | * name – the display name (e.g. Gridiron Glory) | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
<div style="text-align:left; padding:8px;"> | <div style="text-align:left; padding:8px;"> | ||
<div style="display:inline-block; vertical-align:middle;"> | <div style="display:inline-block; vertical-align:middle;"> | ||
<div class="tooltip-wrapper" style="width:84px;height:84px;position:relative;margin:0;border:none;">[[File:1x1GUI.png|64px|64px|link=]]<div class="foreground-icon" style="position:absolute;top:30%;left:45%;transform:translate(-50%,-50%);width:48px;height:48px;"> | <div class="tooltip-wrapper" style="width:84px;height:84px;position:relative;margin:0;border:none;">[[File:1x1GUI.png|64px|64px|link=]]<div class="foreground-icon" style="position:absolute;top:30%;left:45%;transform:translate(-50%,-50%);width:48px;height:48px;">{{{icon}}}<span class="tooltip-text">{{{tooltip}}}</span></div></div> | ||
</div> | </div> | ||
<div style="display:inline-block; vertical-align:middle; margin-left:5px;"><b>{{{name}}}</b></div> | <div style="display:inline-block; vertical-align:middle; margin-left:5px;"><b>{{{name}}}</b></div> | ||
</div> | </div> | ||
</includeonly> | </includeonly> |
Revision as of 17:09, 18 May 2025
Generates a special lootbox display (non-table row).
Parameters:
- icon – full File: syntax for the small foreground icon (e.g.
)
- tooltip – full File: syntax for the large tooltip preview (e.g.
)
- name – the display name (e.g. Gridiron Glory)