User:Legate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
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 | ||
Line 20: | Line 21: | ||
** [[Adventure map hero sprites]] | ** [[Adventure map hero sprites]] | ||
** [[Hero specialty]] | ** [[Hero specialty]] | ||
** Content switching between expansions | |||
See [[User:ShushMaster]] for lots of mediawiki tricks | See [[User:ShushMaster]] for lots of mediawiki tricks | ||
Line 26: | Line 28: | ||
<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|}}}| = " | 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;"}} | Hide a table row based on a value: |- {{#if: {{{difficulty|}}} | | style="display: none;"}} | ||
</pre> | </pre> |
Latest revision as of 14:01, 26 November 2024
I've worked a lot on the following:
- Comparison Pages:
- Creature comparison pages (e.g. Comparison of Level 1 Creatures)
- Town Comparison
- List of spells
- Templates:
- Template:Unique Buildings and associated Town-specific pages
- Template:Creature dwellings and associated Town-specific pages
- Template:Common buildings
- Template:Scenario and related templates
- Campaign Scenario tables (e.g. Template:Rrow, Template:TErow, Template:SorQrow)
- Template:CLevelsTable and Template:CLevelsRow
- Template:Locations sidebar
- Lore:
- List of campaign heroes hierarchy
- Adding story to many hero pages
- Locations hierarchy and pictures
- Misc:
- Backend organization/categorization
- Campaign scenario pages
- Adventure map hero sprites
- Hero specialty
- Content switching between expansions
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;"}}