Template:Grid/Infuser: Difference between revisions

From I-Pixelmon
Jump to navigation Jump to search
No edit summary
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="float:left;">
<includeonly><div style="float:left;"><div style="position:relative; width:356px; height:158px;">[[File:InfuserGUI.png|356px|link=|alt=]]
<div style="position:relative; width:356px; height:158px;">[[File:InfuserGUI.png|356px|link=|alt=]]
   <!-- ── Top ingredient ── -->
   <!-- ── Top ingredient ── -->
   {{#if:{{{Top|}}}|<div style="position:absolute; left:162px; top:42px;">[[File:{{#if:{{{Top-image|}}}|{{{Top-image}}}|Grid_{{{Top}}}.png}}|32px|class=pixelated|link={{{Top-link|{{{Top}}}}}}|alt={{{Top}}}]]</div>}}
   {{#if:{{{Top|}}}|<div style="position:absolute; left:162px; top:42px;">[[File:{{#if:{{{Top-image|}}}|{{{Top-image}}}|Grid_{{{Top}}}.png}}|32px|class=pixelated|link={{{Top-link|{{{Top}}}}}}|alt={{{Top}}}]]{{#if:{{{Top-qty|}}}|<span style="position:absolute; right:0; bottom:0; font-size:11px; font-weight:bold; color:white; text-shadow:0 0 2px black;">{{{Top-qty}}}×</span>}}</div>}}
   <!-- ── Bottom ingredient ── -->
   <!-- ── Bottom ingredient ── -->
   {{#if:{{{Bottom|}}}|<div style="position:absolute; left:161px; top:80px;">[[File:{{#if:{{{Bottom-image|}}}|{{{Bottom-image}}}|Grid_{{{Bottom}}}.png}}|32px|class=pixelatedlink={{{Bottom-link|{{{Bottom}}}}}}|alt={{{Bottom}}}]]</div>}}
   {{#if:{{{Bottom|}}}|<div style="position:absolute; left:161px; top:80px;">[[File:{{#if:{{{Bottom-image|}}}|{{{Bottom-image}}}|Grid_{{{Bottom}}}.png}}|32px|class=pixelated|link={{{Bottom-link|{{{Bottom}}}}}}|alt={{{Bottom}}}]]{{#if:{{{Bottom-qty|}}}|<span style="position:absolute; right:0; bottom:0; font-size:11px; font-weight:bold; color:white; text-shadow:0 0 2px black;">{{{Bottom-qty}}}×</span>}}</div>}}
   <!-- ── Left fuel slot ── -->
   <!-- ── Left fuel slot ── -->
   {{#if:{{{Left|}}}|
   {{#if:{{{Left|}}}|<div style="position:absolute; left:54px; top:56px;">[[File:{{#if:{{{Left-image|}}}|{{{Left-image}}}|Grid_{{{Left}}}.png}}|32px|class=pixelated|link={{{Left-link|{{{Left}}}}}}|alt={{{Left}}}]]{{#if:{{{Left-qty|}}}|<span style="position:absolute; right:0; bottom:0; font-size:11px; font-weight:bold; color:white; text-shadow:0 0 2px black;">{{{Left-qty}}}×</span>}}</div>|<div style="position:absolute; left:54px; top:56px;">[[File:Minecraft-coal.png|32px|class=pixelated|link=https://minecraft.wiki/w/Smelting#Fuel|alt=Coal]]</div>}}
<!-- custom fuel provided -->
  <div style="position:absolute; left:54px; top:56px;">[[File:{{#if:{{{Left-image|}}}|{{{Left-image}}}|Grid_{{{Left}}}.png}}|32px|class=pixelated|link={{{Left-link|{{{Left}}}}}}|alt={{{Left}}}]]</div>|
  <!-- default fuel = Coal -->
  <div style="position:absolute; left:54px; top:56px;">[[File:Minecraft-coal.png|32px|class=pixelated|link=https://minecraft.wiki/w/Smelting#Fuel|alt=Coal]]</div>}}
 
   <!-- ── Output ── -->
   <!-- ── Output ── -->
   {{#if:{{{Output|}}}|<div style="position:absolute; left:268px; top:58px;">[[File:{{#if:{{{Output-image|}}}|{{{Output-image}}}|Grid_{{{Output}}}.png}}|32px|class=pixelated|link={{{Output-link|{{{Output}}}}}}|alt={{{Output}}}]]</div>}}
   {{#if:{{{Output|}}}|<div style="position:absolute; left:268px; top:58px;">[[File:{{#if:{{{Output-image|}}}|{{{Output-image}}}|Grid_{{{Output}}}.png}}|32px|class=pixelated|link={{{Output-link|{{{Output}}}}}}|alt={{{Output}}}]]{{#if:{{{Output-qty|}}}|<span style="position:absolute; right:0; bottom:0; font-size:11px; font-weight:bold; color:white; text-shadow:0 0 2px black;">{{{Output-qty}}}×</span>}}</div>}}
 
   <!-- optional number overlay -->
   <!-- optional number overlay -->
   {{#if:{{{OA|}}}|<div style="position:absolute; left:201px; top:71px; width:64px; height:24px; overflow:hidden;">{{GridText|white|{{{OA|}}}}}</div>}}</div></div>{{#if:{{{nobreak|}}}||{{-}}}}
   {{#if:{{{OA|}}}|<div style="position:absolute; left:201px; top:71px; width:64px; height:24px; overflow:hidden;">{{GridText|white|{{{OA|}}}}}</div>}}</div></div>{{#if:{{{nobreak|}}}||<div style="clear:left;"></div>}}</includeonly><noinclude>
</includeonly>
<noinclude>
Example (default fuel):
Example (default fuel):


{{Grid/Infuser
{{Grid/Infuser
|Top=Durin Berry
|Top=Durin Berry
|Top-qty=3
|Bottom=Incense Burner
|Bottom=Incense Burner
|Output=Full Incense}}
|Output=Full Incense}}
Line 34: Line 26:
|Left-image=Minecraft-blazerod.png
|Left-image=Minecraft-blazerod.png
|Left-link=https://minecraft.wiki/w/Blaze_Rod
|Left-link=https://minecraft.wiki/w/Blaze_Rod
|Output=Full Incense}}
|Left-qty=4
|Output=Full Incense
|Output-qty=2}}
</noinclude>
</noinclude>

Latest revision as of 15:50, 13 June 2025

Example (default fuel):

Custom fuel override: