Template:Srctabs: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(37 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><tabs style="text-align:center;">
<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>
{{#if {{{hc}}}|<tab name="HotA">{{{hc}}}</tab>}}
{{#if {{{ac}}}|<tab name="AB">{{{ac}}}</tab>}}
{{#if {{{rc}}}|<tab name="RoE">{{{rc}}}</tab>}}
</tabs></includeonly><noinclude>


==Usage==
==Usage==
<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>
<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>
<nowiki><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></nowiki>
<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 ----->
<br><br><br><br><br>look over there ----->


Line 18: 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