Talk:Main Page/archive/2013/03
Jump to navigation
Jump to search
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:
--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}}}
}}
|}