Template:PowerPlantRequirementName

From Terra Invicta Official Wiki
Revision as of 20:13, 14 June 2025 by Redwah (talk | contribs) (Created page with "<includeonly>{{#switch:{{{1}}} |Any_General=Any Reactor |Fuel_Cell=Fuel Cell |Solid_Core_Fission=Solid Core Fission |Liquid_Core_Fission=Molten Core Fission |Gas_Core_Fission=Gas Core Fission |Molten_Salt_Core_Fission=Molten Salt Core Fission |Z_Pinch_Fusion=Z-Pinch Fusion |Any_Magnetic_Confinement_Fusion=Any Magnetic Confinement Fusion |Electrostatic_Confinement_Fusion=Electrostatic Confinement Fusion |Hybrid_Confinement_Fusion=Hybrid Confinement Fusion |Toroid_Magnetic...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A template for converting PowerPlantRequirement data into human readable format.

Usage

For example:

{{PowerPlantRequirementName|Any_General}}

will return "Any Reactor", the human readable format for the "Any_General" PowerPlantRequirement.

Updating This Template

To update this template, simply perform the following steps:

  1. Open the file
     TIPowerPlantTemplate.en 
    , which is located in
     \Terra Invicta\TerraInvicta_Data\StreamingAssets\Localization\en 
  2. Do a search for every line that starts with
    TIPowerPlantTemplate.PowerPlantRequirement.
  3. Copy every line found, and paste it into this wiki page, replacing everything after the line
    <includeonly>{{#switch:{{{1}}}
    , up until the line
    }}</includeonly><noinclude> 
  4. Do a search and replace to replace every
    TIPowerPlantTemplate.PowerPlantRequirement.
    with
    |
    , except for those instances inside these instructions.