Template:HeroInfo/fr: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary
No edit summary
Line 26: Line 26:
| style='border: 1px solid #BCB096;{{!}}[[Skills/fr|Compétences de départ]]}}
| style='border: 1px solid #BCB096;{{!}}[[Skills/fr|Compétences de départ]]}}
|-colspan=2, 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.-->
|-colspan=2, 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.-->
|colspan=2, {{#if:{{{startskill2|}}} | style='color: white;border: 1px solid #BCB096; padding:4px;'{{!}}[[File:Skill {{{startskill1}}}.png|50px|link={{{startskill1}}}]] [[{{{startskill1}}}|Basic {{{startskill1}}}]]</div><div>[[File:Skill {{{startskill2}}}.png|50px|link={{{startskill2}}}]] [[{{{startskill2}}}|Basic {{{startskill2}}}]]</div>|style='color: white;border: 1px solid #BCB096; padding:4px;'{{!}}<div>[[File:Skill Advanced {{{startskill1}}}.png|50px|link={{{startskill1}}}]] [[{{{startskill1}}}|Advanced {{{startskill1}}}]]</div>}}
|colspan=2, {{#if:{{{startskill2|}}} | style='color: white;border: 1px solid #BCB096; padding:4px;'{{!}}[[File:Skill {{{startskill1}}}.png|50px|link={{{startskill1}}}/fr]] [[{{{startskill1}}}/fr|{{{startskill1_fr}}}]] de base</div><div>[[File:Skill {{{startskill2}}}.png|50px|link={{{startskill2}}}]] [[{{{startskill2}}}|Basic {{{startskill2}}}]]</div>|style='color: white;border: 1px solid #BCB096; padding:4px;'{{!}}<div>[[File:Skill Advanced {{{startskill1}}}.png|50px|link={{{startskill1}}}/fr]] [[{{{startskill1}}}/fr|{{{startskill1_fr}}}]] avancé</div>}}
|-style="border-bottom: 1px solid #BCB096; background-color:#1E3758"
|-style="border-bottom: 1px solid #BCB096; background-color:#1E3758"
|colspan=2|{{#if:{{{startspell2|}}} |[[Spells/fr|Sorts de départ]]|[[Spells/fr|Sorts de départ]]}}
|colspan=2|{{#if:{{{startspell2|}}} |[[Spells/fr|Sorts de départ]]|[[Spells/fr|Sorts de départ]]}}
|-
|-
|colspan=2, style='color: white;border: 1px solid #BCB096; padding:4px;'|{{#if:{{{startspell|}}}|<div>[[File:{{{startspell}}}.png|50px|link={{{startspell}}}|{{{startspell}}}]] {{#if:{{{ismasterful|}}}|[[{{{startspell}}}{{!}}Masterful {{{startspell}}}]]|[[{{{startspell}}}]]</div>{{#if:{{{startspell2|}}}|<div>[[File:{{{startspell2}}}.png|50px|link={{{startspell2}}}|{{{startspell2}}}]] [[{{{startspell}}}]]</div>}}}}
|colspan=2, style='color: white;border: 1px solid #BCB096; padding:4px;'|{{#if:{{{startspell|}}}|<div>[[File:{{{startspell}}}.png|50px|link={{{startspell}}}/fr|{{{startspell_fr}}}]] {{#if:{{{ismasterful|}}}|[[{{{startspell}}}{{!}}Masterful {{{startspell}}}]]|[[{{{startspell}}}]]</div>{{#if:{{{startspell2|}}}|<div>[[File:{{{startspell2}}}.png|50px|link={{{startspell2}}}/fr|{{{startspell2_fr}}}]] [[{{{startspell}}}/fr|{{{startspell2_fr}}}]]</div>}}}}
       |
       |
       <div>None.</div>
       <div>None.</div>

Revision as of 18:31, 20 May 2026


This article is a stub. You can help this wiki by expanding it.

The template is under construction.

Usage

Capitalize all names and titles properly.

{{Template:HeroInfo
|name=
|hero_id= (Place in the default faction list of heroes when starting a game, 1-18; used for specialization icons!)
|faction=
|class=
|startattack=
|startdefense=
|startspellpower=
|startknowledge=
|startskill1=
|startskill2=
|startspell=
|startspell2=
|ismasterful= (Leave empty if not!)
|army1creature=
|army1count=
|army2creature=
|army2count=
|army3creature=
|army3count=
|intro= (write entire intro paragraph here, lines breaks are OK)
|tagline=
|biography=
|specname=
|specdesc=
|specicon= (for special cases when not one of 18 default heroes; use full file name with .png, leave empty otherwise)
|strategy=
|trivia=
}}