Difference between revisions of "Template:Resources"

From Kerbal Space Program Wiki
Jump to: navigation, search
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 = [[{{if lang link|Resources}}
+
| 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
| state = {{{state|{{{1|}}}}}}
 
  
 
| 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}}
<!-- 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:Resources

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