Template:RegionDisplayName

From Terra Invicta Official Wiki

A template for converting Region Data Names into Region Display Names.

Usage

For example:

{{RegionDisplayName|PortMorseby}}

will return "Port Moresby", the Display Name for the Region whose Data Name is "PortMorseby".

Updating This Template

To update this template, simply perform the following steps:

  1. Open the file
     TIRegionTemplate.en 
    , which is located in
     \Terra Invicta\TerraInvicta_Data\StreamingAssets\Localization\en 
  2. Do a search for every line that starts with
    TIRegionTemplate.displayName.
  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
    TIRegionTemplate.displayName.
    with
    |
    , except for those instances inside these instructions.
  5. Remove the JSON comments! Specifically the
    // dataname misspelled