Talk:Main Page/archive/2013/03

From Kerbal Space Program Wiki
< Talk:Main Page
Revision as of 01:51, 19 July 2013 by RoboJeb (talk | contribs) (Robot: Archiving 1 thread from Talk:Main Page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This page is an archive of discussions for Talk:Main Page. If you wish to continue a discussion displayed on this page, please start it again on the main talk page.

Updating planetrow

Hi, with Kerbol System I worked on an advanced template ({{BodyBox}}) which adds a little more space around the planets. And is it possible to lineup the background with the boxes above and below. An example with the new template:

TinyKerbol.pngKerbol TinyMoho.pngMoho TinyEve.pngEve TinyKerbin.pngKerbin TinyDuna.pngDuna TinyDres.pngDres TinyJool.pngJool TinyEeloo.pngEeloo

--XZise (talk) 15:25, 21 February 2013 (CST)

Is it possible to make "if lang" support for this template for non-latin transliteration of names? --Vatnik (talk) 08:27, 23 March 2013 (CDT)
Using {{lang}} (I guess this template you are wanting to use) needs to be updating in {{Main Page Layout}} everytime a language is added, I guess it should be done like in {{Main Page Layout}} by using additional parameters like “kerbin-name“ so Main Page/ru then could change the name of the Planet by using the parameter. So {{Main Page Layout}} uses the upper templates in this way:
{| class="mp-planetnav" width="100%"
{{BodyBox
|image=TinyKerbol.png
|name={{{kerbol-name|Kerbol}}}
|size=S
}}
{{BodyBox
|image=TinyMoho.png
|name={{{moho-name|Moho}}}
}}
{{BodyBox
|image=TinyEve.png
|name={{{eve-name|Eve}}}
}}
{{BodyBox
|image=TinyKerbin.png
|name={{{kerbin-name|Kerbin}}}
}}
{{BodyBox
|image=TinyDuna.png
|name={{{duna-name|Duna}}}
}}
{{BodyBox
|image=TinyDres.png
|name={{{dres-name|Dres}}}
}}
{{BodyBox
|image=TinyJool.png
|name={{{jool-name|Jool}}}
}}
{{BodyBox
|image=TinyEeloo.png
|name={{{eeloo-name|Eeloo}}}
}}
|}
XZise (talk) 13:30, 23 March 2013 (CDT)
That will be good, thanks! Somebody, who have permission to do this, should update Main Page Layout template--Vatnik (talk) 20:46, 23 March 2013 (CDT)