Jump to content

Template:OOO-Buildings

From Out of Ore Wiki


Documentation

Wrapper for


used on building pages.

Keeps the page syntax cleaner by exposing the two required sections:

  • list
  • panels

The browser behaviour and styling still come from


.

Usage

{{OOO-Buildings
|list=
<div class="ooo-browser__item is-active" data-target="woodblock">Wood Block</div>
<div class="ooo-browser__item" data-target="woodfloor">Wood Floor</div>

|panels=
<div id="woodblock" class="ooo-browser__info is-active">
{{OOOInfoBox|type=Buildings|art=400001}}
</div>

<div id="woodfloor" class="ooo-browser__info">
{{OOOInfoBox|type=Buildings|art=400002}}
</div>
}}