Content deleted Content added
No edit summary |
Tag: Undo |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 16: | Line 16: | ||
{ |
{ |
||
"params": { |
"params": { |
||
"1": { |
"1": { |
||
" |
"label": { |
||
" |
"en": "Tab #1 title", |
||
"he": "כותרת טאב #1" |
|||
| ⚫ | |||
}, |
|||
"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 |
|||
}, |
|||
| ⚫ | |||
| ⚫ | |||
"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": { |
||
" |
"label": { |
||
"he": "כפתור מעוגל" |
|||
| ⚫ | |||
} |
|||
}, |
|||
" |
"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> |
||
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Tab #1 title | 1 | no description | String | required |
| Tab #2 title | 2 | no description | String | required |
| Tab #3 title | 3 | no description | String | suggested |
| Tab #4 title | 4 | no description | String | suggested |
| Tab #5 title | 5 | no description | String | suggested |
| target ID for tab 1 | tab1 | no description
| String | optional |
| target ID for tab 2 | tab2 | no description
| String | optional |
| target ID for tab 3 | tab3 | no description
| String | optional |
| target ID for tab 4 | tab4 | no description
| String | optional |
| target ID for tab 5 | tab5 | no description
| String | optional |
| tab-header-class | tab-header-class | no description | Unknown | optional |
| rounded | rounded | no description | Unknown | optional |