Template:Sandbox/Aurelain/HeroInfobox/base: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
Created page with "<noinclude> {{loc}} {{Template:HeroInfoBox/base | lang=pl | id=demon_hero_4 | name=Zoran, the Self-Founded | portrait=Zoran, the Self-Founded.png | faction=demon | class=might_demon | startattack=4 | startdefense=0 | startspellpower=2 | startknowledge=1 | motto=Waurmos are complex and intelligent creatures, but few of them stoop to finding personhood. This one did. }} <pre><nowiki> {{Template:HeroInfoBox/base | lang=en | id=demon_hero_4 | name=Zoran, the Self-Founded |..." |
No edit summary |
||
| (73 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
< | <includeonly><!-- | ||
{{ | --><templatestyles src="Template:Sandbox/Aurelain/HeroInfobox/styles.css" /><!-- | ||
--><div class='hero-box faction-{{{faction}}}'> | |||
<!--==== TITLE ==========================================================--> | |||
<div class='band title'>{{{name}}}</div> | |||
{{ | <!--==== PORTRAIT =======================================================--> | ||
<div class='image'>[[File:{{{portrait}}}|300px]]</div> | |||
<!--==== MOTTO ==========================================================--> | |||
<div style='font-style: italic; color:#fff;'>{{{motto}}}</div> | |||
<!--==== FACTION ========================================================--> | |||
| | <div class='field'> | ||
| | <div>{{Translation|faction|{{{lang}}}}}</div> | ||
<div>{{F|{{{faction}}}|{{{lang}}}}}</div> | |||
| | </div> | ||
| | |||
}} | <!--==== HERO CLASS =====================================================--> | ||
<div class='field'> | |||
<div>{{Translation|wiki_hero_class|{{{lang}}}}}</div> | |||
<div>{{Class|{{{class}}}|{{{lang}}}}}</div> | |||
</div> | |||
< | <!--==== ATTRIBUTES =====================================================--> | ||
{{ | <div class='band'>{{Translation|wiki_start_attributes|{{{lang}}}}}</div> | ||
<div style='display:flex;color:#fff'> | |||
| id= | {{StatDisplay|id=offence|stat={{{startattack}}}|lang={{{lang}}}}} | ||
| | {{StatDisplay|id=defence|stat={{{startdefense}}}|lang={{{lang}}}}} | ||
| | {{StatDisplay|id=spellPower|stat={{{startspellpower}}}|lang={{{lang}}}}} | ||
| | {{StatDisplay|id=intelligence|stat={{{startknowledge}}}|lang={{{lang}}}}} | ||
| | </div> | ||
| | |||
| | |||
| startspellpower= | |||
| startknowledge | |||
| | |||
}}</ | |||
<!--==== STARTING SKILLS ================================================--> | |||
<div class='band'>{{Translation|starting_skills|{{{lang}}}}}</div> | |||
<div class='columnar'>{{#cargo_query: | |||
tables = | |||
Hero = H, | |||
Hero__start_skills = S, | |||
Hero__start_skill_levels = L | |||
| join on = | |||
H._rowID = S._rowID, | |||
S._rowID = L._rowID, | |||
S._position = L._position | |||
| fields = | |||
S._value = id, | |||
L._value = level, | |||
CONCAT('{{{lang}}}') = lang | |||
| where = | |||
H.id = '{{{id|}}}' | |||
AND S._value IS NOT NULL | |||
| order by = S._position | |||
| format = template | |||
| template = Skill | |||
| named args = yes | |||
| default = {{Translation|wiki_none|{{{lang}}}}} | |||
}} | |||
</div> | |||
< | <!--==== STARTING SPELLS ================================================--> | ||
| | <div class='band'>{{Translation|starting_spells|{{{lang}}}}}</div> | ||
| | <div class='columnar'>{{#cargo_query: | ||
{| | tables = | ||
Hero = H, | |||
| | Hero__start_magics = S | ||
| | | join on = | ||
| | H._rowID = S._rowID | ||
| fields = | |||
S._value = id, | |||
CONCAT('{{{lang}}}') = lang | |||
| where = | |||
H.id = '{{{id|}}}' | |||
AND S._value IS NOT NULL | |||
| format = template | |||
| template = Spell | |||
| named args = yes | |||
| default = {{Translation|wiki_none|{{{lang}}}}} | |||
}} | |||
</div> | |||
| | <!--==== STARTING ARMY ==================================================--> | ||
| | <div class='band'>{{Translation|starting_army|{{{lang}}}}}</div> | ||
<div class='army'>{{#cargo_query: | |||
tables = | |||
Hero = H, | |||
HeroStartSquad = HSS, | |||
Unit = U, | |||
Translation = unit_t, | |||
Translation = unit_en | |||
|join on = | |||
H.id = HSS.hero_id, | |||
HSS.unit_id = U.id, | |||
U.id = unit_t.target_id, | |||
U.id = unit_en.target_id | |||
|where = | |||
H.id = '{{{id|}}}' | |||
AND HSS.variant = 'primary' | |||
AND unit_t.type = 'unit' | |||
AND unit_t.language = '{{{lang|en}}}' | |||
AND unit_en.type = 'unit' | |||
AND unit_en.language = 'en' | |||
|fields = | |||
U.id = id, | |||
CONCAT('{{{lang}}}') = lang, | |||
CONCAT('1') = stack, | |||
IF(HSS.min = HSS.max, HSS.min, CONCAT(HSS.min, "-", HSS.max)) = text | |||
|order by = HSS.slot | |||
|format = template | |||
|template = Unit | |||
|named args = yes | |||
}} | |||
</div> | |||
<!--==== INTERNAL ID ====================================================--> | |||
<div class='band'>{{Translation|wiki_internal_id|{{{lang}}}}}</div> | |||
<div style='color:rgba(255,255,255,0.5)'>{{{id}}}</div> | |||
</div><!-- | |||
--></includeonly><!-- | |||
################################################################################ | |||
--><noinclude> | |||
<!--=========================================================================--> | |||
==1. English:== | |||
{{Sandbox/Aurelain/HeroInfobox/base | |||
| lang = en | |||
| id = necro_hero_10 | |||
| name = Mag | |||
| portrait = Mag.png | |||
| faction = undead | |||
| | | class = magic_undead | ||
| | | startattack = 1 | ||
| | | startdefense = 0 | ||
| | | startspellpower = 2 | ||
| | | startknowledge = 4 | ||
{{ | | motto = To a true scholar of magic, the body is nothing but dead weight. | ||
| | }} | ||
| | <pre><nowiki> | ||
| | {{Sandbox/Aurelain/HeroInfobox/base | ||
| | | lang = en | ||
| | | id = necro_hero_10 | ||
| | | name = Mag | ||
| | | portrait = Mag.png | ||
| | | faction = undead | ||
| class = magic_undead | |||
| startattack = 1 | |||
| startdefense = 0 | |||
| startspellpower = 2 | |||
| startknowledge = 4 | |||
| motto = To a true scholar of magic, the body is nothing but dead weight. | |||
}} | }} | ||
</nowiki></pre> | |||
{{Clear}} | |||
<!--=========================================================================--> | |||
==2. Japanese:== | |||
| | {{Sandbox/Aurelain/HeroInfobox/base | ||
| | | lang = ja | ||
| id = necro_hero_10 | |||
| | | name = マグ | ||
| | | portrait = Mag.png | ||
| | | faction = undead | ||
| | | class = magic_undead | ||
| | | startattack = 1 | ||
| | | startdefense = 0 | ||
| | | startspellpower = 2 | ||
| startknowledge = 4 | |||
| motto = 真の魔法学者にとって、肉体は重荷でしかない。 | |||
}} | }} | ||
<pre><nowiki> | |||
{{Sandbox/Aurelain/HeroInfobox/base | |||
| lang = ja | |||
| id = necro_hero_10 | |||
| name = マグ | |||
| portrait = Mag.png | |||
| faction = undead | |||
{{ | | class = magic_undead | ||
| startattack = 1 | |||
| startdefense = 0 | |||
| | | startspellpower = 2 | ||
| startknowledge = 4 | |||
| motto = 真の魔法学者にとって、肉体は重荷でしかない。 | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
}} | }} | ||
</ | </nowiki></pre> | ||
</noinclude> | |||
Latest revision as of 19:30, 25 August 2026
1. English:
Mag
To a true scholar of magic, the body is nothing but dead weight.
Faction
Hero Class
Starting Attributes
Starting Skills
Starting Spells
Starting Army
Internal ID
necro_hero_10
{{Sandbox/Aurelain/HeroInfobox/base
| lang = en
| id = necro_hero_10
| name = Mag
| portrait = Mag.png
| faction = undead
| class = magic_undead
| startattack = 1
| startdefense = 0
| startspellpower = 2
| startknowledge = 4
| motto = To a true scholar of magic, the body is nothing but dead weight.
}}
2. Japanese:
マグ
真の魔法学者にとって、肉体は重荷でしかない。
派閥
Hero Class💬
Starting Attributes💬
開始スキル
開始呪文
開始軍勢
Internal ID💬
necro_hero_10
{{Sandbox/Aurelain/HeroInfobox/base
| lang = ja
| id = necro_hero_10
| name = マグ
| portrait = Mag.png
| faction = undead
| class = magic_undead
| startattack = 1
| startdefense = 0
| startspellpower = 2
| startknowledge = 4
| motto = 真の魔法学者にとって、肉体は重荷でしかない。
}}


