Vorlage:Grid/Pulverizer: Unterschied zwischen den Versionen

Aus Minecraft Gameserver Wiki
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „<includeonly><div style="float:{{#if:{{{float|}}}|{{{float}}}|left}};"><div style="left:0px; top:0px; width:306px; height:142px; position:relative;"> <div sty…“)
 
 
Zeile 3: Zeile 3:
 
<div style="left:0px; top:5px; width:283px; height:132px; position:absolute;">[[Image:MachineGUI_{{{Type|Pulverizer}}}.png|283px|link=|alt=]]</div>
 
<div style="left:0px; top:5px; width:283px; height:132px; position:absolute;">[[Image:MachineGUI_{{{Type|Pulverizer}}}.png|283px|link=|alt=]]</div>
  
{{#if:{{{Top|}}}|<div style="left:63px; top:38px; width:32px; height:32px; position:absolute;">
+
{{#if:{{{Top|}}}|<div style="left:63px; top:33px; width:32px; height:32px; position:absolute;">
 
[[Image:{{#if:{{{Top-image|}}}|{{{Top-image}}}|Grid_{{{Top}}}.png}}|32px|link={{#if:{{{Top-link|}}}|{{{Top-link}}}|{{{Top}}}}}|alt={{{Top}}}]]
 
[[Image:{{#if:{{{Top-image|}}}|{{{Top-image}}}|Grid_{{{Top}}}.png}}|32px|link={{#if:{{{Top-link|}}}|{{{Top-link}}}|{{{Top}}}}}|alt={{{Top}}}]]
 
</div>}}
 
</div>}}
 
{{#if:{{{IA|}}}|
 
{{#if:{{{IA|}}}|
<div style="left:68px; top:54px; width:64px; height:24px; position:absolute; overflow:hidden;">
+
<div style="left:68px; top:49px; width:64px; height:24px; position:absolute; overflow:hidden;">
 
{{Grid/Crafting Square Numbers|{{{IA|}}}
 
{{Grid/Crafting Square Numbers|{{{IA|}}}
 
                 }}
 
                 }}
 
</div>
 
</div>
 
}}
 
}}
{{#if:{{{Bottom|}}}|<div style="left:14px; top:85px; width:32px; height:32px; position:absolute;">
+
{{#if:{{{Bottom|}}}|<div style="left:14px; top:80px; width:32px; height:32px; position:absolute;">
 
[[Image:{{#if:{{{Bottom-image|}}}|{{{Bottom-image}}}|Grid_{{{Bottom}}}.png}}|32px|link={{#if:{{{Bottom-link|}}}|{{{Bottom-link}}}|{{{Bottom}}}}}|alt={{{Bottom}}}]]
 
[[Image:{{#if:{{{Bottom-image|}}}|{{{Bottom-image}}}|Grid_{{{Bottom}}}.png}}|32px|link={{#if:{{{Bottom-link|}}}|{{{Bottom-link}}}|{{{Bottom}}}}}|alt={{{Bottom}}}]]
 
</div>}}
 
</div>}}
  
         {{#if:{{{Energy|}}}|<div style="right:139px; top: 34px; position: absolute;font-family: Minecraftia; color: #939393; font-size: 16px;">{{{Energy|}}}MJ</div>
+
         {{#if:{{{Energy|}}}|<div style="right:139px; top: 29px; position: absolute;font-family: Minecraftia; color: #939393; font-size: 16px;">{{{Energy|}}}MJ</div>
 
         }}
 
         }}
 
 
{{#if:{{{Output|}}}|<div style="left:182px; top:38px; width:32px; height:32px; position:absolute;">
+
{{#if:{{{Output|}}}|<div style="left:182px; top:29px; width:32px; height:32px; position:absolute;">
 
[[Image:{{#if:{{{Output-image|}}}|{{{Ouput-image}}}|Grid_{{{Output}}}.png}}|32px|link={{#if:{{{Output-link|}}}|{{{Output-link}}}|{{{Output}}}}}|alt={{{Output}}}]]
 
[[Image:{{#if:{{{Output-image|}}}|{{{Ouput-image}}}|Grid_{{{Output}}}.png}}|32px|link={{#if:{{{Output-link|}}}|{{{Output-link}}}|{{{Output}}}}}|alt={{{Output}}}]]
 
</div>}}
 
</div>}}
  
 
{{#if:{{{OA|}}}|
 
{{#if:{{{OA|}}}|
<div style="left:190px; top:55px; width:64px; height:24px; position:absolute; overflow:hidden;">
+
<div style="left:190px; top:50px; width:64px; height:24px; position:absolute; overflow:hidden;">
 
{{Grid/Crafting Square Numbers|{{{OA|}}}
 
{{Grid/Crafting Square Numbers|{{{OA|}}}
 
                 }}
 
                 }}
Zeile 30: Zeile 30:
 
}}
 
}}
  
{{#if:{{{Output2|}}}|<div style="left:182px; top:94px; width:32px; height:32px; position:absolute;">
+
{{#if:{{{Output2|}}}|<div style="left:182px; top:89px; width:32px; height:32px; position:absolute;">
 
[[Image:{{#if:{{{Output2-image|}}}|{{{Ouput2-image}}}|Grid_{{{Output2}}}.png}}|32px|link={{#if:{{{Output2-link|}}}|{{{Output2-link}}}|{{{Output2}}}}}|alt={{{Output2}}}]]
 
[[Image:{{#if:{{{Output2-image|}}}|{{{Ouput2-image}}}|Grid_{{{Output2}}}.png}}|32px|link={{#if:{{{Output2-link|}}}|{{{Output2-link}}}|{{{Output2}}}}}|alt={{{Output2}}}]]
 
</div>}}
 
</div>}}
  
 
{{#if:{{{OA2|}}}|
 
{{#if:{{{OA2|}}}|
<div style="left:190px; top:109px; width:64px; height:24px; position:absolute; overflow:hidden;">
+
<div style="left:190px; top:104px; width:64px; height:24px; position:absolute; overflow:hidden;">
 
{{Grid/Crafting Square Numbers|{{{OA2|}}}
 
{{Grid/Crafting Square Numbers|{{{OA2|}}}
 
                 }}
 
                 }}
Zeile 41: Zeile 41:
 
}}
 
}}
  
         {{#if:{{{Output2 Chance|}}}|<div style="right:130px; top: 104px; position: absolute;font-family: Minecraftia; color: #939393; font-size: 16px;">{{{Output2 Chance|}}}%</div>
+
         {{#if:{{{Output2 Chance|}}}|<div style="right:130px; top: 99px; position: absolute;font-family: Minecraftia; color: #939393; font-size: 16px;">{{{Output2 Chance|}}}%</div>
 
         }}
 
         }}
  

Aktuelle Version vom 4. Oktober 2013, 15:54 Uhr


This template is used to show Pulverizer recipes on a grid.

Template Format[Bearbeiten]

Copy the following code and paste it where you want the grid to show up. Then fill in the components of the recipe.

{{Grid/Pulverizer
|Top=
|Bottom=
|Energy=
|Output=
|OA=
|Output2=
|OA2=
|Output2 Chance=
}}

Example[Bearbeiten]

{{Grid/Pulverizer
|Top=Nikolite Ore
|Bottom=
|Energy=400
|Output=Nikolite
|OA=10
|Output2=Diamond Dust
|OA2=1
|Output2 Chance=10
}}

Displays like this:

{{#if:Nikolite Ore|

[[Image:{{#if:|{{{Top-image}}}|Grid_Nikolite Ore.png}}|32px|link={{#if:|{{{Top-link}}}|Nikolite Ore}}|alt=Nikolite Ore]]

}}

{{#if:|

{{#ifexpr: {{ #if:

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

{{#ifexpr: {{ #if:

                | 
| 1 }} < 2 ||
GridNumbersCSS.png
}}

}}

{{#if:|

[[Image:{{#if:|{{{Bottom-image}}}|Grid_.png}}|32px|link={{#if:|{{{Bottom-link}}}|}}|alt=]]

}} {{#if:400|
400MJ
       }}
{{#if:Nikolite|

[[Image:{{#if:|{{{Ouput-image}}}|Grid_Nikolite.png}}|32px|link={{#if:|{{{Output-link}}}|Nikolite}}|alt=Nikolite]]

}}

{{#if:10|

{{#ifexpr: {{ #if: 10

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

{{#ifexpr: {{ #if: 10

                | 10
| 1 }} < 2 ||
GridNumbersCSS.png
}}

}}

{{#if:Diamond Dust|

[[Image:{{#if:|{{{Ouput2-image}}}|Grid_Diamond Dust.png}}|32px|link={{#if:|{{{Output2-link}}}|Diamond Dust}}|alt=Diamond Dust]]

}}

{{#if:1|

{{#ifexpr: {{ #if: 1

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

{{#ifexpr: {{ #if: 1

                | 1
| 1 }} < 2 ||
GridNumbersCSS.png
}}

}}

{{#if:10|
10%
       }}

{{#if:||

}}