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
Line 1: Line 1:
<noinclude>
<includeonly><!--
{{loc}}
-->{|class=infobox style='margin:0em 1em 1em 1em;float:right;text-align: center;vertical-align: center; width:25%; border-collapse: collapse; border: 1px solid #BCB096'
 
{{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
| 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.
}}</nowiki></pre>
 
 
</noinclude><includeonly>{|class=infobox style='margin:0em 1em 1em 1em;float:right;text-align: center;vertical-align: center; width:25%; border-collapse: collapse; border: 1px solid #BCB096'
|-style='border-bottom: 1px solid #BCB096; background-color:#1E3758'
|-style='border-bottom: 1px solid #BCB096; background-color:#1E3758'
|colspan=2|
|colspan=2|
Line 96: Line 64:
|style="width:25%;"|
|style="width:25%;"|
{{#cargo_query:
{{#cargo_query:
tables  = Hero=H, HeroStartSquad=HSS, Unit=U,
tables  = Hero=H, HeroStartSquad=HSS, Unit=U,
          Translation=unit_t, Translation=unit_en
          Translation=unit_t, Translation=unit_en
|join on = H.id        = HSS.hero_id,  
|join on = H.id        = HSS.hero_id,
          HSS.unit_id  = U.id,
          HSS.unit_id  = U.id,
          U.id        = unit_t.target_id,
          U.id        = unit_t.target_id,
          U.id        = unit_en.target_id
          U.id        = unit_en.target_id
|where  = H.id = '{{{id|}}}'
|where  = H.id = '{{{id|}}}'
          AND HSS.variant    = 'primary'
          AND HSS.variant    = 'primary'
          AND unit_t.type    = 'unit'      AND unit_t.language    = '{{{lang|en}}}'
          AND unit_t.type    = 'unit'      AND unit_t.language    = '{{{lang|en}}}'
          AND unit_en.type    = 'unit'      AND unit_en.language  = 'en'
          AND unit_en.type    = 'unit'      AND unit_en.language  = 'en'
|fields  = unit_t.name                          = name,
|fields  = unit_t.name                          = name,
          unit_en.name                        = pagelink,
          unit_en.name                        = pagelink,
          CONCAT(unit_en.name, '_icon')        = filename,
          CONCAT(unit_en.name, '_icon')        = filename,
          IF(HSS.min = HSS.max, HSS.min,  
          IF(HSS.min = HSS.max, HSS.min,
              CONCAT(HSS.min, " - ", HSS.max)) = text
              CONCAT(HSS.min, " - ", HSS.max)) = text
|order by= HSS.slot
|order by= HSS.slot
|format  = template
|format  = template
Line 124: Line 92:
|colspan=2, style="color:white; opacity:50%;" |{{{id}}}
|colspan=2, style="color:white; opacity:50%;" |{{{id}}}


|}</includeonly>
|}<!--
--></includeonly><!--
################################################################################
--><noinclude>
<!--=========================================================================-->
==1. English:==
{{Template:HeroInfoBox/base
    | lang = en
    | id = necro_hero_10
    | name = Mag
    | portrait = Mag.png
    | faction = undead
    | class = magic_undead
    | startattack = 4
    | startdefense = 0
    | startspellpower = 2
    | startknowledge = 1
    | motto = To a true scholar of magic, the body is nothing but dead weight.
}}
 
<!--=========================================================================-->
==2. Japanese:==
<pre><nowiki>
{{Template:HeroInfoBox/base
    | lang = en
    | id = necro_hero_10
    | name = マグ
    | portrait = Mag.png
    | faction = undead
    | class = magic_undead
    | startattack = 4
    | startdefense = 0
    | startspellpower = 2
    | startknowledge = 1
    | motto = 真の魔法学者にとって、肉体は重荷でしかない。
}}
</nowiki></pre>
 
</noinclude>

Revision as of 06:16, 25 August 2026

1. English:

Mag
To a true scholar of magic, the body is nothing but dead weight.
Faction
Hero Class
Starting Attributes
Attack 4
Starting Skills
Starting Spells
Starting Army
Internal ID
necro_hero_10

2. Japanese:

{{Template:HeroInfoBox/base
    | lang = en
    | id = necro_hero_10
    | name = マグ
    | portrait = Mag.png
    | faction = undead
    | class = magic_undead
    | startattack = 4
    | startdefense = 0
    | startspellpower = 2
    | startknowledge = 1
    | motto = 真の魔法学者にとって、肉体は重荷でしかない。
}}