Difference between revisions of "Template:Moons"
From Kerbal Space Program Wiki
m (Add localization) |
m (Make navboxes uniform) |
||
(One intermediate revision by one other user 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 | ||
Line 10: | Line 11: | ||
| 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; | | colstyle = line-height: 2em; padding: 0.25em 0.5em; | ||
| colwidth = 10em | | colwidth = 10em | ||
Line 35: | 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. |