Template:Tab-header: Difference between revisions

Content deleted Content added
No edit summary
Undo revision 3587 by FennecBot (talk)
Tag: Undo
 
Line 11: Line 11:
{{#if:{{{4|}}}|<li class="nav-item {{#if: {{{rounded|}}} | rounded |}}">{{#tag:btn|{{{tab4|#tab4}}}{{!}}{{{4|}}}|data-toggle="tab"|class="nav-link"}}</li>|}}
{{#if:{{{4|}}}|<li class="nav-item {{#if: {{{rounded|}}} | rounded |}}">{{#tag:btn|{{{tab4|#tab4}}}{{!}}{{{4|}}}|data-toggle="tab"|class="nav-link"}}</li>|}}
{{#if:{{{5|}}}|<li class="nav-item {{#if: {{{rounded|}}} | rounded |}}">{{#tag:btn|{{{tab5|#tab5}}}{{!}}{{{5|}}}|data-toggle="tab"|class="nav-link"}}</li>|}}
{{#if:{{{5|}}}|<li class="nav-item {{#if: {{{rounded|}}} | rounded |}}">{{#tag:btn|{{{tab5|#tab5}}}{{!}}{{{5|}}}|data-toggle="tab"|class="nav-link"}}</li>|}}
</ul></includeonly>
</ul><span style="display:none">{{#default_form:שער טאבים קיים}}</span>
</includeonly>
<noinclude>
<noinclude>
<templatedata>
<templatedata>

Latest revision as of 10:26, 30 August 2021

Template for adding tabs headers in conjunction with the Tab-body template:

{{Tab-header|tab1 title|tab2 title|tab3 title (optional)|tab4 title (optional)|tab5 title (optional)|tab-header-class=some class (optional)}}

{{Tab-body|tab1=tab body content|tab2=tab2 body content|tab3=tab3 body content (optional)|tab4=tab4 body content (optional)|tab5=tab5 body content (optional)|tab-body-class=tabs class (optional)}}


No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Tab #1 title1

no description

Stringrequired
Tab #2 title2

no description

Stringrequired
Tab #3 title3

no description

Stringsuggested
Tab #4 title4

no description

Stringsuggested
Tab #5 title5

no description

Stringsuggested
target ID for tab 1tab1

no description

Example
#tab-primarty
Stringoptional
target ID for tab 2tab2

no description

Example
#tab-primarty
Stringoptional
target ID for tab 3tab3

no description

Example
#tab-primarty
Stringoptional
target ID for tab 4tab4

no description

Example
#tab-primarty
Stringoptional
target ID for tab 5tab5

no description

Example
#tab-primarty
Stringoptional
tab-header-classtab-header-class

no description

Unknownoptional
roundedrounded

no description

Unknownoptional