Template:MissionDisplayName: Difference between revisions
From Terra Invicta Official Wiki
m →Usage |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{1}}} | <includeonly>{{#switch:{{{1}}} | ||
|Abductions=Abductions|GainInfluence=Control Nation | |Abductions=Abductions | ||
|Propaganda=Public Campaign|Purge=Purge | |GainInfluence=Control Nation | ||
|Propaganda=Public Campaign | |||
|Purge=Purge | |||
|Advise=Advise | |Advise=Advise | ||
|Assassinate=Assassinate | |Assassinate=Assassinate | ||
| Line 47: | Line 49: | ||
|ExploitWin=Tame the Enemy | |ExploitWin=Tame the Enemy | ||
|ResistWin=Close the Gate | |ResistWin=Close the Gate | ||
|SubmitWin=Herald Our Masters | |SubmitWin=Herald Our Masters}}</includeonly> | ||
}}</includeonly> | |||
<noinclude> | <noinclude> | ||
A template for converting Mission Data Names into Mission Display Names. | A template for converting Mission Data Names into Mission Display Names. | ||
Revision as of 04:04, 11 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".
.... weird there's an extra space after the display name and I have no idea how to get rid of it.
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
<includeonly>{{#switch: {{{1}}}, up until the line}}</includeonly>
- Finally do a search and replace to replace every
TIMissionTemplate.displayName.
with|


