More actions
dev>Asher@nyartcc.org Created |
m 1 revision imported: Template migration from wiki-dev |
||
(No difference)
| |||
Latest revision as of 23:56, 26 March 2026
- The documentation below can be viewed and edited on Template:TabAutoselect/doc. purge its cache
Purpose
This template adds metadata inside of a <tabber> control that automatically selects the surrounding tab on page load. Useful for when you want a tab besides the first one in a sequence selected initially.
Usage
Syntax
<tabber>
|-|Tab Title One=
...tab content 1...
|-|Tab Title Two=
{{TabAutoselect}}
...tab content 2...
</tabber>
Parameters
None
Example
<tabber>
|-|Tab Title One=
====1st Tab Content Heading====
Tab content for first tab
|-|Tab Title Two=
{{TabAutoselect}}
====2nd Tab Content Heading====
Tab content for second tab
</tabber>