Template:MissionDisplayName: Difference between revisions
From Terra Invicta Official Wiki
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{1}}} | <includeonly>{{#switch: {{{1}}} | ||
| Abductions=Abductions | |Abductions=Abductions|GainInfluence=Control Nation | ||
| GainInfluence=Control Nation | |Propaganda=Public Campaign|Purge=Purge | ||
| Propaganda=Public Campaign | |Advise=Advise | ||
| Purge=Purge | |Assassinate=Assassinate | ||
| Advise=Advise | |AssaultAlienAsset=Assault Alien Asset | ||
| Assassinate=Assassinate | |AssumeControl=Grant Alien Control | ||
| AssaultAlienAsset=Assault Alien Asset | |BuildFacility=Build Facility | ||
| AssumeControl=Grant Alien Control | |SetNationalPolicy=Set National Policy | ||
| BuildFacility=Build Facility | |Contact=Contact | ||
| SetNationalPolicy=Set National Policy | |ControlSpaceAsset=Control Space Asset | ||
| Contact=Contact | |Coup=Coup d'Etat | ||
| ControlSpaceAsset=Control Space Asset | |Crackdown=Crackdown | ||
| Coup=Coup d'Etat | |DefendInterests=Defend Interests | ||
| Crackdown=Crackdown | |Detain=Detain Councilor | ||
| DefendInterests=Defend Interests | |DetectCouncilActivity=Surveil Location | ||
| Detain=Detain Councilor | |EnthrallElites=Enthrall Elites | ||
| DetectCouncilActivity=Surveil Location | |EnthrallPublic=Enthrall Public | ||
| EnthrallElites=Enthrall Elites | |EnthrallOrg=Enthrall Org | ||
| EnthrallPublic=Enthrall Public | |EnthrallUnalignedElites=Enthrall Unaligned Elites | ||
| EnthrallOrg=Enthrall Org | |Extract=Extract Councilor | ||
| EnthrallUnalignedElites=Enthrall Unaligned Elites | |GoToGround=Go To Ground | ||
| Extract=Extract Councilor | |HostileTakeover=Hostile Takeover | ||
| GoToGround=Go To Ground | |Inspire=Inspire | ||
| HostileTakeover=Hostile Takeover | |InvestigateAlienActivity=Investigate Alien Activity | ||
| Inspire=Inspire | |InvestigateCouncilor=Investigate Councilor | ||
| InvestigateAlienActivity=Investigate Alien Activity | |Orbit=Orbit | ||
| InvestigateCouncilor=Investigate Councilor | |Deorbit=Deorbit | ||
| Orbit=Orbit | |PassTechnology=Pass Technology | ||
| Deorbit=Deorbit | |Protect=Protect Target | ||
| PassTechnology=Pass Technology | |SabotageFacilities=Sabotage Facilities | ||
| Protect=Protect Target | |SabotageHabModule=Sabotage Hab Module | ||
| SabotageFacilities=Sabotage Facilities | |SabotageProject=Sabotage Project | ||
| SabotageHabModule=Sabotage Hab Module | |SeizeSpaceAsset=Assault Enemy Space Asset | ||
| SabotageProject=Sabotage Project | |Stabilize=Stabilize Nation | ||
| SeizeSpaceAsset=Assault Enemy Space Asset | |StealProject=Steal Project | ||
| Stabilize=Stabilize Nation | |TerrorizeRegion=Terrorize Region | ||
| StealProject=Steal Project | |Xenoform=Xenoform | ||
| TerrorizeRegion=Terrorize Region | |Transfer=Transfer | ||
| Xenoform=Xenoform | |Turn=Turn Councilor | ||
| Transfer=Transfer | |Unrest=Increase Unrest | ||
| Turn=Turn Councilor | |DominateNation=Dominate Nation | ||
| Unrest=Increase Unrest | |AppeaseWin=Claim Hegemony | ||
| DominateNation=Dominate Nation | |CooperateWin=Forge an Alliance | ||
| AppeaseWin=Claim Hegemony | |DestroyWin=Trigger the Weapon | ||
| CooperateWin=Forge an Alliance | |EscapeWin=Launch the Bifrost | ||
| DestroyWin=Trigger the Weapon | |ExploitWin=Tame the Enemy | ||
| EscapeWin=Launch the Bifrost | |ResistWin=Close the Gate | ||
| ExploitWin=Tame the Enemy | |SubmitWin=Herald Our Masters | ||
| ResistWin=Close the Gate | |||
| SubmitWin=Herald Our Masters | |||
}}</includeonly> | }}</includeonly> | ||
<noinclude> | <noinclude> | ||
| Line 66: | Line 64: | ||
# Do a search for every line that starts with <pre>TIMissionTemplate.displayName.</pre> | # Do a search for every line that starts with <pre>TIMissionTemplate.displayName.</pre> | ||
# Copy every line found, and paste it into this wiki page, replacing everything after the line <pre><includeonly>{{#switch: {{{1}}} </pre>, up until the line <pre>}}</includeonly></pre> | # Copy every line found, and paste it into this wiki page, replacing everything after the line <pre><includeonly>{{#switch: {{{1}}} </pre>, up until the line <pre>}}</includeonly></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> | </noinclude> | ||
Revision as of 05:29, 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
<includeonly>{{#switch: {{{1}}}, up until the line}}</includeonly>
- Finally do a search and replace to replace every
TIMissionTemplate.displayName.
with|


