Template:1x1GUI: Difference between revisions
No edit summary Tag: Reverted |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>[[Category:Templates]]</noinclude> | <noinclude>[[Category:Templates]]</noinclude> | ||
<noinclude>[[Category:Lootboxes]]</noinclude> | <noinclude>[[Category:Lootboxes]]</noinclude> | ||
<includeonly> | <noinclude> | ||
< | Generates a 1x1 Item GUI display (non-table row). | ||
< | |||
Parameters: | |||
< | * icon – full File: syntax for the small foreground icon | ||
* tooltip – full File: syntax for the large tooltip preview | |||
</ | * name – the display name | ||
</includeonly> | </noinclude> | ||
<includeonly><span style="display:inline-block;padding:2px;white-space:nowrap;"><span style="display:inline-block;vertical-align:middle;position:relative;width:84px;height:84px;margin:0;"><!-- background GUI --> | |||
[[File:1x1GUI.png|64px|64px|link=]]<span class="foreground-icon" style="position:absolute;top:40%;left:44%;transform:translate(-50%,-50%);width:48px;height:48px;">{{{icon}}}<span class="tooltip-text">{{{tooltip}}}</span></span></span><span style="display:inline-block;vertical-align:middle;margin-left:3px;"><b>{{{name}}}</b></span></span></includeonly> |
Latest revision as of 23:22, 31 May 2025
Generates a 1x1 Item GUI display (non-table row).
Parameters:
- icon – full File: syntax for the small foreground icon
- tooltip – full File: syntax for the large tooltip preview
- name – the display name