Template:Tabber/doc: Difference between revisions

m (Text replacement - "$contentsstyle" to "$constyle")
Tags: Mobile edit Mobile web edit
Line 3: Line 3:


== Parameters ==
== Parameters ==
  [[File:Icon - Info.png|20px]] ''Tip'': All parameters get parsed as tab=content, unless they start with the '''$''' sign. These parameters are optional.
  [[File:Icon - Info.png|20px]] '''Tip''': All parameters get parsed as tab=content, unless they start with the '''$''' sign. These parameters are optional.
*<code>$divclass</code> - adds a custom class to the wrapper of the tabs
*<code>$divclass</code> - adds a custom class to the wrapper of the tabs
**available <code>tabber-center</code> that centers tabs horizontally and <code>tabber-vertical</code> that swaps the layout to vertical mode
**available <code>tabber-center</code> that centers tabs horizontally, <code>tabber-vertical</code> that swaps the layout to vertical mode and <code>tabber-border</tab> that adds a subtle border with padding around contents
*<code>$divstyle</code> - adds a style to the wrapper of the tabs
*<code>$divstyle</code> - adds a style to the wrapper of the tabs
*<code>$tab[number]style</code> - adds styles to the tab on the specified index
*<code>$tab[number]style</code> - adds styles to the tab on the specified index
*<code>$tab[number]style</code> - adds styles to the content box on the specified index
*<code>$con[number]style</code> - adds styles to the content box on the specified index
*<code>$tabstyle</code> - adds styles to tabs
*<code>$tabstyle</code> - adds styles to tabs
*<code>$constyle</code> - adds styles to content boxes
*<code>$constyle</code> - adds styles to content boxes
*<code>$ulstyle</code> - adds styles to tab list
*<code>$ulstyle</code> - adds styles to tab list
*<code>$ulclass</code> - adds class to tab list
*<code>$ulclass</code> - adds classes to tab list


== Example usage ==
== Example usage ==