Template:Sandbox/Aurelain/HeroClassInfobox/base: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary
No edit summary
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
-->id={{{id}}},name={{{name}}},faction={{{faction}}},<br><!--
-->{{#explode:{{{id}}}|_|0}}<!--
--><templatestyles src="Template:Sandbox/Aurelain/HeroClassInfobox/styles.css" /><!--
--><templatestyles src="Template:Sandbox/Aurelain/HeroClassInfobox/styles.css" /><!--
--><div class='hc-box faction-{{{faction}}}'>
--><div class='hc-box faction-{{{faction}}}'>
Line 16: Line 14:
                             |[[File:Wip_Mage_Specialization_Icon.png|20px|link=]]
                             |[[File:Wip_Mage_Specialization_Icon.png|20px|link=]]
                         }}<!--
                         }}<!--
                         --> {{{type}}}<!--
                         --> {{#explode:{{#explode:{{{type_text}}}|.|0}}|。|0}}<!--
                     --></div><!--
                     --></div><!--
                 --></div><!--
                 --></div><!--
Line 38: Line 36:
             --><div class='field'><!--
             --><div class='field'><!--
                 --><div>{{Translation|wiki_hc_skill|{{{lang}}}}}</div><!--
                 --><div>{{Translation|wiki_hc_skill|{{{lang}}}}}</div><!--
                 --><div>{{Skill|faction_humans|en}}</div><!--
                 --><div>{{Skill|faction_{{{faction}}}|{{{lang}}}}}</div><!--
             --></div><!--
             --></div><!--
         --></td>
         --></td>
Line 54: Line 52:
             --><div class='attribute'><!--
             --><div class='attribute'><!--
                 --><div class='value'><!--
                 --><div class='value'><!--
                     -->{{Hint|[[File:Icon_Stats_Attack.png|32px|link=]]|[[Hero_Basics#Attributes|Attack]]}} 3<!--
                     -->{{Hint<!--
                        -->|[[File:Icon_Stats_Attack.png|24px|link=]]<!--
                        -->|[[Hero_Basics{{#ifeq:{{{lang}}}|en||/{{{lang}}}}}#Attributes|<!--
                            -->{{Translation|offence|{{{lang}}}|type=hero_stat}}]]<!--
                    -->}}<!--
                    --> {{{attack}}}<!--
                 --></div><!--
                 --></div><!--
                 -->45%<!--
                 -->{{{attack_roll}}}%<!--
             --></div><!--
             --></div><!--
             --><div class='attribute'><!--
             --><div class='attribute'><!--
                 --><div class='value'><!--
                 --><div class='value'><!--
                     -->{{Hint|[[File:Icon_Stats_Defense.png|32px|link=]]|[[Hero_Basics#Attributes|Defense]]}} 1<!--
                     -->{{Hint<!--
                        -->|[[File:Icon_Stats_Defense.png|24px|link=]]<!--
                        -->|[[Hero_Basics{{#ifeq:{{{lang}}}|en||/{{{lang}}}}}#Attributes|<!--
                            -->{{Translation|defence|{{{lang}}}|type=hero_stat}}]]<!--
                    -->}}<!--
                    --> {{{defense}}}<!--
                 --></div><!--
                 --></div><!--
                 -->25%<!--
                 -->{{{defense_roll}}}%<!--
             --></div><!--
             --></div><!--
             --><div class='attribute'><!--
             --><div class='attribute'><!--
                 --><div class='value'><!--
                 --><div class='value'><!--
                     -->{{Hint|[[File:Icon_Stats_Spellpower.png|32px|link=]]|[[Hero_Basics#Attributes|Spell Power]]}} 1<!--
                     -->{{Hint<!--
                        -->|[[File:Icon_Stats_Spellpower.png|24px|link=]]<!--
                        -->|[[Hero_Basics{{#ifeq:{{{lang}}}|en||/{{{lang}}}}}#Attributes|<!--
                            -->{{Translation|spellPower|{{{lang}}}|type=hero_stat}}]]<!--
                    -->}}<!--
                    --> {{{power}}}<!--
                 --></div><!--
                 --></div><!--
                 -->15%<!--
                 -->{{{power_roll}}}%<!--
             --></div><!--
             --></div><!--
             --><div class='attribute'><!--
             --><div class='attribute'><!--
                 --><div class='value'><!--
                 --><div class='value'><!--
                     -->{{Hint|[[File:Icon_Stats_Inteligence.png|32px|link=]]|[[Hero_Basics#Attributes|Knowledge]]}} 2<!--
                     -->{{Hint<!--
                        -->|[[File:Icon_Stats_Inteligence.png|24px|link=]]<!--
                        -->|[[Hero_Basics{{#ifeq:{{{lang}}}|en||/{{{lang}}}}}#Attributes|<!--
                            -->{{Translation|intelligence|{{{lang}}}|type=hero_stat}}]]<!--
                    -->}}<!--
                    --> {{{knowledge}}}<!--
                 --></div><!--
                 --></div><!--
                 -->15%<!--
                 -->{{{knowledge_roll}}}%<!--
             --></div><!--
             --></div><!--
         --></div><!--
         --></div><!--
Line 81: Line 99:
     </tr>
     </tr>
     <!--==== ELITE CLASSES ==================================================-->
     <!--==== ELITE CLASSES ==================================================-->
     <tr class='band'><td colspan='4'>Elite classes</td></tr>
     <tr class='band'><td colspan='4'>{{Translation|wiki_hc_elite|{{{lang}}}}}</td></tr>
     <tr>
     <tr>
         <td colspan='4'><!--
         <td colspan='4' class='elites'><!--
             -->{{LinkIcon
             -->{{LinkIcon
                 |id=sub_class_{{{faction}_{{#spli}}_1
                 |id=sub_class_{{#ifeq:{{{faction}}}|demon|demons|{{{faction}}}}}_{{#explode:{{{id}}}|_|0}}_1
                 |suffix=_icon.png
                 |suffix=_icon.png
                 |lang={{{lang}}}
                 |lang={{{lang}}}
                 |link=#Elite
                 |link=0
                |size=48px
             }}<br><!--
             }}<br><!--
             -->{{LinkIcon|id=sub_class_human_might_2|size=32px|suffix=_icon.png|lang={{{lang}}}|link=#Elite}}<!--
             -->{{LinkIcon
                |id=sub_class_{{#ifeq:{{{faction}}}|demon|demons|{{{faction}}}}}_{{#explode:{{{id}}}|_|0}}_2
                |suffix=_icon.png
                |lang={{{lang}}}
                |link=0
                |size=48px
            }}<!--
         --></td>
         --></td>
     </tr>
     </tr>
Line 109: Line 134:
     | lang = en
     | lang = en
     | id = might_human
     | id = might_human
     | type = Might Hero
     | type_text = Might Hero. Lorem ipsum
     | name = Knight
     | name = Knight
     | faction = human
     | faction = human
     | attack = 3
     | attack = 2
     | attack = 3
    | attack_roll = 35
     | attack = 3
    | defense = 3
     | attack = 3
     | defense_roll = 35
     | attack_
    | power = 1
     | power_roll = 10
     | knowledge = 1
     | knowledge_roll = 20
}}
}}
<pre><nowiki>
<pre><nowiki>
Line 122: Line 150:
     | lang = en
     | lang = en
     | id = might_human
     | id = might_human
    | type_text = Might Hero. Lorem ipsum
     | name = Knight
     | name = Knight
     | faction = human
     | faction = human
     | type = Might Hero
     | attack = 2
    | attack_roll = 35
    | defense = 3
    | defense_roll = 35
    | power = 1
    | power_roll = 10
    | knowledge = 1
    | knowledge_roll = 20
}}
}}
</nowiki></pre>
</nowiki></pre>
Line 131: Line 167:
<!--=========================================================================-->
<!--=========================================================================-->
==2. Magic:==
==2. Magic:==
 
{{Sandbox/Aurelain/HeroClassInfobox/base
    | lang = en
    | id = magic_undead
    | type_text = Magic Hero. Lorem ipsum
    | name = Necromancer
    | faction = undead
    | attack = 1
    | attack_roll = 10
    | defense = 0
    | defense_roll = 15
    | power = 2
    | power_roll = 35
    | knowledge = 4
    | knowledge_roll = 40
}}
<pre><nowiki>
{{Sandbox/Aurelain/HeroClassInfobox/base
    | lang = en
    | id = magic_undead
    | type_text = Magic Hero. Lorem ipsum
    | name = Necromancer
    | faction = undead
    | attack = 1
    | attack_roll = 10
    | defense = 0
    | defense_roll = 15
    | power = 2
    | power_roll = 35
    | knowledge = 4
    | knowledge_roll = 40
}}
</nowiki></pre>
{{Clear}}


<!--=========================================================================-->
<!--=========================================================================-->
==3. Japanese:==
==3. Japanese:==
 
{{Sandbox/Aurelain/HeroClassInfobox/base
    | lang = ja
    | id = might_human
    | type_text = 武勇系ヒーロー。升
    | name = 騎士
    | faction = human
    | attack = 2
    | attack_roll = 35
    | defense = 3
    | defense_roll = 35
    | power = 1
    | power_roll = 10
    | knowledge = 1
    | knowledge_roll = 20
}}
<pre><nowiki>
{{Sandbox/Aurelain/HeroClassInfobox/base
    | lang = ja
    | id = might_human
    | type_text = 武勇系ヒーロー。升
    | name = 騎士
    | faction = human
    | attack = 2
    | attack_roll = 35
    | defense = 3
    | defense_roll = 35
    | power = 1
    | power_roll = 10
    | knowledge = 1
    | knowledge_roll = 20
}}
</nowiki></pre>
{{Clear}}


[[Category:Infobox templates]]
[[Category:Infobox templates]]
__NOTOC__
__NOTOC__
</noinclude>
</noinclude>

Latest revision as of 05:28, 9 August 2026


Renders the hero-class box that floats to the right of the page.

1. Might:

Knight
Might Hero
Faction
Faction skill
Starting attributes
(with growth odds at levels 1-24)
Attack 2
35%
35%
At levels 25+, all odds are 25%.
Elite classes
Swashbuckler
Paragon
Internal ID
might_human
{{Sandbox/Aurelain/HeroClassInfobox/base
    | lang = en
    | id = might_human
    | type_text = Might Hero. Lorem ipsum
    | name = Knight
    | faction = human
    | attack = 2
    | attack_roll = 35
    | defense = 3
    | defense_roll = 35
    | power = 1
    | power_roll = 10
    | knowledge = 1
    | knowledge_roll = 20
}}

2. Magic:

Necromancer
Magic Hero
Faction
Faction skill
Starting attributes
(with growth odds at levels 1-24)
At levels 25+, all odds are 25%.
Elite classes
Soulweaver
Chronomancer
Internal ID
magic_undead
{{Sandbox/Aurelain/HeroClassInfobox/base
    | lang = en
    | id = magic_undead
    | type_text = Magic Hero. Lorem ipsum
    | name = Necromancer
    | faction = undead
    | attack = 1
    | attack_roll = 10
    | defense = 0
    | defense_roll = 15
    | power = 2
    | power_roll = 35
    | knowledge = 4
    | knowledge_roll = 40
}}

3. Japanese:

騎士
武勇系ヒーロー
Faction skill💬
Starting attributes💬
(with growth odds at levels 1-24)💬
At levels 25+, all odds are 25%.💬
Elite classes💬
剣使い
範士
Internal ID💬
might_human
{{Sandbox/Aurelain/HeroClassInfobox/base
    | lang = ja
    | id = might_human
    | type_text = 武勇系ヒーロー。升
    | name = 騎士
    | faction = human
    | attack = 2
    | attack_roll = 35
    | defense = 3
    | defense_roll = 35
    | power = 1
    | power_roll = 10
    | knowledge = 1
    | knowledge_roll = 20
}}