Template:UnitInfobox: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
Created page with "<includeonly><!-- -->{{#cargo_query: tables = Unit = U, <!-- Unit --> Unit = U0, <!-- Base unit --> Translation = T, <!-- Translation of name in desired language --> Translation = E, <!-- Translation of name in English --> | join on = U.id = T.target_id, U.id = E.target_id, {{#switch: {{#sub: {{{id}}} | -4 }} | #default = U.id = U0.id | _upg = U.base_sid = U0.id | _alt =..." |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 31: | Line 31: | ||
U.tier = tier, | U.tier = tier, | ||
U.squad_value = squad_value, | U.squad_value = squad_value, | ||
{{# | <!-- Lua fields --> | ||
CONCAT("{{#invoke:UnitInfobox|findGrowth|id={{{id}}}}}") = units_weekly, | |||
|}} | CONCAT("{{#invoke:UnitInfobox|findDwelling|id={{{id}}}|lang={{{lang}}}}}") = dwelling, | ||
CONCAT("{{#invoke:UnitInfobox|findBank|id={{{id}}}|lang={{{lang}}}}}") = bank, | |||
CONCAT("{{#invoke:UnitInfobox|findSpecialistId|id={{{id}}}}}") = specialist_id, | |||
<!-- Unit costs --> | <!-- Unit costs --> | ||
U.gold_cost = gold_cost, | U.gold_cost = gold_cost, | ||
| Line 76: | Line 78: | ||
| named args = | | named args = | ||
yes | yes | ||
}}<!-- | }}</includeonly><!-- | ||
################################################################################ | ################################################################################ | ||
-- | --><noinclude> | ||
Renders the right-floating unit box. | |||
---- | |||
1. Temple base unit: | 1. Temple base unit: | ||
| Line 122: | Line 127: | ||
---- <!--====================================================================--> | ---- <!--====================================================================--> | ||
4. Hive unit | 4. Hive unit: | ||
{{UnitInfobox | {{UnitInfobox | ||
| lang = en | | lang = en | ||
| id = hive_queen | | id = hive_queen | ||
}} | }} | ||
<pre><nowiki> | <pre><nowiki> | ||
| Line 132: | Line 136: | ||
| lang = en | | lang = en | ||
| id = hive_queen | | id = hive_queen | ||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
| Line 175: | Line 178: | ||
| lang = en | | lang = en | ||
| id = pixie | | id = pixie | ||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
Latest revision as of 20:18, 18 July 2026
Renders the right-floating unit box.
1. Temple base unit:
Faction |
|||
Tier VII |
|||
Base growth +1 |
|||
Squad value 3660 |
|||
| Stats | |||
Health 225
|
Attack 30
|
Defense 30
|
Damage 50-75
|
Morale 0
|
Luck 0
|
Initiative 8
|
Speed 4
|
| Other Info | |||
Dwelling |
|||
| Related Units | |||
Base unit Angel |
|||
| Internal ID | |||
| angel | |||
{{UnitInfobox
| lang = en
| id = angel
}}
2. Necropolis upgraded unit:
{{UnitInfobox
| lang = en
| id = vampire_upg
}}
3. Grove upgraded alternative unit:
{{UnitInfobox
| lang = en
| id = phoenix_upg_alt
}}
4. Hive unit:
{{UnitInfobox
| lang = en
| id = hive_queen
}}
5. Schism unit, in Japanese:
派閥 |
|||
ティア V |
|||
Cost💬 580 |
|||
Base growth💬 +3 |
|||
Squad value💬 623 |
|||
| Stats💬 | |||
HP 60
|
攻撃力 16
|
防御力 13
|
ダメージ 14-20
|
士気 0
|
幸運 0
|
イニシアチブ 5
|
素早さ 2
|
| Other Info💬 | |||
Dwelling💬 |
|||
Specialist hero💬 |
|||
| Related Units💬 | |||
Base unit💬 信徒 |
|||
| Internal ID💬 | |||
| succubus | |||
{{UnitInfobox
| lang = ja
| id = succubus
}}
6. Dungeon unit:
Faction |
|||
Tier VI |
|||
Cost 1200 |
|||
Base growth +2 |
|||
Squad value 1345 |
|||
| Stats | |||
Health 130
|
Attack 24
|
Defense 22
|
Damage 25-28
|
Morale 0
|
Luck 0
|
Initiative 6
|
Speed 4
|
| Other Info | |||
Dwelling |
|||
Specialist hero |
|||
| Related Units | |||
Base unit Hydra |
|||
| Internal ID | |||
| hydra | |||
{{UnitInfobox
| lang = en
| id = hydra
}}
7. Neutral unit:
Faction |
|||
Tier I |
|||
Cost 100 |
|||
Base growth +100 |
|||
Squad value 75 |
|||
| Stats | |||
Health 6
|
Attack 2
|
Defense 2
|
Damage 2-2
|
Morale 0
|
Luck 0
|
Initiative 8
|
Speed 8
|
| Other Info | |||
Dwelling |
|||
| Internal ID | |||
| pixie | |||
{{UnitInfobox
| lang = en
| id = pixie
}}


