Template:MissionDisplayName: Difference between revisions
From Terra Invicta Official Wiki
No edit summary |
No edit summary |
||
| Line 53: | Line 53: | ||
}} | }} | ||
</includeonly> | </includeonly> | ||
<noinclude> | |||
A template for converting Mission Data Names into Mission Display Names. | A template for converting Mission Data Names into Mission Display Names. | ||
| Line 70: | Line 72: | ||
# Copy every line found, and paste it into this wiki page, replacing everything after the line <pre> {{#switch: {{{1}}} </pre>, up until the line <pre> }} </pre> | # Copy every line found, and paste it into this wiki page, replacing everything after the line <pre> {{#switch: {{{1}}} </pre>, up until the line <pre> }} </pre> | ||
# Finally do a search and replace to replace every <pre>TIMissionTemplate.displayName.</pre> with <pre> | </pre> | # Finally do a search and replace to replace every <pre>TIMissionTemplate.displayName.</pre> with <pre> | </pre> | ||
</noinclude> | |||
Revision as of 05:21, 8 June 2025
A template for converting Mission Data Names into Mission Display Names.
Usage
For example:
{{MissionDisplayName|Propaganda}}
will return " Public Campaign
", the Display Name for the mission whose Data Name is "Propaganda".
Updating This Template
To update this template, simply perform the following steps:
- Open the file
TIMissionTemplate.en
, which is located in\Terra Invicta\TerraInvicta_Data\StreamingAssets\Localization\en
- Do a search for every line that starts with
TIMissionTemplate.displayName.
- Copy every line found, and paste it into this wiki page, replacing everything after the line
{{#switch: {{{1}}}, up until the line}}
- Finally do a search and replace to replace every
TIMissionTemplate.displayName.
with|


