Template:Tabs: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#ifeq:{{SERVERNAME}}|heroes.thelazy.net|<tabs {{{attr|}}} style='{{{style|}}}'>}}</includeonly><noinclude> ==Usage== <pre>{{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}}</pre> {{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}} ==Variables== * attr = (attr...")
 
No edit summary
Line 1: Line 1:
<includeonly>{{#ifeq:{{SERVERNAME}}|heroes.thelazy.net|<tabs {{{attr|}}} style='{{{style|}}}'>}}</includeonly><noinclude>
<includeonly>{{#ifeq:{{SERVERNAME}}|heroes.thelazy.net|{{(}}tabs {{{attr|}}} style='{{{style|}}}'{{)}}}}</includeonly><noinclude>


==Usage==
==Usage==

Revision as of 08:57, 3 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