Template:HeroInfo: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
|colspan=2| | |colspan=2| | ||
{|style='width:100%;text-align: center;vertical-align: center; border-collapse: collapse; | {|style='width:100%;text-align: center;vertical-align: center; border-collapse: collapse; | ||
|style='width:25%'|[[File:{{{faction}}}_icon.png|50px|link={{{faction}}}]]||style='width:50%'|<span style="font-size: 150%;">{{{name}}}</span><br><span style='color:white;'>{ | |style='width:25%'|[[File:{{{faction}}}_icon.png|50px|link={{{faction}}}]]||style='width:50%'|<span style="font-size: 150%;">{{{name}}}</span><br><span style='color:white;'>{{{class}}}</span>||style='width: 25%'|[[File:{{{class}}}.png|50px|{{{class}}}]] | ||
|} | |} | ||
|-style='border-bottom: 1px solid #BCB096' | |-style='border-bottom: 1px solid #BCB096' | ||
|colspan=2|[[File:{{{name}}}.png|300px]] | |colspan=2|[[File:{{{name}}}.png|300px|link=]] | ||
|-style='border-bottom: 1px solid #BCB096; background-color:#1E3758' | |-style='border-bottom: 1px solid #BCB096; background-color:#1E3758' | ||
|colspan=2|Starting Stats | |colspan=2|Starting Stats | ||
|-style='border-bottom: 1px solid #BCB096' | |-style='border-bottom: 1px solid #BCB096' | ||
|colspan=2 | |colspan=2| | ||
{|style="gap:8px; justify-content:space-between; align-items:center; width:100%;" | |||
|style="color:white;text-align:center; width:25%;"|<div style="flex:1; text-align:center;"><div style="font-weight:bold;">{{{startattack}}}</div><div style="margin-top:6px;">[[File:Icon Stats Attack.png|28px|link=|Attack]]</div></div>||style="color:white;text-align:center; width:25%;"|<div style="flex:1; text-align:center;"><div style="font-weight:bold;">{{{startdefense}}}</div><div style="margin-top:6px;">[[File:Icon Stats Defence.png|28px|link=|Defense]]</div></div>||style="color:white;text-align:center; width:25%;"|<div style="flex:1; text-align:center;"><div style="font-weight:bold;">{{{startspellpower}}}</div><div style="margin-top:6px;">[[File:Icon Stats Spellpower.png|28px|link=|Spell Power]]</div></div>||style="color:white;text-align:center; width:25%;"|<div style="flex:1; text-align:center;"><div style="font-weight:bold;">{{{startknowledge}}}</div><div style="margin-top:6px;">[[File:Icon Stats Inteligence.png|28px|link=|Knowledge]]</div></div> | |||
|} | |||
|-style='border-bottom: 1px solid #BCB096; background-color:#1E3758'<!--Checks if Skill2 exists, outputs Starting Skill if not and Starting Skills if yes--> | |-style='border-bottom: 1px solid #BCB096; background-color:#1E3758'<!--Checks if Skill2 exists, outputs Starting Skill if not and Starting Skills if yes--> | ||
|{{#if:{{ | |{{#if:{{{startskill2|}}} | style='border: 1px solid #BCB096;width: 50%' {{!}}Starting Skills{{!}}{{!}}style='width: 50%'{{!}}Starting Spell | ||
| style='border: 1px solid #BCB096;width: 50%'{{!}}Starting Skill{{!}}{{!}}style='width: 50%'{{!}}Starting Spell}} | | style='border: 1px solid #BCB096;width: 50%'{{!}}Starting Skill{{!}}{{!}}style='width: 50%'{{!}}Starting Spell}} | ||
|-style='text-align: center;vertical-align: center;'<!--Check if | |-style='text-align: center;vertical-align: center;'<!--Check if hero has 2 starting skills, lists both with Basic mastery if yes and lists only one with Advanced mastery if not.--> | ||
|{{#if:{{ | |{{#if:{{{startskill2|}}} | style='color: white;border: 1px solid #BCB096;width: 50%; padding:10px;'{{!}}<div>[[File:Skill {{{startskill1}}}.png|75px|link={{{startskill1}}}]]<br>[[{{{startskill1}}}|Basic {{{startskill1}}}]]</div><div>[[File:Skill {{{startskill2}}}.png|75px|link={{{startskill2}}}]]<br/>[[{{{startskill2}}}|Basic {{{startskill2}}}]]</div>|style='color: white;border: 1px solid #BCB096;width: 50%; padding:10px;'{{!}}<div>[[File:Skill Advanced {{{startskill1}}}.png|75px|link={{{startskill1}}}]]<br>[[{{{startskill1}}}|Advanced {{{startskill1}}}]]</div>}}||style='color: white;border: 1px solid #BCB096;width: 50%; padding:10px;'| | ||
{{#if:{{{startspell|}}} | | |||
{{#if:{{ | <div>[[File:{{{startspell}}}.png|75px|link={{{startspell}}}|{{{startspell}}}]]<br/>{{#if:{{{ismasterful|}}}|[[{{{startspell}}}{{!}}Masterful {{{startspell}}}]]|[[{{{startspell}}}]]}}</div> | ||
<div>[[File: | |||
| | | | ||
<div>None.</div> | <div>None.</div> | ||
| Line 26: | Line 28: | ||
|colspan=2|Starting Army | |colspan=2|Starting Army | ||
|- | |- | ||
|colspan=2 | |colspan=2| | ||
{|<div style="text-align:center;"> | |||
|style="width:25%;"|<div style="color: white;display:inline-block;margin:4px 8px 4px 8px;vertical-align:top;text-align:center;">[[File:{{{army1creature}}}_icon.png|75px|link={{{army1creature}}}]]<br/><span style="font-size:1.1em;">{{{army1count}}}</span></div>{{#if:{{{army2creature}}}|{{!}}{{!}}style="width:25%;"{{!}}<div style="color: white;display:inline-block;margin:4px 8px 4px 8px;vertical-align:top;text-align:center;">[[File:{{{army2creature}}}_icon.png|75px|link={{{army2creature}}}]]<br/><span style="font-size:1.1em;">{{{army2count}}}</span></div>}}{{#if:{{{army3creature}}}|{{!}}{{!}}style="width:25%;"{{!}}<div style="color: white;display:inline-block;margin:4px 8px 4px 8px;vertical-align:top;text-align:center;">[[File:{{{army3creature}}}_icon.png|75px|link={{{army3creature}}}]]<br/><span style="font-size:1.1em;">{{{army2count}}}</span></div>}} | |||
</div> | |||
|} | |||
|- | |- | ||
|} | |||
{{#if:{{{tagline|}}}|{{{!}}style="align:left; text-align: center; vertical-align: center; width:300px;border-bottom: 1px solid white" | |||
{{!}}- | |||
{{!}}style="color:white;"{{!}}{{{tagline}}} | |||
{{!}}}}} | |||
{{{introparagraph}}} | |||
{{#if:{{{biography|}}}|==Biography== | |||
<i>{{{biography}}} | |||
}} | |||
==Specialization== | |||
{|style='margin:0;border-collapse: collapse;border: 1px solid #BCB096;width:100%;' | |||
|-style='border: 1px solid #BCB096; background-color:#1E3758;' | |||
| style='text-align:center;width:80px;vertical-align:center;padding:5px' | [[File:{{{faction}}} Hero {{{hero_place_in_faction_list}}} Specialization Icon.png|70px|link=|{{{specname}}}]] || style='padding:10px;' | <b>{{{specname}}}</b> | |||
|-style='text-color: white' | |||
|style='color: white;padding:10px', colspan=2|{{{specdesc}}} | |||
|} | |} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
| Line 36: | Line 57: | ||
<nowiki> | <nowiki> | ||
{{Template:HeroInfo | {{Template:HeroInfo | ||
|name= | |name= | ||
|hero_place_in_faction_list= (place in the default faction list of heroes when starting a game, 1-18; used for specialization icons!) | |||
|faction=Schism | |faction=Schism | ||
|startattack= | |||
|startdefense= | |||
|startspellpower= | |||
|startknowledge= | |||
|startskill1= | |||
|startskill2= | |||
|startspell= | |||
|ismasterful= yes or leave empty | |||
|army1creature= | |||
|army1count= | |||
|army2creature= | |||
|army2count= | |||
|army3creature= | |||
|army3count= | |||
|introparagraph= | |||
|tagline= | |||
|biography= | |||
|specname= | |||
|specdesc= | |||
|specicon= (for special cases) | |||
}}</nowiki> | }}</nowiki> | ||
{{clear}} | {{clear}} | ||
| Line 44: | Line 86: | ||
{{Template:HeroInfo | {{Template:HeroInfo | ||
|name=Blackhorn | |name=Blackhorn | ||
|hero_place_in_faction_list=2 | |||
|faction=Schism | |faction=Schism | ||
|class=Oathkeeper | |||
|startattack=3 | |||
|startdefense=2 | |||
|startspellpower=1 | |||
|startknowledge=1 | |||
|startskill1=Abyssal Communion | |||
|startskill2=Sorcery | |||
|startspell= | |||
|ismasterful= | |||
|army1creature=Ra'Shoth | |||
|army1count=15-20 | |||
|army2creature=Cultist | |||
|army2count=8-11 | |||
|army3creature=Aga'Shoth Rider | |||
|army3count=5-7 | |||
|introparagraph='''Blackhorn''' is an [[Oathkeeper]] of the [[Schism]] faction. | |||
He specialises in [[Sorcery]]. | |||
|tagline=With frozen horns and burning wrath, he delves where others fear to tread. | |||
|biography=After Alvar surfaced, underground excavations required special permission. Mardit defied this law, disgracing his clan and costing them their horns. His youngest daughter vanished, while his sons reacted in starkly different ways. The elder, Mardit, renounced both the father’s name and the traditions that bound him. Fuelled by anger, he mastered ice magic, forging horns of Black Ice and pursuing the truth behind his father’s quest — bearing his new name: Blackhorn. | |||
|specname=Spellwringer | |||
|specdesc=Deals +10% Damage with spells, plus 1% more for every 2 hero levels. The Damage from the enemy hero’s spells is reduced by the same value. | |||
|specicon= | |||
}} | }} | ||
<nowiki>2 starting skills and no starting spell: | <nowiki>2 starting skills and no starting spell: | ||
Revision as of 19:54, 6 May 2026
The template is under construction.
Use
{{Template:HeroInfo
|name=
|hero_place_in_faction_list= (place in the default faction list of heroes when starting a game, 1-18; used for specialization icons!)
|faction=Schism
|startattack=
|startdefense=
|startspellpower=
|startknowledge=
|startskill1=
|startskill2=
|startspell=
|ismasterful= yes or leave empty
|army1creature=
|army1count=
|army2creature=
|army2count=
|army3creature=
|army3count=
|introparagraph=
|tagline=
|biography=
|specname=
|specdesc=
|specicon= (for special cases)
}}
Examples
| |||||
| Starting Stats | |||||
| |||||
| Starting Skills | Starting Spell | ||||
|
None.
| |||||
| Starting Army | |||||
|
| |||||
| With frozen horns and burning wrath, he delves where others fear to tread. |
Blackhorn is an Oathkeeper of the Schism faction.
He specialises in Sorcery.
Biography
After Alvar surfaced, underground excavations required special permission. Mardit defied this law, disgracing his clan and costing them their horns. His youngest daughter vanished, while his sons reacted in starkly different ways. The elder, Mardit, renounced both the father’s name and the traditions that bound him. Fuelled by anger, he mastered ice magic, forging horns of Black Ice and pursuing the truth behind his father’s quest — bearing his new name: Blackhorn.
Specialization
| Spellwringer | |
| Deals +10% Damage with spells, plus 1% more for every 2 hero levels. The Damage from the enemy hero’s spells is reduced by the same value. | |
2 starting skills and no starting spell:
{{Template:HeroInfo
|name=Blackhorn
|faction=Schism
}}
} {{{introparagraph}}}
Specialization
| [[File:Necropolis Hero {{{hero_place_in_faction_list}}} Specialization Icon.png|70px|link=|{{{specname}}}]] | {{{specname}}} |
| {{{specdesc}}} | |
1 starting skill and 1 starting spell:
{{Template:HeroInfo
|name=Funerella
|faction=Necropolis
}}
| |||||
| Starting Stats | |||||
| |||||
| Starting Skill | Starting Spell | ||||
[[File:Skill Advanced {{{startskill1}}}.png|75px|link={{{startskill1}}}]] [[{{{startskill1}}}|Advanced {{{startskill1}}}]] |
None.
| ||||
| Starting Army | |||||
| |||||
} {{{introparagraph}}}
Specialization
| [[File:Temple Hero {{{hero_place_in_faction_list}}} Specialization Icon.png|70px|link=|{{{specname}}}]] | {{{specname}}} |
| {{{specdesc}}} | |
2 starting skills and 1 starting spell and thin hero portrait:
{{Template:HeroInfo
|name=Lia the Unthethered One
|faction=Temple
}}
| |||||
| Starting Stats | |||||
| |||||
| Starting Skill | Starting Spell | ||||
[[File:Skill Advanced {{{startskill1}}}.png|75px|link={{{startskill1}}}]] [[{{{startskill1}}}|Advanced {{{startskill1}}}]] |
None.
| ||||
| Starting Army | |||||
| |||||
} {{{introparagraph}}}
Specialization
| [[File:Temple Hero {{{hero_place_in_faction_list}}} Specialization Icon.png|70px|link=|{{{specname}}}]] | {{{specname}}} |
| {{{specdesc}}} | |
2 starting skills and 1 masterful starting spell (WIP)
{{Template:HeroInfo
|name=Sister Deira
|faction=Temple
}}


