Difference between revisions of "Template:Grid/Anvil"

From TerraFirmaCraft Plus Wiki
Jump to: navigation, search
m (Smaller plan selection button, input slots touching like in actual UI)
(Attempting to add animation to plan selector)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{| cellpadding="0" cellspacing="0" style="background: #C6C6C6; border: outset 2px #999; padding: 6px;" class="grid-Crafting_Table"
 
{| cellpadding="0" cellspacing="0" style="background: #C6C6C6; border: outset 2px #999; padding: 6px;" class="grid-Crafting_Table"
 
|-
 
|-
|style="border: none; padding: 0; width: 42px;" |
+
|style="border: none; padding: 0; width: 50px;" |
|style="border: none; padding: 0; width: 42px;" |
+
|style="border: none; padding: 0; width: 50px;" |
|style="border: none; padding: 0; width: 10px;" |
+
|style="border: none; padding: 0; width: 15px;" |
|style="border: none; padding: 0; width: 32px;" |
+
|style="border: none; padding: 0; width: 25px;" |
|style="border: none; padding: 0; width: 32px;" |
+
|style="border: none; padding: 0; width: 25px;" |
|style="border: none; padding: 0; width: 32px;" |
+
|style="border: none; padding: 0; width: 25px;" |
|style="border: none; padding: 0; width: 32px;" |
+
|style="border: none; padding: 0; width: 25px;" |
|style="border: none; padding: 0; width: 10px;" |
+
|style="border: none; padding: 0; width: 15px;" |
|style="border: none; padding: 0; width: 42px;" |
+
|style="border: none; padding: 0; width: 50px;" |
|style="border: none; padding: 0; width: 42px;" |
+
|style="border: none; padding: 0; width: 50px;" |
 
|-
 
|-
| height="36"|
+
| height="36" colspan=2 align="center"| {{#if: {{{Tier|}}} | '''[[Anvil#Tiers|Minimum Tier: {{{Tier|}}}]]''' | }}
|
+
|  
|
+
 
| align="center" rowspan="2" colspan="4" style="padding: 6px 0px 2px 0px; border: outset 2px #999; border-bottom: none" | [[File:Grid Anvil Rules Blank.png|link=]]
 
| align="center" rowspan="2" colspan="4" style="padding: 6px 0px 2px 0px; border: outset 2px #999; border-bottom: none" | [[File:Grid Anvil Rules Blank.png|link=]]
 
|
 
|
Line 29: Line 28:
 
| align="right" style="padding: 2px 0px 2px 0px;" | {{Grid|{{{A1|}}}|link={{{A1link|}}}|title={{{A1title|}}}}}
 
| align="right" style="padding: 2px 0px 2px 0px;" | {{Grid|{{{A1|}}}|link={{{A1link|}}}|title={{{A1title|}}}}}
 
| style="padding: 2px 0px 2px 0px;" | {{Grid|{{{B1|}}}|link={{{B1link|}}}|title={{{B1title|}}}}}
 
| style="padding: 2px 0px 2px 0px;" | {{Grid|{{{B1|}}}|link={{{B1link|}}}|title={{{B1title|}}}}}
| align="left" style="border-right: outset 2px #999;" |<div style="position:relative; width:36px; height:36px"><!--
+
| align="left" style="border-right: outset 2px #999;" |<div style="position:absolute">[[File:AnvilButton.png|link=]]</div>{{#if: {{#pos: {{{C1}}} | ; }} | {{GridBlank|{{{C1|}}}|link=|title=}} | <div style="padding-left:2px">{{GridBlank|{{{C1|Blueprint}}}|link=|title=}}</div> }}
--><div style="position:absolute"><!--
+
-->[[File:AnvilButton.png|link=]]<!--
+
--></div><div style="position:absolute; left:2px; top:2px; line-height:0"><!--
+
-->[[File:Grid_{{{C1|Blueprint}}}.png|32px|link=|title=]]<!--
+
--></div><!--
+
--></div>
+
 
|
 
|
 
|-
 
|-
 
| colspan="2" align="center" style="padding: 2px 2px 2px 2px; border: outset 2px #999; border-top: none;" | [[File:Grid Anvil Weld.png|link=]]
 
| colspan="2" align="center" style="padding: 2px 2px 2px 2px; border: outset 2px #999; border-top: none;" | [[File:Grid Anvil Weld.png|link=]]
 
|
 
|
| colspan="2" align="right" valign="top" rowspan="2" style="padding: 2px 2px 2px 0px; border-left: outset 2px #999; border-bottom: outset 2px #999;" | [[File:Grid Anvil Red Rules.png|link=]]
+
| colspan="2" align="right" valign="top" rowspan="2" height="68" style="padding: 2px 2px 2px 0px; border-left: outset 2px #999; border-bottom: outset 2px #999;" | [[File:Grid Anvil Red Rules.png|link=]]
 
| colspan="2" valign="top" rowspan="2" style="padding: 2px 0px 2px 2px; border-right: outset 2px #999; border-bottom: outset 2px #999;" | [[File:Grid Anvil Green Rules.png|link=]]
 
| colspan="2" valign="top" rowspan="2" style="padding: 2px 0px 2px 2px; border-right: outset 2px #999; border-bottom: outset 2px #999;" | [[File:Grid Anvil Green Rules.png|link=]]
 
|
 
|

Latest revision as of 01:22, 25 January 2016

Grid Anvil Rules Blank.png
AnvilButton.png
Blueprint
Grid Anvil Weld.png Grid Anvil Red Rules.png Grid Anvil Green Rules.png
Grid layout None i (verylong).png


Grid Anvil Rules Blank.png
AnvilButton.png
Blueprint
Grid Anvil Weld.png Grid Anvil Red Rules.png Grid Anvil Green Rules.png
Grid layout None i (verylong).png

This template is used to create an interface that looks similar to the Anvil's GUI screen.

{{Grid/Anvil
|A1= |B1= |C1=
|A2= |B2=
|A3=
|Tool=
|Flux=
}}
Parameter Function Default/Example value
A1 Working Slot None
B1 Output Slot None
C1 Plan Selector None
A2 Weld Input Left None
B2 Weld Input Right None
A3 Weld Output None
Tool Hammer Slot None
Flux Flux Slot None

Usage

{{Grid/Anvil
|A1= Steel Ingot ; |B1= ; Black Steel Ingot |C1= Blue Steel Ingot
|A2= Red Steel Ingot ; |B2= Wrought Iron Ingot ;
|A3= ; Steel Double Ingot
|Tool= Stone Hammer
|Flux= Flux, 64 ; Flux, 63
}}

Produces:

Grid Anvil Rules Blank.png
Red Steel Ingot Wrought Iron Ingot
Steel Ingot
AnvilButton.png
Blue Steel Ingot
Grid Anvil Weld.png Grid Anvil Red Rules.png Grid Anvil Green Rules.png
Stone Hammer Grid layout None i (verylong).png Flux64