Template:Tabber/doc: Difference between revisionsGive feedback
Updated doc with translate stuff |
Added templatedata and categories |
||
| Line 17: | Line 17: | ||
</pre> | </pre> | ||
{{Tabber|1=Heroes/zh-hans|l1=英雄}} | {{Tabber|1=Heroes/zh-hans|l1=英雄}} | ||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Tab 1 Link", | |||
"description": "Page name for the first tab.", | |||
"type": "wiki-page-name", | |||
"required": true | |||
}, | |||
"l1": { | |||
"label": "Tab 1 Label", | |||
"description": "Manual text override for Tab 1.", | |||
"type": "string" | |||
}, | |||
"t1": { | |||
"label": "Tab 1 Translation Key", | |||
"description": "Dictionary key for automatic translation of Tab 1. (e.g. 'Heroes')", | |||
"type": "string" | |||
}, | |||
"2": { | |||
"label": "Tab 2 Link", | |||
"description": "Page name for the second tab.", | |||
"type": "wiki-page-name" | |||
}, | |||
"l2": { | |||
"label": "Tab 2 Label", | |||
"description": "Manual text override for Tab 2.", | |||
"type": "string" | |||
}, | |||
"t2": { | |||
"label": "Tab 2 Translation Key", | |||
"description": "Dictionary key for automatic translation of Tab 2.", | |||
"type": "string" | |||
}, | |||
"3": { | |||
"label": "Tab 3 Link", | |||
"description": "Page name for the third tab.", | |||
"type": "wiki-page-name" | |||
}, | |||
"l3": { | |||
"label": "Tab 3 Label", | |||
"description": "Manual text override for Tab 3.", | |||
"type": "string" | |||
}, | |||
"t3": { | |||
"label": "Tab 3 Translation Key", | |||
"description": "Dictionary key for automatic translation of Tab 3.", | |||
"type": "string" | |||
}, | |||
"4": { | |||
"label": "Tab 4 Link", | |||
"description": "Page name for the fourth tab.", | |||
"type": "wiki-page-name" | |||
}, | |||
"l4": { | |||
"label": "Tab 4 Label", | |||
"description": "Manual text override for Tab 4.", | |||
"type": "string" | |||
}, | |||
"t4": { | |||
"label": "Tab 4 Translation Key", | |||
"description": "Dictionary key for automatic translation of Tab 4.", | |||
"type": "string" | |||
} | |||
}, | |||
"format": "inline", | |||
"description": "Template used to create navigation tabs for any page." | |||
} | |||
</templatedata><includeonly>[[Category:Navigation templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | |||