Template:SpellInfobox: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
N (talk | contribs)
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>{{stub}}
<noinclude>
{{loc}}
Heavily WIP!
Draft for what it should look like, but it still needs:
*gold rings around round icons
*links where needed
*faction colour coding
Spell School Colors (taken from spellbook icon frames): use Center Color or Swatch Color (decide which?) for the header and main colored cells, and use Ring Color for Level 2/3/4 cells
{|
!School || Center Color || Swatch Color || Ring Color
|-
|Daylight
|style="background-color:#62410F;"|#62410F
|style="background-color:#62410F;"|#62410F
|style="background-color:#C49714C3;"|#C49714C3
|-
|Nightshade
|style="background-color:#461B5B;"|#461B5B
|style="background-color:#3F1B52;"|#3F1B52
|style="background-color:#6B3486C3;"|#6B3486C3
|-
|Primal
|style="background-color:#67281B;"|#67281B
|style="background-color:#67281B;"|#67281B
|style="background-color:#c40700;"|#C40700C3
|-
|Arcane
|style="background-color:#1C444F;"|#1C444F
|style="background-color:#1C444F;"|#1C444F
|style="background-color:#106278C3;"|#106278C3
|-
|Neutral
|style="background-color:#27273D;"|#27273D
|style="background-color:#383765;"|#383765
|style="background-color:#2F4AB7C3;"|#2F4AB7C3
|}


