Terra Invicta Official Wiki:Game Data: Difference between revisions

From Terra Invicta Official Wiki
Redwah (talk | contribs)
Llamageddon (talk | contribs)
m →CSV Pages: +link to relevant navbox template
Line 11: Line 11:
These are often direct conversions of .json file contents to comma separated values, stored as normal page contents rather than raw files. These may cause errors when used by modules or templates if manually edited; they may be hard to categorize using standard wiki formatting.
These are often direct conversions of .json file contents to comma separated values, stored as normal page contents rather than raw files. These may cause errors when used by modules or templates if manually edited; they may be hard to categorize using standard wiki formatting.


* [[RawRegionDisplayName CSV]]
===== Game File CSVs =====
* [[TIBatteryTemplate CSV]]
* [[TIBatteryTemplate CSV]]
* [[TIBilateralTemplate CSV]]
* [[TIBilateralTemplate CSV]]
Line 31: Line 31:
* [[TITraitTemplate CSV]]
* [[TITraitTemplate CSV]]
* [[TIUtilityModuleTemplate CSV]]
* [[TIUtilityModuleTemplate CSV]]
For a reference of list pages making extensive use of these files, see also:
[[Template:Templates Navbox]]
===== Customised CSV's =====
* [[RawRegionDisplayName CSV]]


=== Lookup and Implementation ===
=== Lookup and Implementation ===

Revision as of 10:51, 2 December 2025

This page (currently a WIP) is intended to help editors organize and keep track of this wiki's extensive use of data from the Terra Invicta game files.

The Talk page here can also be used as a centralized location to coordinate editing, style guidance and planning in relation to this topic.

Pages

Storage & Reference

The following sections provide a (probably non-exhaustive) list of pages used for storing and referencing data taken directly from the game files.

CSV Pages

These are often direct conversions of .json file contents to comma separated values, stored as normal page contents rather than raw files. These may cause errors when used by modules or templates if manually edited; they may be hard to categorize using standard wiki formatting.

Game File CSVs

For a reference of list pages making extensive use of these files, see also:

Template:Templates Navbox

Customised CSV's

Lookup and Implementation

The following are most likely module or template pages that make exclusive or extensive use of game data on the wiki. They will usually often that pass data on to other modules or templates, or help standardize the presentation of game data within articles.

Switch Templates

These templates use a conventional switch argument to convert game data names into display names and vice versa. Generally only used inside page generation templates due to inefficiency compared to LUA when being called regularly.

Deprecated or Outdated Pages