Template:Grid/GT4 Material Tree/doc

From ATLauncher Wiki
Jump to: navigation, search

This template is used to create material tree grids for GregTech 4. It is really low-level so it's recommended to use {{Grid/GT4 Material Tree/Invoke}} unless material has some uncommon forms.

Syntax[edit]

Type {{Grid/GT4 Material Tree|<param>}} somewhere.

Parameters[edit]

  • Name: Material name, e.g. Aluminium.
  • Formula: Material formula, e.g. Al.
  • Ore: Whether the material has Ore form.
  • CrushedOre: Whether the material has Crushed Ore form.
  • PurifiedOre: Whether the material has Purified Ore form.
  • CentrifugedOre: Whether the material has Centrifuged Ore form.
  • ImpureDust: Whether the material has Impure Dust form.
  • PurifiedDust: Whether the material has Purified Dust form.
  • Dust: Whether the material has Dust form.
  • SmallDust: Whether the material has Small Pile form.
  • TinyDust: Whether the material has Tiny Pile form.
  • Block: Whether the material has Block form.
  • Cell: Whether the material has Cell form.
  • Plasma: Whether the material has Plasma form.
  • Gem: Whether the material has Gem form. Conflicts with Ingot.
  • Lens: Whether the material has Lens form.
  • Ingot: Whether the material has Ingot form. Conflicts with Gem.
  • HotIngot: Whether the material has Hot Ingot form.
  • Plate: Whether the material has Plate form.
  • Gear: Whether the material has Gear form.
  • Rod: Whether the material has Rod form.
  • Bolt: Whether the material has Bolt form.
  • Screw: Whether the material has Screw form.
  • Ring: Whether the material has Ring form.
  • Round: Whether the material has Round form.
  • Nugget: Whether the material has Nugget form.

Additional parameters[edit]

Each slot parameter can be appended with several postfixes for additional functionality.

  • -custom: The actual name of item, if differs from default. None by default.
  • -disambiguation: Whether the item should be disambiguated. Does nothing if -custom is applied too. False by default.
  • Lens-e: this parameter should be e if material has Lense instead of Lens. Abcent by default.

Examples[edit]

{{Grid/GT4 Material Tree
|Name=Aluminium|Formula=Al
|CrushedOre=1|CrushedOre-disambiguation=1
|PurifiedOre=1|PurifiedOre-disambiguation=1
|CentrifugedOre=1|CentrifugedOre-disambiguation=1
|ImpureDust=1|ImpureDust-custom=Dirty Pile of Aluminium Dust
|PurifiedDust=1|PurifiedDust-disambiguation=1
|Dust=1|Dust-disambiguation=1
|SmallDust=1|SmallDust-disambiguation=1
|TinyDust=1|TinyDust-disambiguation=1
|Ingot=1|Ingot-disambiguation=1
|Nugget=1|Nugget-disambiguation=1
|Plate=1|Plate-disambiguation=1
|Gear=1|Gear-disambiguation=1
|Rod=1|Rod-disambiguation=1
|Bolt=1|Bolt-disambiguation=1
|Screw=1|Screw-disambiguation=1
|Ring=1|Ring-disambiguation=1
|Round=1
|Block=1|Block-disambiguation=1
}}

gives...


GUI GT4 Material Tree.png
Aluminium - Al
‎
‎
‎
Crushed Aluminium Ore (GregTech 4)
Purified Aluminium Ore (GregTech 4)
Centrifuged Aluminium Ore (GregTech 4)
Dirty Pile of Aluminium Dust
Purified Pile of Aluminium Dust (GregTech 4)
Aluminium Dust (GregTech 4)
Small Pile of Aluminium Dust (GregTech 4)
Tiny Pile of Aluminium Dust (GregTech 4)
Aluminium Plate (GregTech 4)
Aluminium Gear (GregTech 4)
Block of Aluminium (GregTech 4)
‎
‎
‎
‎
‎


Aluminium Ingot (GregTech 4)
‎
‎
‎
Aluminium Rod (GregTech 4)
Aluminium Round
Aluminium Bolt (GregTech 4)
Aluminium Ring (GregTech 4)
Aluminium Screw (GregTech 4)
Aluminium Nugget (GregTech 4)