Advertisement
Chocohead

IC2 Wiki Machine Crafting Template

Aug 18th, 2014
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.82 KB | None | 0 0
  1. <includeonly><div style="float:{{#if:{{{float|}}}|{{{float}}}|left}};"><div style="left:0px; top:0px; width:256px; height:132px; position:relative;">
  2. <div style="left:0px; top:0px; width:233px; height:132px;">[[Image:MachineGUI_Background.png|233px|link=|alt=]]</div>
  3. <div style="left:0px; top:0px; width:233px; height:132px; position:absolute;">[[Image:MachineGUI_{{{Type|Iron Furnace}}}.png|233px|link=|alt=]]</div>
  4.  
  5. {{#if:{{{Top|}}}|<div style="left:14px; top:9px; width:32px; height:32px; position:absolute;">
  6. [[Image:{{#if:{{{Top-image|}}}|{{{Top-image}}}|Grid_{{{Top}}}.png}}|32px|link={{#if:{{{Top-link|}}}|{{{Top-link}}}|{{{Top}}}}}|alt={{{Top}}}]]
  7. </div>}}
  8.  
  9. {{#if:{{{Bottom|}}}|<div style="left:14px; top:81px; width:32px; height:32px; position:absolute;">
  10. [[Image:{{#if:{{{Bottom-image|}}}|{{{Bottom-image}}}|Grid_{{{Bottom}}}.png}}|32px|link={{#if:{{{Bottom-link|}}}|{{{Bottom-link}}}|{{{Bottom}}}}}|alt={{{Bottom}}}]]
  11. </div>}}
  12.  
  13. {{#if:{{{Output|}}}|<div style="left:134px; top:45px; width:32px; height:32px; position:absolute;">
  14. [[Image:{{#if:{{{Output-image|}}}|{{{Ouput-image}}}|Grid_{{{Output}}}.png}}|32px|link={{#if:{{{Output-link|}}}|{{{Output-link}}}|{{{Output}}}}}|alt={{{Output}}}]]
  15. </div>}}
  16. {{#ifexpr:{{{OA|1}}} > 1|
  17. <div style="left:143px; top:68px; width:16px; height:16px; position:absolute; overflow:hidden;">
  18. <div style="left:{{#expr:-16 * (floor({{{OA|}}}/10) - 1)}}px; top:-8px; width:160px; height:16px; position:absolute;">
  19. [[Image:GridNumbersCSS.png|160px|link={{#if:{{{Output-link|}}}|{{{Output-link}}}|{{{Output}}}}}|alt={{{Output}}}]]
  20. </div>
  21. </div>
  22. <div style="left:155px; top:68px; width:16px; height:16px; position:absolute; overflow:hidden;">
  23. <div style="left:{{#expr:-16 * (({{{OA|}}} - 1) mod 10)}}px; top:-8px; width:160px; height:16px; position:absolute;">
  24. [[Image:GridNumbersCSS.png|160px|link={{#if:{{{Output-link|}}}|{{{Output-link}}}|{{{Output}}}}}|alt={{{Output}}}]]
  25. </div>
  26. </div>
  27. }}
  28. {{#ifexpr:{{{IA|1}}} > 1|
  29. <div style="left:13px; top:11px; width:16px; height:16px; position:absolute; overflow:hidden;">
  30. <div style="left:{{#expr:-16 * (floor({{{IA|}}}/10) - 1)}}px; top:-8px; width:160px; height:16px; position:absolute;">
  31. [[Image:GridNumbersCSS.png|160px|link={{#if:{{{Top-link|}}}|{{{Top-link}}}|{{{Top}}}}}|alt={{{Top}}}]]
  32. </div>
  33. </div>
  34. <div style="left:14px; top:11px; width:16px; height:16px; position:absolute; overflow:hidden;">
  35. <div style="left:{{#expr:-16 * (({{{IA|}}} - 1) mod 10)}}px; top:-8px; width:160px; height:16px; position:absolute;">
  36. [[Image:GridNumbersCSS.png|160px|link={{#if:{{{Top-link|}}}|{{{Top-link}}}|{{{Top}}}}}|alt={{{Top}}}]]
  37. </div>
  38. </div>
  39. }}
  40. </div></div>{{#if:{{{nobreak|}}}||{{-}}}}</includeonly>
  41. <noinclude>
  42. {{Template:Grid/Machine/doc}}
  43. [[Category:Image templates|M]]
  44. </noinclude>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement