User:Legate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 17: | Line 17: | ||
==Favorite tricks== | ==Favorite tricks== | ||
<pre> | <pre> | ||
Switch statement: {{#switch: {{{source|}}}| roe = Restoration of Erathia | ab = Armageddon's Blade | sod = Shadow of Death | hota = Horn of the Abyss | }} | Switch statement: {{#switch: {{{source|}}}| roe = Restoration of Erathia | ab = Armageddon's Blade | sod = Shadow of Death | hc = Heroes Chronicles | hota = Horn of the Abyss | }} | ||
Hide a table row based on a value: |- {{#if: {{{difficulty|}}} | | style="display: none;"}} | Hide a table row based on a value: |- {{#if: {{{difficulty|}}} | | style="display: none;"}} | ||
</pre> | </pre> |
Revision as of 16:42, 8 February 2024
I've worked a lot on the following:
- Creature comparison pages (e.g. Comparison of Level 1 Creatures)
- Town Comparison
- List of spells
- Adventure map hero sprites
- Hero specialty
- Template:Unique Buildings and associated Town-specific pages
- Template:Creature dwellings and associated Town-specific pages
- Template:Common buildings
- Template:Scenario and related templates
- Template:CLevelsTable and Template:CLevelsRow
- Backend organization/categorization
- Campaign scenario 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 | hc = Heroes Chronicles | hota = Horn of the Abyss | }} Hide a table row based on a value: |- {{#if: {{{difficulty|}}} | | style="display: none;"}}