Difference between revisions of "Template:Moons"
From Kerbal Space Program Wiki
(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 = 卫星 | |
− | | | + | }} |
− | |||
− | |||
| listclass = nowrap plainlist | | listclass = nowrap plainlist | ||
− | | | + | | colstyle = line-height: 2em; padding: 0.25em 0.5em; |
+ | | colwidth = 10em | ||
| col1 = | | col1 = | ||
Line 33: | Line 36: | ||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
− | |||
</noinclude> | </noinclude> |
Latest revision as of 20:28, 22 September 2024
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
|
The above documentation is transcluded from Template:Moons/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |