Template:Tabbed infobox: Difference between revisions

(Created page with "<includeonly><templatestyles src="Tabbed infobox/styles.css"/><div class="infobox tabbed" style="width:{{{width|315px}}}; background:none !important; font-size:100% !important; padding:0 !important; margin:0 0 0.75em 1em"><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> ==About== This template uses the tabcontainer feat...")
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
{{{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. An optional '''width''' parameter may be added to change the infobox width (default: 315px).
This template is used to tab between '''multiple infoboxes'''. An optional '''width''' parameter may be added to change the infobox width (default: 315px).


<pre>
<pre>
Line 10: Line 10:
}}
}}
</pre>
</pre>
For displaying multiple images within an infobox image parameter, use {{tem|tabcontainer}}.


[[Category:Infobox templates|*]]</noinclude>
[[Category:Infobox templates|*]]</noinclude>

Latest revision as of 10:49, February 28, 2025

About

This template is used to tab between multiple infoboxes. An optional width parameter may be added to change the infobox width (default: 315px).

{{Tabbed infobox
|title1=
|content1=
}}

For displaying multiple images within an infobox image parameter, use {{tabcontainer}}.