Jump to content

Template:OOO-Vehicles: Difference between revisions

From Out of Ore Wiki
Created page with "<includeonly> {{OOO-Browser |list= {{{list|}}} |panels= {{{panels|}}} }} </includeonly> <noinclude> == Documentation == Wrapper for {{OOO-Browser}} used on vehicle pages. Keeps the page syntax cleaner by exposing the two required sections: * list * panels Browser behaviour and styling come from {{OOO-Browser}}. === Usage === <pre> {{OOO-Vehicles |list= <div class="ooo-browser__item is-active" data-target="dx20">DX20E</div> <div class="ooo-browser__item" data-targ..."
 
mNo edit summary
 
Line 10: Line 10:


<noinclude>
<noinclude>
== Documentation ==
Wrapper for vehicle browser pages.
 
Wrapper for {{OOO-Browser}} used on vehicle pages.
 
Keeps the page syntax cleaner by exposing the two required sections:
 
* list
* panels
 
Browser behaviour and styling come from {{OOO-Browser}}.
 
=== Usage ===
 
<pre>
{{OOO-Vehicles
|list=
<div class="ooo-browser__item is-active" data-target="dx20">DX20E</div>
<div class="ooo-browser__item" data-target="dx40">DX40E</div>
 
|panels=
<div id="dx20" class="ooo-browser__info is-active">
{{OOOInfoBox|type=Vehicles|art=600006}}
</div>
 
<div id="dx40" class="ooo-browser__info">
{{OOOInfoBox|type=Vehicles|art=600007}}
</div>
}}
</pre>


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

Latest revision as of 16:00, 8 March 2026


Wrapper for vehicle browser pages.