Difference between revisions of "Template:Moons"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created for Category:Moons, translations scraped off existing cat pages)
 
m (Make navboxes uniform)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Navbox with columns
+
{{Navbox with columns{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
| name = Moons
+
| name = Moons{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
 +
| state = {{{state|}}}
 
| title = {{if lang link|Moon
 
| title = {{if lang link|Moon
 
   | en = Moons
 
   | en = Moons
 +
  | de = Monde
 +
  | fr = Lunes
 
   | hu = Holdak
 
   | hu = Holdak
 
   | it = Lune
 
   | it = Lune
 +
  | nl = Manen
 
   | pl = Księżyce
 
   | pl = Księżyce
 
   | ru = Естественные спутники
 
   | ru = Естественные спутники
   }}
+
   | zh-cn = 卫星
| coltablestyle = padding: 0.25em 1em; width: 100%
+
}}
| colstyle = line-height: 2em; padding-left: 0.25em; padding-right: 0.25em;
 
| colwidth = 25%
 
 
| listclass = nowrap plainlist
 
| listclass = nowrap plainlist
| state = {{{state|{{{1|}}}}}}
+
| colstyle = line-height: 2em; padding: 0.25em 0.5em;
 +
| colwidth = 10em
  
 
| col1 =
 
| col1 =
Line 33: Line 36:
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
<!-- Add categories to the /doc subpage, not here! -->
 
 
</noinclude>
 
</noinclude>

Latest revision as of 20:28, 22 September 2024

Documentation icon Template documentation[view] [edit] [history] [purge]Pages that link to Template:Moons

Usage

Add {{Moons}} at the bottom of an article that is related to the Kerbol System.

In most cases, {{Celestial Bodies}} should be used instead of this template; this template is only for situations where it is preferred to omit the planets and list just the moons, such as Category:Moons.

Purpose

The purpose of the {{Moons}} template is to provide a structure to ease navigation between the moons available in KSP. Feel free to restructure it to add further clarity.

Collapsible options

How to manage this template's initial visibility
To manage this template's visibility when it first appears, add the parameter:

|state=collapsed to show the template in its collapsed state, i.e. hidden apart from its titlebar – e.g. {{Moons |state=collapsed}}
|state=expanded to show the template in its expanded state, i.e. fully visible – e.g. {{Moons |state=expanded}}

Unless set otherwise (see the |state= parameter in the template's code), the template's default state is expanded.

See also