Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Data:Example: Difference between revisions

From Kerbal Space Program 2 Wiki
(→‎Data sets: added info on entity tag)
Tag: 2017 source edit
(Example link changes)
Tag: 2017 source edit
Line 1: Line 1:
Pages in the Data: namespace are reserved for storing JSON-formatted information on game entities such as parts and celestial bodies. They are accessed and implemented in articles via [[Template:Data]]. Subpages of this page provide populated examples of various parts as well as a [[Data:Example/blank|blank]] example that lists every usable data set.
Pages in the Data: namespace are reserved for storing JSON-formatted information on game entities such as parts and celestial bodies. They are accessed and implemented in articles via [[Template:Data]]. Subpages of this page provide populated examples of various parts as well as a blank example that lists every usable data set for an entity type.


== Example subpages ==
== Example subpages ==
=== Parts ===
* [[Data:Example/part|Blank part]]
* [[Data:Example/engine|Engine]]
* [[Data:Example/engine|Engine]]
* [[Data:Example/command module|Command module]]
* [[Data:Example/command module|Command module]]
* [[Data:Example/science experiment|Science experiment]]
* [[Data:Example/science experiment|Science experiment]]
=== Celestial Bodies ===
* [[Data:Example/body|Celestial body]]
* [[Data:Example/body|Celestial body]]



Revision as of 19:35, 17 November 2024

Pages in the Data: namespace are reserved for storing JSON-formatted information on game entities such as parts and celestial bodies. They are accessed and implemented in articles via Template:Data. Subpages of this page provide populated examples of various parts as well as a blank example that lists every usable data set for an entity type.

Example subpages

Parts

Celestial Bodies

Data sets

A Data: page contains a wide variety of information relevant to its subject.

All Data: pages start with the Entity element which can be "part", "body", "node", et cetera. The following lists the data sets per entity type defined.

Parts

  • Name: The name of the part as it appears in-game.
  • Subtitle: The subtitle of the part as it appears in-game.
  • File: The file name, including the extension, of the wiki thumbnail image for the part. Should not include apostrophe, spaces, or periods.
  • Category: The part’s category such as fuel tank, engine, or utility.
  • Family: The part’s family, or subcategory, such as methalox, stabilizer, or battery.

Celestial bodies

MediaWiki Appliance - Powered by TurnKey Linux