Jump to content

Template:OOO-Buildings: Difference between revisions

From Out of Ore Wiki
Created page with "<includeonly>{{#invoke:OOO_BuildingsBrowser|render}}</includeonly> <noinclude> {{Documentation}} == Purpose == Displays a browser view of building elements by subcategory using the OOO data modules. It automatically generates the list and infobox panels from: Module:OOO/Data/Buildings == Usage == <pre> {{OOO-Buildings |subcategory=Wood }} </pre> == Parameters == {| class="wikitable" ! Parameter ! Description |- | subcategory | Building subcategory to display (Wo..."
 
mNo edit summary
Line 1: Line 1:
<includeonly>{{#invoke:OOO_BuildingsBrowser|render}}</includeonly>
<includeonly>
<div class="ooo-browser">
{{{1|}}}
</div>
</includeonly>


<noinclude>
<noinclude>
Line 5: Line 9:


== Purpose ==
== Purpose ==
Displays a browser view of building elements by subcategory using the OOO data modules.
Wrapper template for displaying building browser content using the OOO browser layout.
 
It automatically generates the list and infobox panels from:
 
Module:OOO/Data/Buildings


== Usage ==
== Usage ==
Line 15: Line 15:
<pre>
<pre>
{{OOO-Buildings
{{OOO-Buildings
|subcategory=Wood
|
* Wood Block
{{OOOInfoBox|type=Buildings|art=400001}}
 
* Wood Floor
{{OOOInfoBox|type=Buildings|art=400002}}
}}
}}
</pre>
== Parameters ==
{| class="wikitable"
! Parameter
! Description
|-
| subcategory
| Building subcategory to display (Wood, Concrete, Steel, etc)
|}
== Example ==
<pre>
{{OOO-Buildings|subcategory=Wood}}
</pre>
</pre>


[[Category:OOO templates]]
[[Category:OOO templates]]
</noinclude>
</noinclude>

Revision as of 20:04, 4 March 2026


Template:Documentation

Purpose

Wrapper template for displaying building browser content using the OOO browser layout.

Usage

{{OOO-Buildings
|
* Wood Block
{{OOOInfoBox|type=Buildings|art=400001}}

* Wood Floor
{{OOOInfoBox|type=Buildings|art=400002}}
}}