Template:ProjectDataNameRedirect: Difference between revisions

From Terra Invicta Official Wiki
Redwah (talk | contribs)
Created page with "<includeonly>{{subst:#switch:{{{1}}} |Alien Signatures=#REDIRECT Project_TheirSignatures |Alien Methods=#REDIRECT Project_TheirMethods |Alien Operations=#REDIRECT Project_TheirOperations |Alien Movements=#REDIRECT Project_TheirMovements |Alien Origin=#REDIRECT Project_TheirOrigin |Hydra Biology=#REDIRECT Project_HydraBiology |Pherocytes=#REDIRECT Project_Pherocytes |Alien Containment=#REDIRECT Project_AlienContainment |Hydra Language=#REDI..."
 
Redwah (talk | contribs)
No edit summary
Line 687: Line 687:
|Fleet Officer Schoolhouses=#REDIRECT [[Project_FleetOfficerSchoolhouses]]
|Fleet Officer Schoolhouses=#REDIRECT [[Project_FleetOfficerSchoolhouses]]
}}</includeonly><noinclude>  
}}</includeonly><noinclude>  
A template for converting Project Display Names into Project Data Names.
A template for converting Project Display Names into REDIRECTS into Project Data Name pages.
 
Note: Inefficient if used several times in a page. See [[RawProjectDisplayName_Explanation]] for more efficient mass conversions.
 
== Usage ==
 
For example:
<pre>{{ProjectDataName|Armor Struts}}</pre>
will return "{{ProjectDataName|Armor Struts}}", the Data Name for the Project whose Display Name is "Armor Struts".
 
== Updating This Template ==
 
To update this template, simply perform the following steps:
# Open the file <pre> TIProjectTemplate.en </pre>, which is located in <pre> \Terra Invicta\TerraInvicta_Data\StreamingAssets\Localization\en </pre>
# Do a search for every line that starts with <pre>TIProjectTemplate.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><noinclude> </pre>
# Do a search and replace to replace every <pre>TIProjectTemplate.displayName.</pre> with <pre>|</pre>, except for those instances inside these instructions.
# Swap all values to the other side of the =.
 
</noinclude>
</noinclude>

Revision as of 20:28, 29 June 2025

A template for converting Project Display Names into REDIRECTS into Project Data Name pages.