Template:Tabber/doc: Difference between revisions

Line 4: Line 4:
== 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:
**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
*available
**<code>tabber-center</code> that centers tabs horizontally,
**<code>tabber-vertical</code> that swaps the layout to vertical mode,
**<code>tabber-border</code> that adds a subtle border with padding around contents,
**<code>tabber-padding</code> that increases the content padding,
**<code>fancy</code> that changes the design to resemble the in-game one.
*<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