Difference between revisions of "Template:Place data"
From Kerbal Space Program Wiki
m (!closed to often;) |
m (!first exploded element;) |
||
Line 10: | Line 10: | ||
|body=Kerbin | |body=Kerbin | ||
|image=KerbinBiomeMap.png | |image=KerbinBiomeMap.png | ||
− | |name={{#explode:{{{1}}}|/| | + | |name={{#explode:{{{1}}}|/|1}} |
|page= | |page= | ||
|#default={{{3|}}} | |#default={{{3|}}} |
Revision as of 13:57, 2 August 2014
A collection of data for the various places, similar to the idea of {{Body data}}. In future version this might work exactly like {{Body data}}.
Parameters
# | Optional | Description | Default |
---|---|---|---|
1 | No | The requested place's name. | |
2 | No | The requested place's property. | |
3 | No | The default value, if there is no such property or place. |
Places
Code | Body | Name | Page | Description |
---|---|---|---|---|
KSC | Kerbin | Kerbal Space Center | Kerbal Space Center | The Kerbal Space Center |
Kerbal Space Center | ||||
B/Badlands | Kerbin | Badlands | — | Biomes on Kerbin |
B/Desert | Desert | |||
B/Grasslands | Grasslands | |||
B/Highlands | Highlands | |||
B/Ice Caps | Ice Caps | |||
B/KSC | KSC | |||
B/Launch Pad | Launch Pad | |||
B/Mountain | Mountain | |||
B/Runway | Runway | |||
B/Shores | Shores | |||
B/Tundra | Tundra | |||
B/Water | Water |
Properties
Name | Description |
---|---|
body | The body this place is on. |
image | The image of that place without File: prefix. |
name | The name of the place |
page | The page of the place. Returns an empty string if there is no page. |