Anonymous

Template:Tabber/doc: Difference between revisions

From Elwiki
Tags: Mobile edit Mobile web edit
Tags: Mobile edit Mobile web edit
Line 5: Line 5:
  [[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, <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
**available <code>tabber-center</code> that centers tabs horizontally, <code>tabber-vertical</code> that swaps the layout to vertical mode and <code>tabber-border</code> 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