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 | |||
| GainInfluence=Control Nation | |||
| Propaganda=Public Campaign | |||
| Purge=Purge | |||
| Advise=Advise | |||
| Assassinate=Assassinate | |||
| AssaultAlienAsset=Assault Alien Asset | |||
| AssumeControl=Grant Alien Control | |||
| BuildFacility=Build Facility | |||
| SetNationalPolicy=Set National Policy | |||
| Contact=Contact | |||
| ControlSpaceAsset=Control Space Asset | |||
| Coup=Coup d'Etat | |||
| Crackdown=Crackdown | |||
| DefendInterests=Defend Interests | |||
| Detain=Detain Councilor | |||
| DetectCouncilActivity=Surveil Location | |||
| EnthrallElites=Enthrall Elites | |||
| EnthrallPublic=Enthrall Public | |||
| EnthrallOrg=Enthrall Org | |||
| EnthrallUnalignedElites=Enthrall Unaligned Elites | |||
| Extract=Extract Councilor | |||
| GoToGround=Go To Ground | |||
| HostileTakeover=Hostile Takeover | |||
| Inspire=Inspire | |||
| InvestigateAlienActivity=Investigate Alien Activity | |||
| InvestigateCouncilor=Investigate Councilor | |||
| Orbit=Orbit | |||
| Deorbit=Deorbit | |||
| PassTechnology=Pass Technology | |||
| Protect=Protect Target | |||
| SabotageFacilities=Sabotage Facilities | |||
| SabotageHabModule=Sabotage Hab Module | |||
| SabotageProject=Sabotage Project | |||
| SeizeSpaceAsset=Assault Enemy Space Asset | |||
| Stabilize=Stabilize Nation | |||
| StealProject=Steal Project | |||
| TerrorizeRegion=Terrorize Region | |||
| Xenoform=Xenoform | |||
| Transfer=Transfer | |||
| Turn=Turn Councilor | |||
| Unrest=Increase Unrest | |||
| DominateNation=Dominate Nation | |||
| AppeaseWin=Claim Hegemony | |||
| CooperateWin=Forge an Alliance | |||
| DestroyWin=Trigger the Weapon | |||
| EscapeWin=Launch the Bifrost | |||
| ExploitWin=Tame the Enemy | |||
| ResistWin=Close the Gate | |||
| SubmitWin=Herald Our Masters | |||
}}</includeonly> | }}</includeonly> | ||
<noinclude> | <noinclude> | ||
| Line 66: | Line 66: | ||
# 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:28, 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|


