Template:Tabcontainer: Difference between revisions

From Halopedia, the Halo wiki

(Created page with "<div class="tabcontainer"> {{#if:{{{title1|}}}| <div class="tabbox"><div class="tab">{{{title1|}}}</div> {{{content1|}}} </div>|}} {{#if:{{{title2|}}}| <div class="tabbox"><di...")
 
mNo edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="tabcontainer">
<includeonly><div class="tabcontainer">{{#forargs:title|key|value|<div class="tabbox"><div class="tab">{{#var:value}}</div>
{{#if:{{{title1|}}}|
{{{content{{#var:key}}}}}</div>}}</div></includeonly><noinclude>
<div class="tabbox"><div class="tab">{{{title1|}}}</div>
{{{content1|}}}
</div>|}}
{{#if:{{{title2|}}}|
<div class="tabbox"><div class="tab">{{{title2|}}}</div>
{{{content2|}}}
</div>|}}
{{#if:{{{title3|}}}|
<div class="tabbox"><div class="tab">{{{title3|}}}</div>
{{{content3|}}}
</div>|}}
{{#if:{{{title4|}}}|
<div class="tabbox"><div class="tab">{{{title4|}}}</div>
{{{content4|}}}
</div>|}}
{{#if:{{{title5|}}}|
<div class="tabbox"><div class="tab">{{{title5|}}}</div>
{{{content5|}}}
</div>|}}
{{#if:{{{title6|}}}|
<div class="tabbox"><div class="tab">{{{title6|}}}</div>
{{{content6|}}}
</div>|}}
{{#if:{{{title7|}}}|
<div class="tabbox"><div class="tab">{{{title7|}}}</div>
{{{content7|}}}
</div>|}}
{{#if:{{{title8|}}}|
<div class="tabbox"><div class="tab">{{{title8|}}}</div>
{{{content8|}}}
</div>|}}
{{#if:{{{title9|}}}|
<div class="tabbox"><div class="tab">{{{title9|}}}</div>
{{{content9|}}}
</div>|}}
{{#if:{{{title10|}}}|
<div class="tabbox"><div class="tab">{{{title10|}}}</div>
{{{content10|}}}
</div>|}}
</div>
==About==
==About==
This template uses the tabcontainer feature and supports up to 10 tabs.
This template uses the tabcontainer feature and supports unlimited tabs.


<pre>
<pre>
Line 51: Line 11:
</pre>
</pre>


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

Latest revision as of 08:45, October 30, 2023

About

This template uses the tabcontainer feature and supports unlimited tabs.

{{Tabcontainer
|title1=
|content1=
}}