{|class=infobox style="border-collapse: collapse; border: 1px solid #BCB096; margin:10px;"
{{SpellInfobox
|-colspan=2, style="text-align:center;vertical-align:center;border:collapse;background-color:#62410F;border: 1px solid #BCB096;width:100%;border-collapse:collapse;"
|lang=en
| colspan=2|<big><b>Temporal Spheres</b></big>
|id=day_3_magic_haste
|-style="display:flex;flex-wrap:wrap;justify-content: space-around;border:1px solid #BCB096;border-collapse:collapse;"
|masterful=Affects all friendly creatures.
|
}}
{|style="border-collapse:collapse;width:100%;"
<pre><nowiki>
|style="text-align:center;vertical-align:top;width:70px;padding:5px;"|Tier<br><span style="color:white;">IV</span>
{{SpellInfobox
|style="text-align:center;vertical-align:top;width:70px;padding:5px;"|Mana<br><span style="color:white;white-space:nowrap;">99 {{hint|[[File:Mana_icon.png|20px|link=]]|Mana|0}}</span>
|lang=en
|-style="text-align:center;vertical-align:center;"
|id=day_3_magic_haste
|style="text-align:center;vertical-align:bottom;width:100px;padding:5px;"|School<br>[[File:Daylight icon.png|50px|link=]]<br><span style="color:white;">Nightshade Magic
|masterful=Affects all friendly creatures.
|style="text-align:center;vertical-align:bottom;width:100px;padding:5px;"|Type<br>[[File:Battle spells.png|50px|link=]]<br><span style="color:white;">Global Map Spell
}}
|}
</nowiki></pre>
|colspan=2|
{{Clear}}
{|style="border-collapse:collapse;width:100%;"
---- <!-- ============================================== -->
|style="text-align:center;vertical-align:top;width:70px;padding:5px;"|Tier<br><span style="color:white;">IV</span>
{{SpellInfobox
|style="text-align:center;vertical-align:top;width:70px;padding:5px;"|Mana<br><span style="color:white;white-space:nowrap;">99 {{hint|[[File:Mana_icon.png|20px|link=]]|Mana|0}}</span>
|lang=fr
|-style="text-align:center;vertical-align:center;"
|id=night_2_magic_web
|style="text-align:center;vertical-align:bottom;width:100px;padding:5px;"|School<br>[[File:Daylight icon.png|50px|link=]]<br><span style="color:white;">Nightshade Magic
|masterful=Affecte tous les ennemis.
|style="text-align:center;vertical-align:bottom;width:100px;padding:5px;"|Type<br>[[File:Battle spells.png|50px|link=]]<br><span style="color:white;">Global Map Spell
}}
|}
<pre><nowiki>
|colspan=2|
{{SpellInfobox
{|style="border-collapse:collapse;width:100%;"
|lang=fr
|style="text-align:center;vertical-align:top;width:70px;padding:5px;"|Tier<br><span style="color:white;">IV</span>
|id=night_2_magic_web
|style="text-align:center;vertical-align:top;width:70px;padding:5px;"|Mana<br><span style="color:white;white-space:nowrap;">99 {{hint|[[File:Mana_icon.png|20px|link=]]|Mana|0}}</span>
|masterful=Affecte tous les ennemis.
|-style="text-align:center;vertical-align:center;"
}}
|style="text-align:center;vertical-align:bottom;width:100px;padding:5px;"|School<br>[[File:Daylight icon.png|50px|link=]]<br><span style="color:white;">Nightshade Magic
</nowiki></pre>
|style="text-align:center;vertical-align:bottom;width:100px;padding:5px;"|Type<br>[[File:Battle spells.png|50px|link=]]<br><span style="color:white;">Global Map Spell
{{Clear}}
|}
---- <!-- ============================================== -->
|colspan=2|
{{SpellInfobox
{|style="border-collapse:collapse;width:100%;"
|lang=en
|style="text-align:center;vertical-align:top;width:70px;padding:5px;"|Tier<br><span style="color:white;">IV</span>
|id=space_7_magic_shackles
|style="text-align:center;vertical-align:top;width:70px;padding:5px;"|Mana<br><span style="color:white;white-space:nowrap;">99 {{hint|[[File:Mana_icon.png|20px|link=]]|Mana|0}}</span>
}}
|-style="text-align:center;vertical-align:center;"
<pre><nowiki>
|style="text-align:center;vertical-align:bottom;width:100px;padding:5px;"|School<br>[[File:Daylight icon.png|50px|link=]]<br><span style="color:white;">Nightshade Magic
{{SpellInfobox
|style="text-align:center;vertical-align:bottom;width:100px;padding:5px;"|Type<br>[[File:Battle spells.png|50px|link=]]<br><span style="color:white;">Global Map Spell
|lang=en
|}
|id=space_7_magic_shackles
|}
}}
</nowiki></pre>
{{Clear}}
---- <!-- ============================================== -->
{{SpellInfobox
|lang=en
|id=primal_10_magic_primordial_purity
}}
<pre><nowiki>
{{SpellInfobox
|lang=en
|id=primal_10_magic_primordial_purity
}}
</nowiki></pre>
{{Clear}}
---- <!-- ============================================== -->
{{SpellInfobox
|lang=en
|id=neutral_magic_dimension_door
}}
<pre><nowiki>
{{SpellInfobox
|lang=en
|id=neutral_magic_dimension_door
}}
</nowiki></pre>
{{Clear}}
---- <!-- ============================================== -->
{{SpellInfobox
|lang=en
|id=night_17_magic_read_minds
}}
<pre><nowiki>
{{SpellInfobox
|lang=en
|id=night_17_magic_read_minds
}}
</nowiki></pre>


