Template:ProjectDisplayName: Difference between revisions
From Terra Invicta Official Wiki
No edit summary |
mNo edit summary |
||
| Line 687: | Line 687: | ||
|Project_FleetOfficerSchoolhouses=Fleet Officer Schoolhouses | |Project_FleetOfficerSchoolhouses=Fleet Officer Schoolhouses | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
A template for converting | A template for converting Project Data Names into Project Display Names. | ||
Note: Inefficient if used several times in a page. See [[RawProjectDisplayName_Explanation]] for more efficient mass conversions. | Note: Inefficient if used several times in a page. See [[RawProjectDisplayName_Explanation]] for more efficient mass conversions. | ||
Revision as of 05:30, 29 June 2025
A template for converting Project Data Names into Project 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:
- Open the file
TIProjectTemplate.en
, which is located in\Terra Invicta\TerraInvicta_Data\StreamingAssets\Localization\en
- Do a search for every line that starts with
TIProjectTemplate.displayName.
- 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>
- Finally do a search and replace to replace every
TIProjectTemplate.displayName.
with|
, except for those instances inside these instructions.


