Vorlage:Grid/Rolling Machine: Unterschied zwischen den Versionen

Aus Minecraft Gameserver Wiki
Wechseln zu: Navigation, Suche
K
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 2: Zeile 2:
 
<div style="left:0px; top:0px; width:256px; height:132px;">[[Image:Rolling_Machine_GUI.png|256px|link=|alt=]]</div><!--
 
<div style="left:0px; top:0px; width:256px; height:132px;">[[Image:Rolling_Machine_GUI.png|256px|link=|alt=]]</div><!--
  
-->{{#if:{{{A1|}}}|<div style="left:14px; top:35px; width:32px; height:32px; position:absolute;">
+
-->{{#if:{{{A1|}}}|<div style="left:14px; top:31px; width:32px; height:32px; position:absolute;">
 
[[Image:{{#if:{{{A1-image|}}}|{{{A1-image}}}|Grid_{{{A1}}}.png}}|32px|link={{#if:{{{A1-link|}}}|{{{A1-link}}}|{{{A1}}}}}|alt={{{A1}}}]]
 
[[Image:{{#if:{{{A1-image|}}}|{{{A1-image}}}|Grid_{{{A1}}}.png}}|32px|link={{#if:{{{A1-link|}}}|{{{A1-link}}}|{{{A1}}}}}|alt={{{A1}}}]]
 
</div>}}<!--
 
</div>}}<!--
-->{{#if:{{{A2|}}}|<div style="left:14px; top:71px; width:32px; height:32px; position:absolute;">
+
-->{{#if:{{{A2|}}}|<div style="left:14px; top:68px; width:32px; height:32px; position:absolute;">
 
[[Image:{{#if:{{{A2-image|}}}|{{{A2-image}}}|Grid_{{{A2}}}.png}}|32px|link={{#if:{{{A2-link|}}}|{{{A2-link}}}|{{{A2}}}}}|alt={{{A2}}}]]
 
[[Image:{{#if:{{{A2-image|}}}|{{{A2-image}}}|Grid_{{{A2}}}.png}}|32px|link={{#if:{{{A2-link|}}}|{{{A2-link}}}|{{{A2}}}}}|alt={{{A2}}}]]
 
</div>}}<!--
 
</div>}}<!--
-->{{#if:{{{A3|}}}|<div style="left:14px; top:107px; width:32px; height:32px; position:absolute;">
+
-->{{#if:{{{A3|}}}|<div style="left:14px; top:104px; width:32px; height:32px; position:absolute;">
 
[[Image:{{#if:{{{A3-image|}}}|{{{A3-image}}}|Grid_{{{A3}}}.png}}|32px|link={{#if:{{{A3-link|}}}|{{{A3-link}}}|{{{A3}}}}}|alt={{{A3}}}]]
 
[[Image:{{#if:{{{A3-image|}}}|{{{A3-image}}}|Grid_{{{A3}}}.png}}|32px|link={{#if:{{{A3-link|}}}|{{{A3-link}}}|{{{A3}}}}}|alt={{{A3}}}]]
 
</div>}}<!--
 
</div>}}<!--
  
-->{{#if:{{{B1|}}}|<div style="left:50px; top:35px; width:32px; height:32px; position:absolute;">
+
-->{{#if:{{{B1|}}}|<div style="left:50px; top:32px; width:32px; height:32px; position:absolute;">
 
[[Image:{{#if:{{{B1-image|}}}|{{{B1-image}}}|Grid_{{{B1}}}.png}}|32px|link={{#if:{{{B1-link|}}}|{{{B1-link}}}|{{{B1}}}}}|alt={{{B1}}}]]
 
[[Image:{{#if:{{{B1-image|}}}|{{{B1-image}}}|Grid_{{{B1}}}.png}}|32px|link={{#if:{{{B1-link|}}}|{{{B1-link}}}|{{{B1}}}}}|alt={{{B1}}}]]
 
</div>}}<!--
 
</div>}}<!--
-->{{#if:{{{B2|}}}|<div style="left:50px; top:71px; width:32px; height:32px; position:absolute;">
+
-->{{#if:{{{B2|}}}|<div style="left:50px; top:68px; width:32px; height:32px; position:absolute;">
 
[[Image:{{#if:{{{B2-image|}}}|{{{B2-image}}}|Grid_{{{B2}}}.png}}|32px|link={{#if:{{{B2-link|}}}|{{{B2-link}}}|{{{B2}}}}}|alt={{{B2}}}]]
 
[[Image:{{#if:{{{B2-image|}}}|{{{B2-image}}}|Grid_{{{B2}}}.png}}|32px|link={{#if:{{{B2-link|}}}|{{{B2-link}}}|{{{B2}}}}}|alt={{{B2}}}]]
 
</div>}}<!--
 
</div>}}<!--
-->{{#if:{{{B3|}}}|<div style="left:50px; top:107px; width:32px; height:32px; position:absolute;">
+
-->{{#if:{{{B3|}}}|<div style="left:50px; top:104px; width:32px; height:32px; position:absolute;">
 
[[Image:{{#if:{{{B3-image|}}}|{{{B3-image}}}|Grid_{{{B3}}}.png}}|32px|link={{#if:{{{B3-link|}}}|{{{B3-link}}}|{{{B3}}}}}|alt={{{B3}}}]]
 
[[Image:{{#if:{{{B3-image|}}}|{{{B3-image}}}|Grid_{{{B3}}}.png}}|32px|link={{#if:{{{B3-link|}}}|{{{B3-link}}}|{{{B3}}}}}|alt={{{B3}}}]]
 
</div>}}<!--
 
</div>}}<!--
 
 
-->{{#if:{{{C1|}}}|<div style="left:86px; top:35px; width:32px; height:32px; position:absolute;">
+
-->{{#if:{{{C1|}}}|<div style="left:86px; top:32px; width:32px; height:32px; position:absolute;">
 
[[Image:{{#if:{{{C1-image|}}}|{{{C1-image}}}|Grid_{{{C1}}}.png}}|32px|link={{#if:{{{C1-link|}}}|{{{C1-link}}}|{{{C1}}}}}|alt={{{C1}}}]]
 
[[Image:{{#if:{{{C1-image|}}}|{{{C1-image}}}|Grid_{{{C1}}}.png}}|32px|link={{#if:{{{C1-link|}}}|{{{C1-link}}}|{{{C1}}}}}|alt={{{C1}}}]]
 
</div>}}<!--
 
</div>}}<!--
-->{{#if:{{{C2|}}}|<div style="left:86px; top:71px; width:32px; height:32px; position:absolute;">
+
-->{{#if:{{{C2|}}}|<div style="left:86px; top:68px; width:32px; height:32px; position:absolute;">
 
[[Image:{{#if:{{{C2-image|}}}|{{{C2-image}}}|Grid_{{{C2}}}.png}}|32px|link={{#if:{{{C2-link|}}}|{{{C2-link}}}|{{{C2}}}}}|alt={{{C2}}}]]
 
[[Image:{{#if:{{{C2-image|}}}|{{{C2-image}}}|Grid_{{{C2}}}.png}}|32px|link={{#if:{{{C2-link|}}}|{{{C2-link}}}|{{{C2}}}}}|alt={{{C2}}}]]
 
</div>}}<!--
 
</div>}}<!--
-->{{#if:{{{C3|}}}|<div style="left:86px; top:107px; width:32px; height:32px; position:absolute;">
+
-->{{#if:{{{C3|}}}|<div style="left:86px; top:104px; width:32px; height:32px; position:absolute;">
 
[[Image:{{#if:{{{C3-image|}}}|{{{C3-image}}}|Grid_{{{C3}}}.png}}|32px|link={{#if:{{{C3-link|}}}|{{{C3-link}}}|{{{C3}}}}}|alt={{{C3}}}]]
 
[[Image:{{#if:{{{C3-image|}}}|{{{C3-image}}}|Grid_{{{C3}}}.png}}|32px|link={{#if:{{{C3-link|}}}|{{{C3-link}}}|{{{C3}}}}}|alt={{{C3}}}]]
 
</div>}}<!--
 
</div>}}<!--
 
 
-->{{#if:{{{Output|}}}|<div style="left:202px; top:71px; width:32px; height:32px; position:absolute;">
+
-->{{#if:{{{Output|}}}|<div style="left:202px; top:68px; width:32px; height:32px; position:absolute;">
 
[[Image:{{#if:{{{Output-image|}}}|{{{Output-image}}}|Grid_{{{Output|}}}.png}}|32px|link={{#if:{{{Output-link|}}}|{{{Output-link}}}|{{{Output}}}}}|alt={{{Output}}}]]
 
[[Image:{{#if:{{{Output-image|}}}|{{{Output-image}}}|Grid_{{{Output|}}}.png}}|32px|link={{#if:{{{Output-link|}}}|{{{Output-link}}}|{{{Output}}}}}|alt={{{Output}}}]]
 
</div>}}<!--
 
</div>}}<!--
 
-->{{#if:{{{OA|}}}|
 
-->{{#if:{{{OA|}}}|
<div style="left:208px; top:68px; width:64px; height:24px; position:absolute; overflow:hidden;">
+
<div style="left:208px; top:90px; width:64px; height:24px; position:absolute; overflow:hidden;">
 
{{Grid/Crafting Square Numbers|{{{OA|}}}
 
{{Grid/Crafting Square Numbers|{{{OA|}}}
 
                 }}
 
                 }}

Aktuelle Version vom 2. Oktober 2013, 22:00 Uhr

Vorlagendokumentation (für die obige Vorlage)

Inhaltsverzeichnis

This template is used to create a grid that looks similar to the Rolling Machine GUI screen.

Usage[Bearbeiten]

{{Grid/Rolling Machine
|A1 = Refined Iron
|A2 = Bronze Ingot
|A3 = Tin Ingot
|B1 = Refined Iron
|B2 = Bronze Ingot
|B3 = Tin Ingot
|C1 = Refined Iron
|C2 = Bronze Ingot
|C3 = Tin Ingot
|Output = Mixed Metal Ingot
|OA = 2
}}
produces
{{#if:Refined Iron|

[[Image:{{#if:|{{{A1-image}}}|Grid_Refined Iron.png}}|32px|link={{#if:|{{{A1-link}}}|Refined Iron}}|alt=Refined Iron]]

}}{{#if:Bronze Ingot|

[[Image:{{#if:|{{{A2-image}}}|Grid_Bronze Ingot.png}}|32px|link={{#if:|{{{A2-link}}}|Bronze Ingot}}|alt=Bronze Ingot]]

}}{{#if:Tin Ingot|

[[Image:{{#if:|{{{A3-image}}}|Grid_Tin Ingot.png}}|32px|link={{#if:|{{{A3-link}}}|Tin Ingot}}|alt=Tin Ingot]]

}}{{#if:Refined Iron|

[[Image:{{#if:|{{{B1-image}}}|Grid_Refined Iron.png}}|32px|link={{#if:|{{{B1-link}}}|Refined Iron}}|alt=Refined Iron]]

}}{{#if:Bronze Ingot|

[[Image:{{#if:|{{{B2-image}}}|Grid_Bronze Ingot.png}}|32px|link={{#if:|{{{B2-link}}}|Bronze Ingot}}|alt=Bronze Ingot]]

}}{{#if:Tin Ingot|

[[Image:{{#if:|{{{B3-image}}}|Grid_Tin Ingot.png}}|32px|link={{#if:|{{{B3-link}}}|Tin Ingot}}|alt=Tin Ingot]]

}}{{#if:Refined Iron|

[[Image:{{#if:|{{{C1-image}}}|Grid_Refined Iron.png}}|32px|link={{#if:|{{{C1-link}}}|Refined Iron}}|alt=Refined Iron]]

}}{{#if:Bronze Ingot|

[[Image:{{#if:|{{{C2-image}}}|Grid_Bronze Ingot.png}}|32px|link={{#if:|{{{C2-link}}}|Bronze Ingot}}|alt=Bronze Ingot]]

}}{{#if:Tin Ingot|

[[Image:{{#if:|{{{C3-image}}}|Grid_Tin Ingot.png}}|32px|link={{#if:|{{{C3-link}}}|Tin Ingot}}|alt=Tin Ingot]]

}}{{#if:Mixed Metal Ingot|

[[Image:{{#if:|{{{Output-image}}}|Grid_Mixed Metal Ingot.png}}|32px|link={{#if:|{{{Output-link}}}|Mixed Metal Ingot}}|alt=Mixed Metal Ingot]]

}}{{#if:2|

{{#ifexpr: {{ #if: 2

                | 2
| 1 }} > 9 |
GridNumbersCSS.png
}}

{{#ifexpr: {{ #if: 2

                | 2
| 1 }} < 2 ||
GridNumbersCSS.png
}}
}}
{{#if:||
}}


The OA field accepts 1-99. Leaving it blank will show nothing, using 100 to 109 will only show the last two digits (although this can be utilized to output 01 instead of just 1, for example), using anything higher will only show the last digit.


Klicke auf Template:Grid/Rolling Machine/doc um diesen Text zu editieren! (How does this work?)