Difference between revisions of "Template:Navbox experiments"
Jump to navigation
Jump to search
(Created page with "{{Navbox | name = {{subst:PAGENAME}} | title = Experiments | listclass = hlist | list1 = * x30px Fire * File:Experim...") |
(Add state param, templatedata) |
||
Line 3: | Line 3: | ||
| title = Experiments | | title = Experiments | ||
| listclass = hlist | | listclass = hlist | ||
+ | | state = {{{state|}}} | ||
| list1 = | | list1 = | ||
* [[File:Experiment Fire icon.png|x30px]] [[Experiment: Fire|Fire]] | * [[File:Experiment Fire icon.png|x30px]] [[Experiment: Fire|Fire]] | ||
Line 18: | Line 19: | ||
| list2 = | | list2 = | ||
* ''Related building: [[File:Purple resource.png|x20px]] [[Laboratory]]'' | * ''Related building: [[File:Purple resource.png|x20px]] [[Laboratory]]'' | ||
− | }} | + | }}<noinclude> |
+ | <templatedata> | ||
+ | { | ||
+ | "params": { | ||
+ | "state": { | ||
+ | "label": "Initial State", | ||
+ | "description": "Whether the box should be expanded or collapsed initially.", | ||
+ | "example": "expanded", | ||
+ | "type": "string", | ||
+ | "default": "autocollapse" | ||
+ | } | ||
+ | }, | ||
+ | "description": "Add a navbox with links to laboratory experiments", | ||
+ | "format": "inline" | ||
+ | } | ||
+ | </templatedata> | ||
+ | </noinclude> |
Revision as of 01:44, 4 March 2021
Add a navbox with links to laboratory experiments
Parameter | Description | Type | Status | |
---|---|---|---|---|
Initial State | state | Whether the box should be expanded or collapsed initially.
| String | optional |