Template:Navbox experiments: Difference between revisions
Jump to navigation
Jump to search
m Fix laboratory icon colour |
Use <onlyinclude> and use element icons directly |
||
| Line 1: | Line 1: | ||
{{Navbox | <onlyinclude>{{Navbox | ||
| name = Navbox experiments | | name = Navbox experiments | ||
| title = Experiments | | title = Experiments | ||
| Line 5: | Line 5: | ||
| state = {{{state|}}} | | state = {{{state|}}} | ||
| list1 = | | list1 = | ||
* {{Icon link| | * {{Icon link|Fire element icon.png|Experiment: Fire|Fire}} | ||
* {{Icon link| | * {{Icon link|Water element icon.png|Experiment: Water|Water}} | ||
* {{Icon link| | * {{Icon link|Nature element icon.png|Experiment: Nature|Nature}} | ||
* {{Icon link| | * {{Icon link|Earth element icon.png|Experiment: Earth|Earth}} | ||
* {{Icon link| | * {{Icon link|Electricity element icon.png|Experiment: Electricity|Electricity}} | ||
* {{Icon link| | * {{Icon link|Darkness element icon.png|Experiment: Darkness|Darkness}} | ||
* {{Icon link| | * {{Icon link|Light element icon.png|Experiment: Light|Light}} | ||
* {{Icon link| | * {{Icon link|Air element icon.png|Experiment: Air|Air}} | ||
* {{Icon link| | * {{Icon link|Neutral element icon.png|Experiment: Neutral|Neutral}} | ||
* {{Icon link| | * {{Icon link|Universal element icon.png|Experiment: Universal|Universal}} | ||
* {{Icon link|Gem.png|Experiment: Gems|Gems}} | * {{Icon link|Gem.png|Experiment: Gems|Gems}} | ||
* {{Icon link|Exotic gem.png|Experiment: Exotic|Exotic}} | * {{Icon link|Exotic gem.png|Experiment: Exotic|Exotic}} | ||
| list2 = | | list2 = | ||
* ''Related building: {{Icon link|Green resource.png|Laboratory|size=x20px}}'' | * ''Related building: {{Icon link|Green resource.png|Laboratory|size=x20px}}'' | ||
}}< | }}</onlyinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Add a navbox with links to laboratory experiments", | |||
"format": "inline", | |||
"params": { | "params": { | ||
"state": { | "state": { | ||
"label": "Initial State", | "label": "Initial State", | ||
"description": "Whether the box should be expanded or collapsed initially.", | "description": "Whether the box should be expanded or collapsed initially.", | ||
"default": "autocollapse", | |||
"example": "expanded", | "example": "expanded", | ||
"type": "string | "type": "string" | ||
} | } | ||
} | } | ||
} | } | ||
</templatedata> | </templatedata> | ||
Latest revision as of 15:08, 10 March 2026
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 |