Template:Srctabs: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><tabs style="text-align:center;">
<includeonly><tabs style="text-align:center;">
{{{nh|<tab name="HotA">{{{hc}}}</tab>}}}
{{#if {{{hc}}}|<tab name="HotA">{{{hc}}}</tab>}}
{{{na|<tab name="AB">{{{ac}}}</tab>}}}
{{#if {{{ac}}}|<tab name="AB">{{{ac}}}</tab>}}
{{{nr|<tab name="RoE">{{{rc}}}</tab>}}}
{{#if {{{rc}}}|<tab name="RoE">{{{rc}}}</tab>}}
</tabs></includeonly><noinclude>
</tabs></includeonly><noinclude>


Line 11: Line 11:


==Variables==
==Variables==
* nh = no HotA
* na = no AB
* nr = no RoE
* hc = HotA content
* hc = HotA content
* ac = AB content
* ac = AB content

Revision as of 22:52, 6 December 2023


Usage

{{#if |
}} {{#if |
}} {{#if |
}}

<span style="float:right; padding-left:1em;">{{srctabs|hc=[[File:Navigator on battlefield.gif]]|ac=[[File:Elementalist on battlefield.gif]]|rc=[[File:Wizard on battlefield.gif]]}}</span>




look over there ----->

Variables

  • hc = HotA content
  • ac = AB content
  • rc = RoE content

Tabs Documentation

mediawiki.org/wiki/Extension:Tabs/Usage