Template:ProjectDisplayName: Difference between revisions

From Terra Invicta Official Wiki
Redwah (talk | contribs)
Created page with "<includeonly>{{#switch:{{{1}}} |Project_TheirSignatures=Alien Signatures |Project_TheirMethods=Alien Methods |Project_TheirOperations=Alien Operations |Project_TheirMovements=Alien Movements |Project_TheirOrigin=Alien Origin |Project_HydraBiology=Hydra Biology |Project_Pherocytes=Pherocytes |Project_AlienContainment=Alien Containment |Project_HydraLanguage=Hydra Language |Project_TheirTechnology=Alien Technology |Project_Exotics=Exotic Materials |Project_ExoticHybridSyst..."
 
Redwah (talk | contribs)
No edit summary
Line 688: Line 688:
}}</includeonly><noinclude>  
}}</includeonly><noinclude>  
A template for converting Nation Data Names into Nation Display Names.
A template for converting Nation Data Names into Nation Display Names.
Note: Inefficient if used several times in a page. See [[RawProjectDisplayName_Explanation]] for more efficient mass conversions.


== Usage ==
== Usage ==

Revision as of 09:15, 14 June 2025

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

Note: Inefficient if used several times in a page. See RawProjectDisplayName_Explanation for more efficient mass conversions.

Usage

For example:

{{ProjectDisplayName|Project_ArmorStruts}}

will return "Armor Struts", the Display Name for the Project whose Data Name is "Project_ArmorStruts".

Updating This Template

To update this template, simply perform the following steps:

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