Difference between revisions of "Template:Resources"
From Kerbal Space Program Wiki
m (some typos) |
m (Make navboxes uniform) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}} | {{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}} | ||
| name = Resources{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}} | | name = Resources{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}} | ||
− | | title = | + | | state = {{{state|}}} |
+ | | title = {{if lang link|Resources | ||
+ | |en = Resources | ||
+ | |de = Ressourcen | ||
+ | |es = Recursos | ||
+ | |fr = Ressources | ||
+ | |it = Risorse | ||
+ | |ja = 資源 | ||
+ | |nl = Grondstoffen | ||
+ | |pt = Recursos | ||
+ | |ru = Ресурсы | ||
+ | |zh-cn = 资源 | ||
+ | }} | ||
| listclass = hlist | | listclass = hlist | ||
− | |||
| group1 = | | group1 = | ||
− | | list1 = | + | | list1 = |
* {{Dict/resource|Liquid fuel}} | * {{Dict/resource|Liquid fuel}} | ||
* {{Dict/resource|Oxidizer}} | * {{Dict/resource|Oxidizer}} | ||
Line 20: | Line 31: | ||
}}<includeonly>{{Main other|[[Category:Resources{{if lang}}]]}}</includeonly><noinclude> | }}<includeonly>{{Main other|[[Category:Resources{{if lang}}]]}}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
− | |||
</noinclude> | </noinclude> |
Latest revision as of 20:28, 22 September 2024
Usage
Add {{Resources}}
at the bottom of an article that is related to Resources.
Purpose
The purpose of the {{Resources}} template is to provide a structure to ease navigation between the resources. Feel free to restructure it to add further clarity.
Articles including the template will be added to Category:Resources.
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.{{Resources |state=collapsed}}
|state=expanded
to show the template in its expanded state, i.e. fully visible – e.g.{{Resources |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:Resources/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. |