Difference between revisions of "Template:Body data/Name"
From Kerbal Space Program Wiki
m (XZise moved page Template:BodyData/Name to Template:Body data/Name: lowercase and spaced) |
m (*moved template;) |
||
Line 22: | Line 22: | ||
}}</includeonly><noinclude>Returns the transcribed name of a [[celestial body]]. If the first parameter is ''Infobox'' (e.g. when used in {{Tl|Infobox/Body}}) it returns <tt>Infobox</tt>. This template allows a second parameter to force a specific language. Uses a language code supported by {{Tl|lang}}. When the first parameter is “<tt>Sun</tt>”, it returns the translation for “<tt>Sun</tt>” and not the same as “<tt>Kerbol</tt>”. | }}</includeonly><noinclude>Returns the transcribed name of a [[celestial body]]. If the first parameter is ''Infobox'' (e.g. when used in {{Tl|Infobox/Body}}) it returns <tt>Infobox</tt>. This template allows a second parameter to force a specific language. Uses a language code supported by {{Tl|lang}}. When the first parameter is “<tt>Sun</tt>”, it returns the translation for “<tt>Sun</tt>” and not the same as “<tt>Kerbol</tt>”. | ||
− | The {{Tl| | + | The {{Tl|Body data/full name}} shows the English and translated name. |
− | |||
[[Category:BodyData Base Templates|Name]]</noinclude> | [[Category:BodyData Base Templates|Name]]</noinclude> |
Revision as of 20:28, 31 August 2014
Returns the transcribed name of a celestial body. If the first parameter is Infobox (e.g. when used in {{Infobox/Body}}) it returns Infobox. This template allows a second parameter to force a specific language. Uses a language code supported by {{lang}}. When the first parameter is “Sun”, it returns the translation for “Sun” and not the same as “Kerbol”.
The {{Body data/full name}} shows the English and translated name.