Toggle menu
7
505
3
1.1K
ZNY Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:TabAutoselect

Template page
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>

1st Tab Content Heading

Tab content for first tab

2nd Tab Content Heading

Tab content for second tab