User:Legate: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 15: Line 15:
** [[List of campaign heroes]] hierarchy
** [[List of campaign heroes]] hierarchy
** Adding story to many hero pages
** Adding story to many hero pages
** [[Enroth (planet)|Locations]] hierarchy and pictures
* Misc:
* Misc:
** Backend organization/categorization
** Backend organization/categorization

Latest revision as of 17:59, 16 September 2024

I've worked a lot on the following:

See User:ShushMaster for lots of mediawiki tricks

Favorite tricks[edit | hide | hide all]

Switch statement: {{#switch: {{{source|}}}| roe = Restoration of Erathia | ab = Armageddon's Blade | sod = Shadow of Death | hc = Heroes Chronicles | hota = Horn of the Abyss | }}
Inverted switch (handle an empty case one way, and all others another): {{#switch: {{{source|}}}| = style="display: none;" | }}
Hide a table row based on a value: |- {{#if: {{{difficulty|}}} |  | style="display: none;"}}