Template:Tabber

From Hetalia Archives
Revision as of 23:47, 21 April 2015 by FH14 (Talk | contribs) (Created page with "Adds 'tabs' to wiki pages to support wiki sub-page like constructs. Use instead of <nowiki><tabber></nowiki> tags, which are unconfigurable, unsearchable, and unstable when us...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Adds 'tabs' to wiki pages to support wiki sub-page like constructs. Use instead of <tabber> tags, which are unconfigurable, unsearchable, and unstable when used with several of the Wikia extensions, and overcomes various client performance issues. See Help:Tabber for more help. See also MediaWiki:Tabber.

Template from the WoW wiki

Usage
style= additional css to use for each tabs container
tight= [0,1] for fitting in tight spaces, or with content that is already 'fitted' and does not need padding.
clear= [none,left,right,both] automatically clear after tabs, default is 'both'.
disable= [0,1] disables to see what looks like un-tabbed. all 'Tabber' on a page must be disabled.
Conversion

To convert a Tabber extension block to a Tabber template block, simply replace all of the '=' and '|-|', with only '|', and the '<tabber>' with '{{Tabber' and '</tabber>' with '}}'. Can also remove any {{clr}} at the bottom which wouldno longer be necessary. Important: For blocks that contain 'loose' '|', like tables, wrap the contents with single <choose><option>table</option></choose> tag. Most other uses of '|' in wiki text are naturally 'scoped', and do not have this problem.

Example
{{Tabber
|Tab Name|Description
|Tab Name|Description
|Tab Name|Description
}}
  {{{t1}}}

{{{c1}}}


Template