Template:Srctabs: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(48 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<tabs style="{{{style|}}}">
<includeonly>{{#ifeq:{{Project:EnabledTabs}}|true|<tabs plain style="text-align:center; margin:0;">{{#if: {{{hc}}}|<tab name="Horn of the Abyss">{{{hc}}}</tab>}}{{#if: {{{ac}}}|<tab name="Armageddon’s Blade">{{{ac}}}</tab>}}{{#if: {{{rc}}}|<tab name="Restoration of Erathia">{{{rc}}}</tab>}}</tabs>|{{exist|File:{{PAGENAME}} on battlefield.gif|[[File:{{PAGENAME}} on battlefield.gif]]}}{{exist|File:Female {{PAGENAME}} on battlefield.gif|[[File:Female {{PAGENAME}} on battlefield.gif]]}}}}</includeonly><noinclude>
{{{nh|<tab name="HotA">{{{hc}}}</tab>}}}
 
{{{na|<tab name="AB">{{{ac}}}</tab>}}}
==Usage==
{{{nr|<tab name="RoE">{{{rc}}}</tab>}}}
<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>
</tabs><noinclude>
<nowiki>{{srctabs|hc=[[File:Navigator on battlefield.gif]]|ac=[[File:Elementalist on battlefield.gif]]|rc=[[File:Wizard on battlefield.gif]]}}</nowiki>
<br><br><br><br><br>look over there ----->


==Variables==
==Variables==
* nh = no HotA
* na = no AB
* nr = no RoE
* hc = HotA content
* hc = HotA content
* ac = AB content
* ac = AB content
Line 16: Line 14:
[https://www.mediawiki.org/wiki/Extension:Tabs/Usage mediawiki.org/wiki/Extension:Tabs/Usage]
[https://www.mediawiki.org/wiki/Extension:Tabs/Usage mediawiki.org/wiki/Extension:Tabs/Usage]


[[Category: Misc templates|{{PAGENAME}}]]</noinclude>
[[Category: Hero templates]]</noinclude>

Latest revision as of 08:44, 4 September 2024


Usage[edit | hide | hide all]

{{srctabs|hc=[[File:Navigator on battlefield.gif]]|ac=[[File:Elementalist on battlefield.gif]]|rc=[[File:Wizard on battlefield.gif]]}}




look over there ----->

Variables[edit | hide]

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

Tabs Documentation[edit | hide]

mediawiki.org/wiki/Extension:Tabs/Usage