Difference between revisions of "Template:Infobox/Location"

From Kerbal Space Program Wiki
Jump to: navigation, search
m
m (Added name parameter)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
 +
|name={{{name|}}}
 
|file={{{file|}}}
 
|file={{{file|}}}
 
|subtitle={{{subtitle|{{#ifeq:{{{at|}}}|KSC|{{lang|en=[[KSC]] building|fr=Bâtiment du [[KSC/fr|KSC]]|it=Edificio del [[KSC/it|KSC]]}}|}}}}}
 
|subtitle={{{subtitle|{{#ifeq:{{{at|}}}|KSC|{{lang|en=[[KSC]] building|fr=Bâtiment du [[KSC/fr|KSC]]|it=Edificio del [[KSC/it|KSC]]}}|}}}}}
Line 21: Line 22:
  
 
{{Parameter table|name=text|parameters=
 
{{Parameter table|name=text|parameters=
 +
{{Parameter row|name|Name of location. Default: BASENAMEPAGE}}
 
{{Parameter row|file|Shows an image of the location.|[[:File:Image needed.svg]]}}
 
{{Parameter row|file|Shows an image of the location.|[[:File:Image needed.svg]]}}
 
{{Parameter row|file tier1|An image of the first tier version|Not set}}
 
{{Parameter row|file tier1|An image of the first tier version|Not set}}

Revision as of 21:05, 3 May 2019

Infobox
Infobox
Altitude Unknown
Since version Unknown
An infobox for general locations, including easter eggs.
Name Optional Description Default
name No Name of location. Default: BASENAMEPAGE
file Yes Shows an image of the location. File:Image needed.svg
file tier1 Yes An image of the first tier version Not set
file tier2 Yes An image of the second tier version Not set
body Yes Body on which this location is. Uses {{Body data}} to determine image and text. Not set/Hidden
at Yes The place at which that location is and automatically sets the body parameter. Uses {{Place data}} to determine image and text. Not set/Hidden
latitude Yes Latitude of the position. Positive is north, negative is south. Not set/Hidden
longitude Yes Longitude of the position. Positive is east, negative is west. Not set/Hidden
altitude Yes Altitude above mean sea level of the location in meters. Unknown
easteregg Yes If the location is an easter egg. Not set/Hidden
since Yes Since when is this location available. Unknown
notes Yes Notes Not set/Hidden
coord note Yes Note about the coordination. Automatically sets {{{notes}}} to <references group="Note" />. Not set