Vorlage:Grid/AssemblingMachine/doc

Aus Minecraft Gameserver Wiki
< Vorlage:Grid‎ | AssemblingMachine
Version vom 1. Oktober 2013, 17:59 Uhr von Kato-San (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „;Description :This template is used to create a grid that looks similar to the Assembling Machine GUI screen. :To use it, copy-paste the following code and…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche
Description
This template is used to create a grid that looks similar to the Assembling Machine GUI screen.
To use it, copy-paste the following code and fill in the parameters as described below.
{{Grid/AssemblingMachine
|Input1 =
|Input1Amount =
|Input2 =
|Input2Amount =
|Output1 =
|Output1Amount =
|Output2 =
|Output2Amount =
|EU =
|Time =
|MaxEnergy = 
}}
Sample Output
{{Grid/AssemblingMachine
|Input1 = Generator
|Input2 = Carbon Plate
|Input2Amount = 4
|Output1 = Wind Mill
|EU = 51,200
|Time = 320
|MaxEnergy = 8
}}
produces
     {{#if:Generator|
[[Image:{{#if:|{{{Input1Image}}}|Grid_Generator.png}}|32px|link={{#if:|{{{Input1Link}}}|Generator}}|alt=Generator]]
     }}
     {{#if:|
{{#ifexpr: {{ #if: | | 1 }} > 9 |
Generator}}
}} {{#ifexpr: {{ #if: | | 1 }} < 2 ||
Generator}}
}}
     }}
     {{#if:Carbon Plate|
[[Image:{{#if:|{{{Input2Image}}}|Grid_Carbon Plate.png}}|32px|link={{#if:|{{{Input2Link}}}|Carbon Plate}}|alt=Carbon Plate]]
     }}
     {{#if:4|
{{#ifexpr: {{ #if: 4 | 4 | 1 }} > 9 |
Carbon Plate}}
}} {{#ifexpr: {{ #if: 4 | 4 | 1 }} < 2 ||
Carbon Plate}}
}}
     }}
     {{#if:Wind Mill|
[[Image:{{#if:|{{{Output1Image}}}|Grid_Wind Mill.png}}|32px|link={{#if:|{{{Output1Link}}}|Wind Mill}}|alt=Wind Mill]]
     }}
     {{#if:|
{{#ifexpr: {{ #if: | | 1 }} > 9 |
Wind Mill}}
}} {{#ifexpr: {{ #if: | | 1 }} < 2 ||
Wind Mill}}
}}
     }}
     {{#if:|
[[Image:{{#if:|{{{Output2Image}}}|Grid_{{{Output2}}}.png}}|32px|link={{#if:|{{{Output2Link}}}|{{{Output2}}}}}|alt={{{Output2}}}]]
     }}
     {{#if:|
{{#ifexpr: {{ #if: | | 1 }} > 9 |
{{{Output2}}}}}
}} {{#ifexpr: {{ #if: | | 1 }} < 2 ||
{{{Output2}}}}}
}}
     }}
     {{#if:51,200|
51,200
     }}
     {{#if:320|
320 secs
     {{#if:8|
8 EU/t
     }}
}}

{{#if:||

}}