Template:Bee Hive Crafting GUI: Difference between revisions
Created page with "<!-- Template:CraftingGUIHover --> <!-- Parameters - bg : full File:... syntax for the crafting window background image - width : width in px to render the background (default 512) - tip1..tip9 : tooltip content for the 3×3 crafting grid (row-major: top-left to bottom-right) - tipout : tooltip content for the output slot Optional alignment (px; adjust if your background differs): - grid_x, grid_y : top-left corner of the 3×3 grid relative to..." |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
< | <table style="position:relative;width:auto;border-collapse:separate;border-spacing:4px;padding:0;margin:0 auto;border:none;"> | ||
<tr> | |||
< | <td style="width:0;height:0;padding:0;margin:0;border:none;">[[File:{{{bg|CraftingGUI-Example.png}}}|{{{width|512}}}px|link=]]</td> | ||
<td style="position:absolute;top:{{{grid_y|44}}}px;left:{{{grid_x|96}}}px;padding:0;margin:0;border:none;"> | |||
<table style="border:none;border-collapse:separate;border-spacing:{{{gap_h|6}}}px;width:auto;margin:0 auto;padding:0;"> | |||
<tr> | |||
<td style="text-align:center;width:{{{slot|48}}}px;height:{{{slot|48}}}px;border:none;padding:0;"><div class="tooltip-wrapper" style="width:{{{slot|48}}}px;height:{{{slot|48}}}px;"><div class="foreground-icon" style="top:0;left:0;width:{{{slot|48}}}px;height:{{{slot|48}}}px;">[[File:Transparent.png|{{{slot|48}}}px|link=]]<span class="tooltip-text">{{{tip1|}}}</span></div></div></td> | |||
<td style="text-align:center;width:{{{slot|48}}}px;height:{{{slot|48}}}px;border:none;padding:0;"><div class="tooltip-wrapper" style="width:{{{slot|48}}}px;height:{{{slot|48}}}px;"><div class="foreground-icon" style="top:0;left:0;width:{{{slot|48}}}px;height:{{{slot|48}}}px;">[[File:Transparent.png|{{{slot|48}}}px|link=]]<span class="tooltip-text">{{{tip2|}}}</span></div></div></td> | |||
< | <td style="text-align:center;width:{{{slot|48}}}px;height:{{{slot|48}}}px;border:none;padding:0;"><div class="tooltip-wrapper" style="width:{{{slot|48}}}px;height:{{{slot|48}}}px;"><div class="foreground-icon" style="top:0;left:0;width:{{{slot|48}}}px;height:{{{slot|48}}}px;">[[File:Transparent.png|{{{slot|48}}}px|link=]]<span class="tooltip-text">{{{tip3|}}}</span></div></div></td> | ||
</tr> | |||
<tr> | |||
<td style="text-align:center;width:{{{slot|48}}}px;height:{{{slot|48}}}px;border:none;padding:0;"><div class="tooltip-wrapper" style="width:{{{slot|48}}}px;height:{{{slot|48}}}px;"><div class="foreground-icon" style="top:0;left:0;width:{{{slot|48}}}px;height:{{{slot|48}}}px;">[[File:Transparent.png|{{{slot|48}}}px|link=]]<span class="tooltip-text">{{{tip4|}}}</span></div></div></td> | |||
< | <td style="text-align:center;width:{{{slot|48}}}px;height:{{{slot|48}}}px;border:none;padding:0;"><div class="tooltip-wrapper" style="width:{{{slot|48}}}px;height:{{{slot|48}}}px;"><div class="foreground-icon" style="top:0;left:0;width:{{{slot|48}}}px;height:{{{slot|48}}}px;">[[File:Transparent.png|{{{slot|48}}}px|link=]]<span class="tooltip-text">{{{tip5|}}}</span></div></div></td> | ||
<td style="text-align:center;width:{{{slot|48}}}px;height:{{{slot|48}}}px;border:none;padding:0;"><div class="tooltip-wrapper" style="width:{{{slot|48}}}px;height:{{{slot|48}}}px;"><div class="foreground-icon" style="top:0;left:0;width:{{{slot|48}}}px;height:{{{slot|48}}}px;">[[File:Transparent.png|{{{slot|48}}}px|link=]]<span class="tooltip-text">{{{tip6|}}}</span></div></div></td> | |||
</tr> | |||
<tr> | |||
<td style="text-align:center;width:{{{slot|48}}}px;height:{{{slot|48}}}px;border:none;padding:0;"><div class="tooltip-wrapper" style="width:{{{slot|48}}}px;height:{{{slot|48}}}px;"><div class="foreground-icon" style="top:0;left:0;width:{{{slot|48}}}px;height:{{{slot|48}}}px;">[[File:Transparent.png|{{{slot|48}}}px|link=]]<span class="tooltip-text">{{{tip7|}}}</span></div></div></td> | |||
< | <td style="text-align:center;width:{{{slot|48}}}px;height:{{{slot|48}}}px;border:none;padding:0;"><div class="tooltip-wrapper" style="width:{{{slot|48}}}px;height:{{{slot|48}}}px;"><div class="foreground-icon" style="top:0;left:0;width:{{{slot|48}}}px;height:{{{slot|48}}}px;">[[File:Transparent.png|{{{slot|48}}}px|link=]]<span class="tooltip-text">{{{tip8|}}}</span></div></div></td> | ||
<td style="text-align:center;width:{{{slot|48}}}px;height:{{{slot|48}}}px;border:none;padding:0;"><div class="tooltip-wrapper" style="width:{{{slot|48}}}px;height:{{{slot|48}}}px;"><div class="foreground-icon" style="top:0;left:0;width:{{{slot|48}}}px;height:{{{slot|48}}}px;">[[File:Transparent.png|{{{slot|48}}}px|link=]]<span class="tooltip-text">{{{tip9|}}}</span></div></div></td> | |||
</tr> | |||
</table> | |||
</td> | |||
< | <td style="position:absolute;top:{{{out_y|94}}}px;left:{{{out_x|380}}}px;padding:0;margin:0;border:none;"> | ||
<div class="tooltip-wrapper" style="width:{{{slot|48}}}px;height:{{{slot|48}}}px;"><div class="foreground-icon" style="top:0;left:0;width:{{{slot|48}}}px;height:{{{slot|48}}}px;">[[File:Transparent.png|{{{slot|48}}}px|link=]]<span class="tooltip-text">{{{tipout|}}}</span></div></div> | |||
</td> | |||
</tr> | |||
</table> | |||
</ | |||
</includeonly> | </includeonly> |