Template:Tab: Difference between revisions

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


==Usage==
==Usage==
Line 6: Line 6:


==Variables==
==Variables==
* attr = (attributes, e.g. plain)
* style = (css, e.g. text-align:center; margin:0;)
* name = (tab name, e.g. HotA)
* name = (tab name, e.g. HotA)



Revision as of 08:54, 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="{{{name|}}}">Horn of the Abyss</tab><tab name="{{{name|}}}">Shadow of Death</tab></tabs>

Variables

  • name = (tab name, e.g. HotA)

Tabs Documentation

mediawiki.org/wiki/Extension:Tabs/Usage