Vorlage:Grid/Pulverizer/doc

Aus Minecraft Gameserver Wiki
Wechseln zu: Navigation, Suche

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

Template Format

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

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

}}