Difference between revisions of "Template:Place data"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (!first exploded element;)
Line 13: Line 13:
 
|page=
 
|page=
 
|#default={{{3|}}}
 
|#default={{{3|}}}
 +
}}
 +
|oldAirfield=
 +
{{#switch:{{{2}}}
 +
|body=Kerbin
 +
|image=Insular_KSC_hangars.png
 +
|name
 +
|page=Old Airfield
 +
|#default={{{3|}}}
 +
|kerbalFace=
 +
{{#switch:{{{2}}}
 +
|body=Duna
 +
|image=Kerbal_face.jpg
 +
|name=Giant Kerbal Face
 +
|page=
 +
|#default={{{3|}}}
 +
}}
 
}}
 
}}
 
|#default={{{3|}}}
 
|#default={{{3|}}}
Line 39: Line 55:
 
|-
 
|-
 
| Kerbal Space Center
 
| Kerbal Space Center
 +
|-
 +
| oldAirfield
 +
| [[Kerbin]]
 +
| Old Airfield
 +
| [[Old Airfield]]
 +
| The Old Airfield
 +
|-
 +
| kerbalFace
 +
| [[Duna]]
 +
| Giant Kerbal Face
 +
| —
 +
| The Giant Kerbal Face on Duna, which is an Easter egg
 
|-
 
|-
 
| B/Badlands
 
| B/Badlands

Revision as of 12:38, 15 October 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
oldAirfield Kerbin Old Airfield Old Airfield The Old Airfield
kerbalFace Duna Giant Kerbal Face The Giant Kerbal Face on Duna, which is an Easter egg
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.