Template:Tabs: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
* attr = (attributes, e.g. plain)
* attr = (attributes, e.g. plain)
* style = (css, e.g. text-align:center; margin:0;)
* style = (css, e.g. text-align:center; margin:0;)
==Tabs Documentation==
[https://www.mediawiki.org/wiki/Extension:Tabs/Usage mediawiki.org/wiki/Extension:Tabs/Usage]


==Warning==
==Warning==
This template is an attempt to put parts of the tabs extension into a template. It does not work at the current time. Hopefully in the future, the extension is fixed to work better with templates.
This template is an attempt to put parts of the tabs extension into a template. It does not work at the current time. Hopefully in the future, the extension is fixed to work better with templates.
==Tabs Documentation==
[https://www.mediawiki.org/wiki/Extension:Tabs/Usage mediawiki.org/wiki/Extension:Tabs/Usage]


[[Category: Tab templates]]</noinclude>
[[Category: Tab templates]]</noinclude>

Revision as of 03:07, 6 September 2024


Usage

{{tabs|attr=plain|style=text-align:center; margin:0;}}{{tab|name=HotA}}Horn of the Abyss{{endtab}}{{tab|name=SoD}}Shadow of Death{{endtab}}{{endtabs}}

<tabs plain style='text-align:center; margin:0;'><tab name="HotA">Horn of the Abyss</tab><tab name="SoD">Shadow of Death</tab></tabs>

Variables

  • attr = (attributes, e.g. plain)
  • style = (css, e.g. text-align:center; margin:0;)

Tabs Documentation

mediawiki.org/wiki/Extension:Tabs/Usage

Warning

This template is an attempt to put parts of the tabs extension into a template. It does not work at the current time. Hopefully in the future, the extension is fixed to work better with templates.