{|class=infobox style="border-collapse: collapse; border: 1px solid #BCB096; margin:10px;max-width:250px;"
</noinclude><includeonly><!--
|-colspan=2, style="text-align:center;vertical-align:center;border:collapse;background-color:#62410F;border: 1px solid #BCB096;"
#############################################################
| colspan=2|<big><b>Haste</b></big>
-->{{#cargo_query:
|-
tables =
|colspan=2, style="width:250px;padding:5px;"| [[File:Haste.png|240px|link=]]
    Spell = S,
|-style="text-align:center;vertical-align:center;border: 1px solid #BCB096;background-color:#62410F;"
    SpellRank = R,
| colspan=2| Basic Info
    Translation = T,
|-style="text-align:center;vertical-align:center;"
    Translation = R1,
|colspan=2|
    Translation = R2,
{|style="border-collapse:collapse;width:100%;"
    Translation = R3,
|style="text-align:center;vertical-align:top;width:70px;padding:5px;"|Tier<br><span style="color:white;">IV</span>
    Translation = R4
|style="text-align:center;vertical-align:top;width:70px;padding:5px;"|Mana<br><span style="color:white;white-space:nowrap;">99 {{hint|[[File:Mana_icon.png|20px|link=]]|Mana|0}}</span>
| join on =
|-style="text-align:center;vertical-align:center;"
    S.id = T.target_id,
|style="text-align:center;vertical-align:bottom;width:100px;padding:5px;"|School<br>[[File:Daylight icon.png|50px|link=]]<br><span style="color:white;">Nightshade Magic
    S.id = R1.target_id,
|style="text-align:center;vertical-align:bottom;width:100px;padding:5px;"|Type<br>[[File:Battle spells.png|50px|link=]]<br><span style="color:white;">Global Map Spell
    S.id = R2.target_id,
|}
    S.id = R3.target_id,
|-style="border: 1px solid #BCB096;text-align:center;border: 1px solid #BCB096;background-color:#62410F;"
    S.id = R4.target_id,
| colspan=2| Effect
    S.id = R.spell_id
|-style="text-align:center;vertical-align:center;"
| where =
| colspan=2, style="color:white;padding:4px;"|+ 2 Speed to target friendly creature. Duration [ 1 + 1 per every 2 hero's Spellpower ] round(s).
    S.id = '{{{id}}}'
|-style="text-align:center;vertical-align:center;border: 1px solid #BCB096;background-color:#62410F;"
    AND T.type = 'spell'
| colspan=2| Effects at higher levels
    AND T.language = '{{{lang|en}}}'
|-style="text-align:center;vertical-align:center;border: 1px solid #BCB096;"
    AND R.level = 1
| colspan=1, style="border: 1px solid #BCB096;background-color:#C49714C3;color:white;width:auto;"| Level 2
    AND R1.language = '{{{lang|en}}}'
| colspan=1, style="color:white;"| Speed bonus 2 > 3.
    AND R1.variant = 1
|-style="text-align:center;vertical-align:center;border: 1px solid #BCB096;"
    AND R2.language = '{{{lang|en}}}'
| colspan=1, style="border: 1px solid #BCB096;background-color:#C49714C3;color:white;width:auto;"| Level 3
    AND R2.variant = 2
| colspan=1, style="color:white;"| Dispels 'Web' effect.
    AND R3.language = '{{{lang|en}}}'
|-style="text-align:center;vertical-align:center;border: 1px solid #BCB096;"
    AND R3.variant = 3
| colspan=1, style="border: 1px solid #BCB096;background-color:#C49714C3;color:white;width:auto;"| Level 4
    AND R4.language = '{{{lang|en}}}'
| colspan=1, style="color:white;"| Speed bonus 3 > 4.
    AND R4.variant = 4
|-style="text-align:center;vertical-align:center;border: 1px solid #BCB096;"
| fields =
| colspan=1, style="border: 1px solid #BCB096;background-color:#C49714C3;color:white;width:auto;"| Level 5
    T.language = lang,
| colspan=1, style="color:white;"| (will be added during EA)
    S.id = id,
|-style="text-align:center;vertical-align:center;border: 1px solid #BCB096;background-color:#62410F;"
    T.name = name,
| colspan=2| Masterful Version
    S.rank = tier,
|-style="text-align:center;vertical-align:center;"
    R.mana_cost = mana,
| colspan=2, style="color:white;padding:4px;"|This version of the spell affects all friendly creatures.
    S.school = school,
|-style="text-align:center;vertical-align:center;border: 1px solid #BCB096;background-color:#62410F;"
    S.used_on_map = map_spell,
| colspan=2| Specialist Hero
    R1.description = effect,
|-style="text-align:center;vertical-align:center;"
    R2.bonus_description = level2,
| colspan=2| <div style="color: white;display:inline-block;margin:4px 8px 4px 8px;vertical-align:top;text-align:center;white-space:normal; max-width:100px">[[File:Mila.png|60px|link=Mila]]<br>[[Zoran, the Self-Founded]]</div> <div style="color: white;display:inline-block;margin:4px 8px 4px 8px;vertical-align:top;text-align:center;white-space:normal; max-width:100px">[[File:Mila.png|60px|link=Mila]]<br>[[Mila]]</div>
    R3.bonus_description = level3,
|}
    R4.bonus_description = level4,
==Use==
    CONCAT('{{{masterful|}}}') = masterful
<nowiki>{{Template:SpellInfobox
| format =
|name=
    template
}}</nowiki>
| template =
==Examples==
    SpellInfobox/base
{{clear}}
| named args =
<nowiki>{{Template:SpellInfobox
    yes
|name=
}}
|image=
<!--
|tier=
########################################################################################################################
}}</nowiki>
--></includeonly>
[[Category:Infobox templates]][[Category:Stubs]]

Revision as of 13:11, 22 June 2026


Haste
Tier
I
[[File:{{{icon}}}.png|128px]]
Mana
8
School
Daylight Magic
Type
Battle Spell
Effect
Target friendly creature gains +2 Speed.
Duration: [ 2 + 1 per every 4 hero’s Spell Power ] round(s).
Effects at higher levels
Level 2 Speed bonus: 2 > 4.
Level 3 Dispels “Web.”
Level 4 Speed bonus: 4 > 6.
Masterful Version
Affects all friendly creatures.
Heroes that start with this spell
Mila
Internal ID
day_3_magic_haste
{{SpellInfobox
|lang=en
|id=day_3_magic_haste
|masterful=Affects all friendly creatures.
}}

Toile
Pallier
II
[[File:{{{icon}}}.png|128px]]
Mana
9
École
Sorts de belladone
Type
Sort de Combat
Effet
Réduit de 2 la vitesse de la créature ennemie ciblée.
Durée : [2 + 1 tous les 5 points en puissance de sorts du héros] tour(s).
Effets Bonus
Niveau 2 Réduction de vitesse : –2 >–3.
Niveau 3 Dissipe « Hâte ».
Niveau 4 Réduction de vitesse : –3 >–4.
Version Magistrale
Affecte tous les ennemis.
Héros commençant avec ce sort
Marl
ID interne
night_2_magic_web
{{SpellInfobox
|lang=fr
|id=night_2_magic_web
|masterful=Affecte tous les ennemis.
}}

Shackles
Tier
III
[[File:{{{icon}}}.png|128px]]
Mana
6
School
Arcane Magic
Type
Battle Spell
Effect
Target enemy creature cannot counterattack.
Duration: [ 1 + 1 per every 6 hero’s Spell Power ] round(s).
Effects at higher levels
Level 2 Base effect duration: 1 > 2.
Level 3 Dispels “Riposte.”
Level 4 Affects enemy creatures adjacent to the target.
Heroes that start with this spell
Changeling
Urgo
Internal ID
space_7_magic_shackles
{{SpellInfobox
|lang=en
|id=space_7_magic_shackles
}}

Anti-Magic
Tier
IV
[[File:{{{icon}}}.png|128px]]
Mana
12
School
Primal Magic
Type
Battle Spell
Effect
Any chosen target becomes immune to spells of tier 3 and lower. This effect cannot be dispelled. If the target is a summoned creature or contains temporary units in its stack, those are destroyed.
Duration: 1 round(s).
Effects at higher levels
Level 2 Base effect duration: 1 > 2.
Level 3 Affects tier-1-4 spells.
Level 4 Also affects tier-1-5 spells.
Heroes that start with this spell
Tavi
Internal ID
primal_10_magic_primordial_purity
{{SpellInfobox
|lang=en
|id=primal_10_magic_primordial_purity
}}

Dimension Door
Tier
IV
[[File:{{{icon}}}.png|128px]]
Mana
22
School
Neutral Magic
Type
Global Map Spell
Effect
Teleports the hero to target location within 8 squares. Usable 1 times per day.
Effects at higher levels
Level 2 Base mana cost: 22 > 14.
Level 3 Target radius: 8 > 11.
Level 4 Can be used +1 time per day.
Internal ID
neutral_magic_dimension_door
{{SpellInfobox
|lang=en
|id=neutral_magic_dimension_door
}}

Read Minds
Tier
II
[[File:{{{icon}}}.png|128px]]
Mana
10
School
Nightshade Magic
Type
Global Map Spell
Effect
Reveals the precise number and intentions of all neutral squads within [ 3 × hero’s sight ] squares of the hero.
Effects at higher levels
Level 2 Base mana cost: 10 > 7.
Level 3 Reveals information on enemy heroes.
Level 4 Reveals information on enemy cities.
Heroes that start with this spell
Creta,
daughter
of
Navarr
Funerella
Internal ID
night_17_magic_read_minds
{{SpellInfobox
|lang=en
|id=night_17_magic_read_minds
}}