Template:OOO-FAQ: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
| Line 14: | Line 14: | ||
| question2 = Can conveyors merge? | | question2 = Can conveyors merge? | ||
| answer2 = Yes, using splitters. | | answer2 = Yes, using splitters. | ||
}} | }} | ||
</pre> | </pre> | ||
<templatedata> | |||
{ | |||
"description": "Creates collapsible FAQ sections styled for the Out of Ore Wiki.", | |||
"params": { | |||
"question1": { "label": "Question 1", "type": "string" }, | |||
"answer1": { "label": "Answer 1", "type": "content" }, | |||
"question2": { "label": "Question 2", "type": "string" }, | |||
"answer2": { "label": "Answer 2", "type": "content" } | |||
}, | |||
"paramOrder": [ | |||
"question1","answer1", | |||
"question2","answer2" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||
Revision as of 21:46, 3 March 2026
OOO FAQ Template
Creates collapsible FAQ sections with unlimited entries.
Usage
{{OOO-FAQ
| question1 = How does power work?
| answer1 = Power is generated by generators.
| question2 = Can conveyors merge?
| answer2 = Yes, using splitters.
}}
Creates collapsible FAQ sections styled for the Out of Ore Wiki.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Question 1 | question1 | no description | String | optional |
| Answer 1 | answer1 | no description | Content | optional |
| Question 2 | question2 | no description | String | optional |
| Answer 2 | answer2 | no description | Content | optional |