User:Legate: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 10: Line 10:


See [[User:ShushMaster]] for lots of mediawiki tricks
See [[User:ShushMaster]] for lots of mediawiki tricks
==Favorite tricks==
<pre>
Switch statement: {{#switch: {{{source|}}}| roe = Restoration of Erathia | ab = Armageddon's Blade | sod = Shadow of Death | hota = Horn of the Abyss | }}
Hide a table row based on a value: |- {{#if: {{{difficulty|}}} |  | style="display: none;"}}
</pre>

Revision as of 06:17, 13 December 2023

I've worked a lot on the following pages:

See User:ShushMaster for lots of mediawiki tricks

Favorite tricks

Switch statement: {{#switch: {{{source|}}}| roe = Restoration of Erathia | ab = Armageddon's Blade | sod = Shadow of Death | hota = Horn of the Abyss | }}
Hide a table row based on a value: |- {{#if: {{{difficulty|}}} |  | style="display: none;"}}