No edit summary
No edit summary
 
Line 9: Line 9:
* name    – the display name  
* name    – the display name  
</noinclude>
</noinclude>
<includeonly><span style="display:inline-block;padding:8px;white-space:nowrap;"><span style="display:inline-block;vertical-align:middle;position:relative;width:84px;height:84px;margin:0;">[[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:5px;"><b>{{{name}}}</b></span></span></includeonly>
<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