Vorlage:Grid/AssemblingMachine/doc

Aus Minecraft Gameserver Wiki
Wechseln zu: Navigation, Suche
Beschreibung
Diese Vorlage benutzt ein Grid, die das Interface einer Assembling Machine darstellen soll.
Um es zu benutzen, kopiere einfach die Vorlage von unten:
{{Grid/AssemblingMachine
|Input1 =
|Input1Amount =
|Input2 =
|Input2Amount =
|Output1 =
|Output1Amount =
|Output2 =
|Output2Amount =
|EU =
|Time =
|MaxEnergy = 
}}
Beispiel
{{Grid/AssemblingMachine
|Input1 = Generator
|Input2 = Carbon Plate
|Input2Amount = 4
|Output1 = Wind Mill
|EU = 51,200
|Time = 320
|MaxEnergy = 8
}}
wird zu
     {{#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:||

}}