Difference between revisions of "Template:Body data/Name"

From Kerbal Space Program Wiki
Jump to: navigation, search
(insert of jp name)
 
Line 1: Line 1:
 
<includeonly>{{ #switch: {{{1}}}
 
<includeonly>{{ #switch: {{{1}}}
|Sun={{lang|en=Sun|pl=Słońce|nl=Zon|fr=Soleil|ru=Солнце|hr=Sunce|de=Sonne|zh-cn=太阳|ko=태양|hu=Nap|ja=太陽|force={{{2|}}}}}
+
|Sun={{lang|en=Sun|pl=Słońce|nl=Zon|fr=Soleil|ru=Солнце|hr=Sunce|de=Sonne|zh-cn=太阳|ko=태양|hu=Nap|ja=太陽|tr=Güneş|force={{{2|}}}}}
 
|Kerbol={{lang|en=Kerbol|ru=Кербол|ko=커볼|he=קֶרְבּוֹל|ja=カーボル|force={{{2|}}}}}
 
|Kerbol={{lang|en=Kerbol|ru=Кербол|ko=커볼|he=קֶרְבּוֹל|ja=カーボル|force={{{2|}}}}}
 
|Moho={{lang|en=Moho|ru=Мохо|ko=모호|he=מוֹהוֹ|ja=モーホー|force={{{2|}}}}}
 
|Moho={{lang|en=Moho|ru=Мохо|ko=모호|he=מוֹהוֹ|ja=モーホー|force={{{2|}}}}}

Latest revision as of 22:19, 11 January 2019

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.