User:Legate: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
I've worked a lot on the following:
I've worked a lot on the following:
* Creature comparison pages (e.g. [[Comparison of Level 1 Creatures]])
* Comparison Pages:
* [[Town Comparison]]
** Creature comparison pages (e.g. [[Comparison of Level 1 Creatures]])
* [[List of spells]]
** [[Town Comparison]]
* [[Adventure map hero sprites]]
** [[List of spells]]
* [[Hero specialty]]
* Templates:
* [[Template:Unique Buildings]] and associated Town-specific pages
** [[Template:Unique Buildings]] and associated Town-specific pages
* [[Template:Creature dwellings]] and associated Town-specific pages
** [[Template:Creature dwellings]] and associated Town-specific pages
* [[Template:Common buildings]]
** [[Template:Common buildings]]
* [[Template:Scenario]] and related templates
** [[Template:Scenario]] and related templates
* [[Template:CLevelsTable]] and [[Template:CLevelsRow]]
** Campaign Scenario tables (e.g. [[Template:Rrow]], [[Template:TErow]], [[Template:SorQrow]])
* Backend organization/categorization
** [[Template:CLevelsTable]] and [[Template:CLevelsRow]]
* Campaign scenario pages
** [[Template:Locations]] sidebar
* Lore:
** [[List of campaign heroes]] hierarchy
** Adding story to many hero pages
* Misc:
** Backend organization/categorization
** Campaign scenario pages
** [[Adventure map hero sprites]]
** [[Hero specialty]]


See [[User:ShushMaster]] for lots of mediawiki tricks
See [[User:ShushMaster]] for lots of mediawiki tricks
Line 18: Line 26:
<pre>
<pre>
Switch statement: {{#switch: {{{source|}}}| roe = Restoration of Erathia | ab = Armageddon's Blade | sod = Shadow of Death | hc = Heroes Chronicles | 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 | }}
Inverted switch (handle an empty case one way, and all others another): {{#switch: {{{source|}}}| = "empty value" | "non-empty value" }}
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 17:57, 22 March 2024

I've worked a lot on the following:

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 | }}
Inverted switch (handle an empty case one way, and all others another): {{#switch: {{{source|}}}| = "empty value" | "non-empty value" }}
Hide a table row based on a value: |- {{#if: {{{difficulty|}}} |  | style="display: none;"}}