Template:Tab-header: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 16: Line 16:
{
{
"params": {
"params": {
"1": {},
"1": {
"2": {},
"label": {
"3": {},
"en": "Tab #1 title",
"he": "כותרת טאב #1"
"4": {},
"5": {},
},
"type": "string",
"required": true,
"suggested": true
},
"2": {
"label": {
"en": "Tab #2 title",
"he": "כותרת טאב #2"
},
"type": "string",
"required": true,
"suggested": true
},
"3": {
"label": {
"en": "Tab #3 title",
"he": "כותרת טאב #3"
},
"type": "string",
"suggested": true
},
"4": {
"label": {
"en": "Tab #4 title",
"he": "כותרת טאב #4"
},
"type": "string",
"suggested": true
},
"5": {
"label": {
"en": "Tab #5 title",
"he": "כותרת טאב #5"
},
"type": "string",
"suggested": true
},
"tab-header-class": {},
"tab-header-class": {},
"rounded": {},
"rounded": {
"tab1": {},
"label": {
"he": "כפתור מעוגל"
"tab2": {},
"tab3": {},
}
"tab4": {},
},
"tab5": {}
"tab1": {
"label": {
}
"en": "target ID for tab 1",
"he": "ID ייחודי לטאב 1"
},
"example": "#tab-primarty",
"type": "string"
},
"tab2": {
"label": {
"en": "target ID for tab 2",
"he": "ID ייחודי לטאב 2״"
},
"example": "#tab-primarty",
"type": "string"
},
"tab3": {
"label": {
"en": "target ID for tab 3",
"he": "ID ייחודי לטאב 3"
},
"example": "#tab-primarty",
"type": "string"
},
"tab4": {
"label": {
"en": "target ID for tab 4",
"he": "ID ייחודי לטאב 4"
},
"example": "#tab-primarty",
"type": "string"
},
"tab5": {
"label": {
"en": "target ID for tab 5",
"he": "ID ייחודי לטאב 5"
},
"example": "#tab-primarty",
"type": "string"
}
},
"paramOrder": [
"1",
"2",
"3",
"4",
"5",
"tab1",
"tab2",
"tab3",
"tab4",
"tab5",
"tab-header-class",
"rounded"
]
}
}
</templatedata>
</templatedata>

Revision as of 09:48, 18 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