Vorlage:Grid/AssemblingMachine/doc: Unterschied zwischen den Versionen

Aus Minecraft Gameserver Wiki
Wechseln zu: Navigation, Suche
(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…“)
 
 
Zeile 1: Zeile 1:
;Description
+
;Beschreibung
:This template is used to create a grid that looks similar to the [[Assembling Machine]] GUI screen.
+
:Diese Vorlage benutzt ein Grid, die das Interface einer [[Assembling Machine]] darstellen soll.
:To use it, copy-paste the following code and fill in the parameters as described below.
+
:Um es zu benutzen, kopiere einfach die Vorlage von unten:
  
 
<pre style="width: 200px">{{Grid/AssemblingMachine
 
<pre style="width: 200px">{{Grid/AssemblingMachine
Zeile 17: Zeile 17:
 
}}</pre>
 
}}</pre>
  
;Sample Output
+
;Beispiel
 
<pre style="width: 200px">{{Grid/AssemblingMachine
 
<pre style="width: 200px">{{Grid/AssemblingMachine
 
|Input1 = Generator
 
|Input1 = Generator
Zeile 28: Zeile 28:
 
}}</pre>
 
}}</pre>
  
;produces:
+
;wird zu:
 
{{Grid/AssemblingMachine
 
{{Grid/AssemblingMachine
 
|Input1 = Generator
 
|Input1 = Generator

Aktuelle Version vom 1. Oktober 2013, 17:05 Uhr

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:||

}}