Template:Tabbed infobox: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><div class="infobox tabbed" style="float:right; clear:right; width:{{{width|310}}}px; margin:0 0 0.5em 1em; padding:0 !important; background:transparent !important; font-size:100% !important"><div class="tabcontainer" style="padding:5px">{{#forargs:title|key|value|<div class="tabbox"><div class="tab">{{#var:value}}</div>
<includeonly><div class="infobox tabbed" style="float:right; clear:right; width:{{{width|315px}}}; margin:0 0 0.5em 1em; padding:0 !important; background:transparent !important; font-size:100% !important"><div class="tabcontainer" style="padding:5px">{{#forargs:title|key|value|<div class="tabbox"><div class="tab">{{#var:value}}</div>
{{{content{{#var:key}}|}}}</div>}}</div></div></includeonly><noinclude>
{{{content{{#var:key}}|}}}</div>}}</div></div></includeonly><noinclude>
==About==
==About==
This template uses the tabcontainer feature for infoboxes and supports unlimited tabs.
This template uses the tabcontainer feature for infoboxes. An optional '''width''' parameter may be added to change the infobox width (default: 315px).


<pre>
<pre>