Difference between revisions of "Template:Body data/Name"
From Kerbal Space Program Wiki
m (+link to similar template;) |
Lajoswinkler (talk | contribs) m |
||
Line 1: | Line 1: | ||
<includeonly>{{ #switch: {{{1}}} | <includeonly>{{ #switch: {{{1}}} | ||
− | |Sun={{lang|en=Sun|pl=Słońce|nl=zon|ru=Солнце|de=Sonne|zh-cn=太阳|ko=태양|force={{{2|}}}}} | + | |Sun={{lang|en=Sun|pl=Słońce|nl=zon|ru=Солнце|hr=Sunce|de=Sonne|zh-cn=太阳|ko=태양|force={{{2|}}}}} |
|Kerbol={{lang|en=Kerbol|ru=Кербол|ko=커볼|force={{{2|}}}}} | |Kerbol={{lang|en=Kerbol|ru=Кербол|ko=커볼|force={{{2|}}}}} | ||
|Moho={{lang|en=Moho|ru=Мохо|ko=모호|force={{{2|}}}}} | |Moho={{lang|en=Moho|ru=Мохо|ko=모호|force={{{2|}}}}} |
Revision as of 05:02, 18 January 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 {{BodyData/FullName}} shows the English and translated name.