Template:NationDisplayName: Difference between revisions

From Terra Invicta Official Wiki
Redwah (talk | contribs)
Llamageddon (talk | contribs)
m Manual edit (game file inconsistency): 'displayName' of "England" stated internally, but AFAIK player only ever sees 'unionDisplayName' of "United Kingdom".
Line 50: Line 50:
|FIN=Finland
|FIN=Finland
|FNT=First Nation
|FNT=First Nation
|GBR=England
|GBR=United Kingdom
|GRC=Southern Balkan States
|GRC=Southern Balkan States
|GRL=Greenland
|GRL=Greenland

Revision as of 21:50, 22 November 2025

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

Usage

For example:

{{NationDisplayName|UZB}}

will return "Uzbekistan", the Display Name for the nation whose Data Name is "UZB".

Updating This Template

To update this template, simply perform the following steps:

  1. Open the file
     TINationTemplate.en 
    , which is located in
     \Terra Invicta\TerraInvicta_Data\StreamingAssets\Localization\en 
  2. Do a search for every line that starts with
    TINationTemplate.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. Finally do a search and replace to replace every
    TINationTemplate.displayName.
    with
    |
    , except for those instances inside these instructions.