Template:AbilityTable: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
N (talk | contribs)
No edit summary
N (talk | contribs)
No edit summary
Line 156: Line 156:
  |alt_attack3_desc=
  |alt_attack3_desc=
  |alt_attack3_icon=
  |alt_attack3_icon=
  <!-- Labels for active ability ribbon, their sections do not show up if they aren't provided. Currently WIP and unused, only focus cost works properly.-->
  <!-- Labels for active ability ribbon.-->
  |active_tier_text=
  |active_tier_text=
  |focus_cost_text=
  |focus_cost_text=
Line 165: Line 165:
*Turn on active ability ribbon by setting <code>|newribbon=1</code>. Currently we can only retrieve Focus Cost, not Ability Tier or Cooldowns, so not yet ready for general use.
*Turn on active ability ribbon by setting <code>|newribbon=1</code>. Currently we can only retrieve Focus Cost, not Ability Tier or Cooldowns, so not yet ready for general use.
*For active abilities, where <code>N</code> can be 1, 2, 3 or 4:
*For active abilities, where <code>N</code> can be 1, 2, 3 or 4:
**<code>|activeNtype</code> is intended for descriptive tags like Positive Effect, Attack Modifier and so on. Edit this template to provide some input to them and they will display UNDER ability names.
**<code>|activeNtype</code> is intended for descriptive tags like Positive Effect, Attack Modifier and so on.
**<code>|activeNtier</code> is intended for ability tiers.
**<code>|activeNtier</code> is intended for ability tiers.
**<code>|activeNcooldown</code> is intended for cooldown durations.  
**<code>|activeNcooldown</code> is intended for cooldown durations.  
*<code>|active_tier_text</code> and <code>|cooldown_text</code> are terms for labels for ability Tier, Cost and Cooldown. The whole Teir and Cooldown sections of the ribbon aren't displayed at all without provided label text for them, and if displayed, will only have placeholder data (the old system can't retrieve them).  
*<code>|active_tier_text</code> and <code>|cooldown_text</code> are terms for labels for ability Tier, Cost and Cooldown. The whole Teir and Cooldown sections of the ribbon aren't displayed at all without provided label text for them, and if displayed, will only have placeholder data (the old system can't retrieve them).  
*Provide <code>|focus_cost_text</code>, for example <code>|focus_cost_text=Cost</code>, for active ability focus costs to have a label. This works both with and without ribbon mode.
*Provide <code>|focus_cost_text</code>, for example <code>|focus_cost_text=Cost</code>, for active ability focus costs to have a label. This works both with and without ribbon mode.
===Visuals concept, for later===
{|class=infobox style="border-collapse:collapse;border: 1px solid #BCB096; margin:1em;"
{{#if: {{{active2|?}}}|{{!}}-style="border: 1px solid #BCB096;background:#1E3758;"
{{!}} style='text-align:center;width:80px;vertical-align:middle;' {{!}} [[File:{{{active2_icon|Olgoi ability 1.png}}}|60px|link=]]
{{!}} style='padding:10px;' {{!}} <i>{{{active_text|Active Ability}}}</i><br><big><b>{{{active2|Name of Active Ability}}}</b></big><br>{{{active2type|Special - Positive Effect}}}
{{!}}-style='background-color:#156E7E;border-bottom: 1px solid #BCB096;'
{{!}}colspan=2; style="padding:4px; color:white;"{{!}} <div style="display:inline-block;">{{{active_tier_text|Tier}}} {{{active2tier|II}}}</div> {{!}} <div style="display:inline-block;"> {{{focus_cost_text|Cost}}}: {{hint|{{#ifexpr:{{{focus2|2}}}>0|[[File:Focus Charge.png|16px|link=]]|—}}{{#ifexpr:{{{focus2|2}}}>1|[[File:Focus Charge.png|16px|link=]]}}{{#ifexpr:{{{focus2|2}}}>2|[[File:Focus Charge.png|16px|link=]]}}|{{{focus2|2}}} {{{focus_text|Focus Charge(s)}}}|0}}</div> {{!}} <div style="display:inline-block;">{{{cooldown_text|Cooldown}}}: {{{active2cooldown|2 turn(s)}}}</div>
}}
{{!}}-
{{!}}colspan=2, style="padding:4px;"{{!}}<span style="color:white;">{{{active2_desc|Insert active ability 2 description here.}}}</span><br>{{{active_ability_2_notes|Insert user-made notes here.}}}
|}
==Examples==
==Examples==
*creature with active abilities, old format:
*creature with active abilities, old format:
Line 177: Line 188:
*creature with no active abilities:
*creature with no active abilities:
{{AbilityTable|Infiltrator}}
{{AbilityTable|Infiltrator}}
*creature with active abilities, new format with <code>|newribbon=1</code> and <code>|focus_cost_text=Cost</code>:
{{AbilityTable|Hive Huntress|newribbon=1|focus_cost_text=Cost}}
*creature with active abilities, old format but with <code>|focus_cost_text=Cost</code>:
*creature with active abilities, old format but with <code>|focus_cost_text=Cost</code>:
{{AbilityTable|Worldwatcher|focus_cost_text=Cost}}
{{AbilityTable|Kittenhorn|focus_cost_text=Cost}}
[[Category:Table templates]]
[[Category:Table templates]]

Revision as of 14:51, 18 July 2026


Base template: Template:AbilityTable/base

Note: New WIP formatting with a ribbon for active ability tier, cost and cooldown is implemented, but not yet supported on the side of data retrieval. See notes below and comments in the code.

Use

{{AbilityTable
|type=
|type_desc=
|type_icon=
|morale_min=
|morale_max=
|luck_min=
|luck_max=
|necromancable=
|attack_type=
|attack_type_desc=
|attack_type_icon=
|move_type=
|passive1=
|passive1_desc=
|passive1_icon=
|passive2=
|passive2_desc=
|passive2_icon=
|passive3=
|passive3_desc=
|passive3_icon=
|passive4=
|passive4_desc=
|passive4_icon=
|passive5=
|passive5_desc=
|passive5_icon=
|passive6=
|passive6_desc=
|passive6_icon=
|active1=
|active1_desc=
|active1_icon=
|focus1=
|active2=
|active2_desc=
|active2_icon=
|focus2=
|active3=
|active3_desc=
|active3_icon=
|focus3=
|active4=
|active4_desc=
|active4_icon=
|focus4=
|alt_attack1=
|alt_attack1_desc=
|alt_attack1_icon=
|alt_attack2=
|alt_attack2_desc=
|alt_attack2_icon=
|alt_attack3=
|alt_attack3_desc=
|alt_attack3_icon=
|active_tier_text=
|focus_cost_text=
|cooldown_text=
|newribbon=
}}

Notes (temporarily here until formatting and cargo updates are completed):

  • Turn on active ability ribbon by setting |newribbon=1. Currently we can only retrieve Focus Cost, not Ability Tier or Cooldowns, so not yet ready for general use.
  • For active abilities, where N can be 1, 2, 3 or 4:
    • |activeNtype is intended for descriptive tags like Positive Effect, Attack Modifier and so on.
    • |activeNtier is intended for ability tiers.
    • |activeNcooldown is intended for cooldown durations.
  • |active_tier_text and |cooldown_text are terms for labels for ability Tier, Cost and Cooldown. The whole Teir and Cooldown sections of the ribbon aren't displayed at all without provided label text for them, and if displayed, will only have placeholder data (the old system can't retrieve them).
  • Provide |focus_cost_text, for example |focus_cost_text=Cost, for active ability focus costs to have a label. This works both with and without ribbon mode.

Visuals concept, for later

Active Ability
Name of Active Ability
Special - Positive Effect
Tier II
|
Cost: 2 Focus Charge(s)
|
Cooldown: 2 turn(s)
Insert active ability 2 description here.
Insert user-made notes here.

Examples

  • creature with active abilities, old format:
Creature Type
Magic Creature
-3 to 3Morale Range
|
-5 to 5Luck Range
|
YesCounts for Necromancy?
A beast or beast‑like creature. Jadame’s beasts often have fantastical powers; denizens of other planes, even more so.

Morale range: –3 to 3.
Luck range: –5 to 5.

Fallen Magic Creatures count towards the power of Necromancy reanimation after battle.
Attack Type
Melee Attack
Can only attack adjacent enemies. Provokes counterattacks.
Passive Ability
Absolute Resistance
Immune to all Magic Damage.
Active Ability
Summoning Rite: Executor
3 Focus Charge(s)
Once per battle, summons a stack of Abyssal Executors in place of a friendly corpse.
The summon has 50% HP of the corpse’s original stack and can’t have more than [ current amount of summoners ] units. These creatures are permanent and remain after the battle.

Does not affect Undead, Embodiments, or Constructs
Active Ability
Will of the Abyss
3 Focus Charge(s)
Enables this creature to take 1 more turn(s) immediately after its first turn.

Does not end the turn.
Active Ability
Control Mind
3 Focus Charge(s)
Target enemy creature loses all its possible turns and passes.

Does not affect Embodiments or Constructs


  • creature with active abilities, WIP new format (note missing ability tier and cooldown):
Creature Type
Magic Creature
-3 to 3Morale Range
|
-5 to 5Luck Range
|
YesCounts for Necromancy?
A beast or beast‑like creature. Jadame’s beasts often have fantastical powers; denizens of other planes, even more so.

Morale range: –3 to 3.
Luck range: –5 to 5.

Fallen Magic Creatures count towards the power of Necromancy reanimation after battle.
Attack Type
Melee Attack
Can only attack adjacent enemies. Provokes counterattacks.
Passive Ability
Area Strike
Deals Damage to the target and all hexes around it. Additional targets take –50% Damage.
Passive Ability
Absolute Resistance
Immune to all Magic Damage.
Active Ability
Summoning Rite: Overseer
Type of effect
Tier ?
|
Cost: 3 Focus Charge(s)
|
Cooldown: ?
Once per battle, summons a stack of Abyssal Overseers in place of a friendly corpse.
The summon has 50% HP of the corpse’s original stack and can’t have more than [ current amount of summoners ] units. These creatures are permanent and remain after the battle.

Does not affect Undead, Embodiments, or Constructs
Active Ability
Will of the Abyss
Type of effect
Tier ?
|
Cost: 3 Focus Charge(s)
|
Cooldown: ?
Enables this creature to take 1 more turn(s) immediately after its first turn.

Does not end the turn.
Active Ability
Moment of Insanity
Type of effect
Tier ?
|
Cost: 2 Focus Charge(s)
|
Cooldown: ?
Compels an enemy to attack a random target.

Does not affect Embodiments or Constructs


  • creature with no active abilities:
Creature Type
Living
-5 to 5Morale Range
|
-3 to 5Luck Range
|
YesCounts for Necromancy?
A fully sentient inhabitant of Jadame.

Morale range: –5 to 5.
Luck range: –3 to 3.

Fallen Living creatures count towards the power of Necromancy reanimation after battle.
Attack Type
Melee Attack
Can only attack adjacent enemies. Provokes counterattacks.
Movement Type
Blink
Teleports directly to destination hex, ignoring obstacles and traps.
Passive Ability
Weak Spot
Lucky Strikes deal +100% Damage, and the maximum possible Luck is increased to 5.
Alternative Attack
Fighting Style: Hit and Run
This creature will return to its original position after attacking, but deal –50% Damage.

Does not spend Focus Charges.


  • creature with active abilities, old format but with |focus_cost_text=Cost:
Creature Type
Magic Creature
-5 to 5Morale Range
|
-3 to 3Luck Range
|
YesCounts for Necromancy?
A beast or beast‑like creature. Jadame’s beasts often have fantastical powers; denizens of other planes, even more so.

Morale range: –3 to 3.
Luck range: –5 to 5.

Fallen Magic Creatures count towards the power of Necromancy reanimation after battle.
Attack Type
Melee Attack
Can only attack adjacent enemies. Provokes counterattacks.
Movement Type
Flying
Movement ignores obstacles and traps.
Passive Ability
Remnant of Mad Times
Upon death, this creature casts “Berserk” upon its killer. They are forced to attack the nearest creature.
Active Ability
Wheeee
Cost: 2 Focus Charge(s)
Gives all friendly creatures +3 Morale.
Duration: 2 round(s).