Jump to content

Template:OOO-FAQ: Difference between revisions

From Out of Ore Wiki
mNo edit summary
mNo edit summary
Line 69: Line 69:
* Styling handled globally via Common.css   
* Styling handled globally via Common.css   


</noinclude>
<templatedata>
{
  "description": "Creates collapsible FAQ sections styled for the Out of Ore Wiki.",
  "params": {
    "content": {
      "label": "FAQ Content",
      "description": "Insert one or more collapsible FAQ items using mw-collapsible structure.",
      "type": "content",
      "required": true
    }
  }
}
</templatedata></noinclude>

Revision as of 21:27, 3 March 2026



OOO FAQ Template

Creates collapsible FAQ sections styled for the Out of Ore Wiki.


Usage

Copy and paste:

{{OOO-FAQ
| content =

<div class="mw-collapsible mw-collapsed ooo-faq__item">
<div class="ooo-faq__question">
Your question here?
</div>
<div class="mw-collapsible-content ooo-faq__answer">
Your answer text here.
</div>
</div>

}}

Example Preview

How does power work?

Power is generated by generators and distributed through cables.

Does multiplayer share power grids?

Yes. Connected systems share the same power network.




Notes

  • Uses MediaWiki native collapsible system
  • No JavaScript required
  • Works in light and dark themes
  • Multiple FAQ items supported
  • Styling handled globally via Common.css

Creates collapsible FAQ sections styled for the Out of Ore Wiki.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
FAQ Contentcontent

Insert one or more collapsible FAQ items using mw-collapsible structure.

Contentrequired