Template:Srctabs: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><tabs plain style="text-align:center; margin:0; color:#004200;">{{#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></includeonly><noinclude>
<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>


==Usage==
==Usage==
Line 14: 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