ElEditors, Interface administrators, Administrators
70,975
edits
m (→Parameters) |
m (Text replacement - "$containerclass" to "$divclass") |
||
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>$ | *<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 and <code>tabber-vertical</code> that swaps the layout to vertical mode | ||
*<code>$containerstyle</code> - adds a style to the wrapper of the tabs | *<code>$containerstyle</code> - adds a style to the wrapper of the tabs | ||
Line 17: | Line 17: | ||
<pre> | <pre> | ||
{{Tabber | {{Tabber | ||
|$ | |$divclass=test | ||
|Orange=Content of tab 1 | |Orange=Content of tab 1 | ||
|Banana=Content of tab 2 | |Banana=Content of tab 2 | ||
Line 26: | Line 26: | ||
'''Result''': | '''Result''': | ||
{{Tabber | {{Tabber | ||
|$ | |$divclass=test | ||
|Orange=Content of tab 1 | |Orange=Content of tab 1 | ||
|Banana=Content of tab 2 | |Banana=Content of tab 2 | ||
Line 56: | Line 56: | ||
Use like so: | Use like so: | ||
{{Tabber | {{Tabber | ||
|$ | |$divclass=test | ||
|Tab 1=<dfn>{{</dfn> | |Tab 1=<dfn>{{</dfn> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 74: | Line 74: | ||
<pre> | <pre> | ||
<nowiki>{{Tabber | <nowiki>{{Tabber | ||
|$ | |$divclass=test | ||
|Tab 1=<dfn>{{</dfn> | |Tab 1=<dfn>{{</dfn> | ||
{| class="wikitable" | {| class="wikitable" |