Template:SourceToggle: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
<pre>class='{{sourceToggle|{{{source}}}|{{{only|}}}}}'</pre>
<pre>class='{{sourceToggle|{{{source}}}|{{{only|}}}}}'</pre>


For unofficial expansion content the source (1) variable is used (Horn of the Abyss / Day of Reckoning).
*For unofficial expansion content the source (1) variable is used (Horn of the Abyss / Day of Reckoning).
To hide official content use the only (2) variable (hidewithhota / hidewithdor).  
*To hide official content use the only (2) variable (hidewithhota / hidewithdor).  


[[Category: Help templates]]</noinclude>
[[Category: Help templates]]</noinclude>

Revision as of 17:04, 14 August 2024


Usage:

class='{{sourceToggle|{{{source}}}|{{{only|}}}}}'
  • For unofficial expansion content the source (1) variable is used (Horn of the Abyss / Day of Reckoning).
  • To hide official content use the only (2) variable (hidewithhota / hidewithdor).