Template:UnitInfobox/base: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
N (talk | contribs)
No edit summary
N (talk | contribs)
Made related units links wrap if too long by separating icon and name into two elements directly next to one another
 
(5 intermediate revisions by 2 users not shown)
Line 12: Line 12:
         --></td>
         --></td>
     </tr>
     </tr>
     <!--==== BATTLEFIELD ====================================================-->
     <!--==== BATTLEFIELD ====================================================-->
     <tr>
     <tr>
Line 24: Line 23:
             |dungeon=Dungeon
             |dungeon=Dungeon
             |neutral=Neutral
             |neutral=Neutral
             }}_{{#replace:{{{name_en}}}| |}}_Battlefield.png|300px|link=]]<!--
             }}_{{#invoke:UnitInfobox|simplifyName|name={{{name_en}}}}}_Battlefield.png|300px|link=]]<!--
         --></td>
         --></td>
     </tr>
     </tr>
     <!--==== FACTION ========================================================-->
     <!--==== FACTION ========================================================-->
     <tr>
     <tr>
Line 37: Line 35:
         --></td>
         --></td>
     </tr>
     </tr>
     <!--==== TIER ===========================================================-->
     <!--==== TIER ===========================================================-->
     <tr>
     <tr>
Line 47: Line 44:
         --></td>
         --></td>
     </tr>
     </tr>
     <!--==== COST ===========================================================-->
     <!--==== COST ===========================================================-->
     <tr>
     <tr>
Line 82: Line 78:
         --></td>
         --></td>
     </tr>
     </tr>
     <!--==== GROWTH =========================================================-->
     <!--==== GROWTH =========================================================-->
    {{#if: {{{units_weekly|}}}|
     <tr>
     <tr>
         <td colspan='4'><!--
         <td colspan='4'><!--
             --><div class='field'><!--
             --><div class='field'><!--
                 --><div>{{Translation|wiki_ubox_growth|{{{lang}}}}}</div><!--
                 --><div>{{Translation|wiki_ubox_growth|{{{lang}}}}}</div><!--
                 --><div>+{{#cargo_query:
                 --><div>+{{{units_weekly}}}</div><!--
                    tables = Building=B
                    | where = B.units_hire_sid = '{{{base_id}}}'
                    | fields = B.units_weekly
                    | limit = 1
                    | default =
                    | more results text =
                    }}<!--
                --></div><!--
           --></div><!--
           --></div><!--
         --></td>
         --></td>
     </tr>
     </tr>
 
    |}}
     <!--==== SQUAD VALUE ====================================================-->
     <!--==== SQUAD VALUE ====================================================-->
     <tr>
     <tr>
Line 110: Line 98:
         --></td>
         --></td>
     </tr>
     </tr>
     <!--==== STATS ==========================================================-->
     <!--==== STATS ==========================================================-->
     <tr class='band'><td colspan='4'>{{Translation|wiki_ubox_stats|{{{lang}}}}}</td></tr>
     <tr class='band'><td colspan='4'>{{Translation|wiki_ubox_stats|{{{lang}}}}}</td></tr>
Line 159: Line 146:
         </td>
         </td>
     </tr>
     </tr>
    {{#ifeq: {{{faction}}} | neutral ||
     <!--==== OTHER INFO HEADER ==============================================-->
     <!--==== OTHER INFO HEADER ==============================================-->
    {{#if: {{{dwelling|}}}{{{bank|}}}{{{specialist_id|}}}|
     <tr class='band'><td colspan='4'>{{Translation|wiki_ubox_other|{{{lang}}}}}</td></tr>
     <tr class='band'><td colspan='4'>{{Translation|wiki_ubox_other|{{{lang}}}}}</td></tr>
 
    |}}
     <!--==== DWELLING =======================================================-->
     <!--==== DWELLING =======================================================-->
    {{#if: {{{dwelling|}}}|
     <tr>
     <tr>
         <td colspan='4'><!--
         <td colspan='4'><!--
             --><div class='field'><!--
             --><div class='field'><!--
                 --><div>{{Translation|wiki_ubox_dwelling|{{{lang}}}}}</div><!--
                 --><div>{{Translation|wiki_ubox_dwelling|{{{lang}}}}}</div><!--
                 --><div>{{#cargo_query:
                 --><div>{{{dwelling}}}</div><!--
                    tables = Building=B
          --></div><!--
                    | where = B.units_hire_sid = '{{{base_id}}}' AND B.level={{#ifeq:{{{base_id}}}|{{{id}}}|1|2}}
        --></td>
                    | fields = B.id=id, CONCAT("{{{lang}}}")=lang
    </tr>
                    | format = template
    |}}
                    | template = Link
    <!--==== BANK =====================================================-->
                    | named args = yes
    {{#if: {{{bank|}}}|
                    | limit = 1
    <tr>
                    | more results text =
        <td colspan='4'><!--
                    }}</div><!--
            --><div class='field'><!--
                --><div>{{Translation|wiki_ubox_bank|{{{lang}}}}}</div><!--
                --><div>{{{bank}}}</div><!--
           --></div><!--
           --></div><!--
         --></td>
         --></td>
     </tr>
     </tr>
 
    |}}
     <!--==== SPECIALIST =====================================================-->
     <!--==== SPECIALIST =====================================================-->
     {{#if:{{{specialist|}}}|
     {{#if: {{{specialist_id|}}}|
     <tr>
     <tr>
         <td colspan='4' class='compact'><!--
         <td colspan='4' class='compact'><!--
Line 191: Line 179:
                 --><div>{{Translation|wiki_ubox_specialist|{{{lang}}}}}</div><!--
                 --><div>{{Translation|wiki_ubox_specialist|{{{lang}}}}}</div><!--
                 --><div>{{LinkIcon
                 --><div>{{LinkIcon
                     | id = {{{specialist}}}
                     | id = {{{specialist_id}}}
                     | type = hero
                     | type = hero
                     | filename = 1
                     | filename = 1
Line 201: Line 189:
     </tr>
     </tr>
     |}}
     |}}
     <!--==== RELATED UNITS ==================================================-->
     <!--==== RELATED UNITS ==================================================-->
    {{#ifeq:{{{id}}}|lava_larva||
    {{#ifeq: {{{faction}}} | neutral ||
     <tr class='band'><td colspan='4'>{{Translation|wiki_ubox_related|{{{lang}}}}}</td></tr>
     <tr class='band'><td colspan='4'>{{Translation|wiki_ubox_related|{{{lang}}}}}</td></tr>
     <tr>
     <tr>
Line 215: Line 204:
                     | lang={{{lang}}}
                     | lang={{{lang}}}
                     | link={{#ifeq: {{{id}}}|{{{base_id}}}|0|}}
                     | link={{#ifeq: {{{id}}}|{{{base_id}}}|0|}}
                    | text=0
                     }}<!--
                     }}<!--
                 --></div><!--
                 --></div><!--
          --></div><!--
                --><div>{{LinkIcon
                    | id = {{{base_id}}}
                    | type = unit
                    | filename = 0
                    | suffix=_icon.png
                    | lang={{{lang}}}
                    | link={{#ifeq: {{{id}}}|{{{base_id}}}|0|}}
                    | wrap=1
                    }}<!--
                --></div><!--
            --></div><!--
         --></td>
         --></td>
     </tr>
     </tr>
Line 231: Line 231:
                     | lang={{{lang}}}
                     | lang={{{lang}}}
                     | link={{#ifeq: {{{id}}}|{{{base_id}}}_upg|0|}}
                     | link={{#ifeq: {{{id}}}|{{{base_id}}}_upg|0|}}
                    | text=0
                    }}<!--
                --></div><!--
                --><div>{{LinkIcon
                    | id = {{{base_id}}}_upg
                    | type = unit
                    | filename = 0
                    | suffix=_icon.png
                    | lang={{{lang}}}
                    | link={{#ifeq: {{{id}}}|{{{base_id}}}_upg|0|}}
                    | wrap=1
                     }}<!--
                     }}<!--
                 --></div><!--
                 --></div><!--
          --></div><!--
            --></div><!--
         --></td>
         --></td>
     </tr>
     </tr>
Line 247: Line 258:
                     | lang={{{lang}}}
                     | lang={{{lang}}}
                     | link={{#ifeq: {{{id}}}|{{{base_id}}}_upg_alt|0|}}
                     | link={{#ifeq: {{{id}}}|{{{base_id}}}_upg_alt|0|}}
                    | text=0
                     }}<!--
                     }}<!--
                 --></div><!--
                 --></div><!--
          --></div><!--
                --><div>{{LinkIcon
                    | id = {{{base_id}}}_upg_alt
                    | type = unit
                    | filename = 0
                    | suffix=_icon.png
                    | lang={{{lang}}}
                    | link={{#ifeq: {{{id}}}|{{{base_id}}}_upg_alt|0|}}
                    | wrap=1
                    }}<!--
                --></div><!--
            --></div><!--
         --></td>
         --></td>
     </tr>
     </tr>
     }} <!-- ends the non-neutral conditional -->
     }} <!-- endif neutral -->
 
    }} <!-- endif fire larva -->
     <!--==== INTERNAL ID ====================================================-->
     <!--==== INTERNAL ID ====================================================-->
     <tr class='band'><td colspan='4'>{{Translation|wiki_internal_id|{{{lang}}}}}</td></tr>
     <tr class='band'><td colspan='4'>{{Translation|wiki_internal_id|{{{lang}}}}}</td></tr>
     <tr><td colspan='4' style='color:#fff;opacity:0.5'>{{{id}}}</td></tr>
     <tr><td colspan='4' style='color:#fff;opacity:0.5'>{{{id}}}</td></tr>
 
</table></div></includeonly><!--
</table>
 
</div><!--
################################################################################
################################################################################
--></includeonly><noinclude>
--><noinclude>


{{UnitInfobox/base
{{UnitInfobox/base
Line 273: Line 292:
| faction_en = Hive
| faction_en = Hive
| tier = 7
| tier = 7
| squad_value = 5935
| units_weekly = 1
| units_weekly = 1
| squad_value = 5935
| dwelling = [[Tower_of_Love|Tower of Love II]]
| dwelling = demon_Build_Tier_7_L2
| bank =
| specialist = demon_hero_14
| specialist_id = demon_hero_14
| gold_cost = 3700
| gold_cost = 3700
| wood_cost =
| wood_cost =
Line 319: Line 339:
| faction_en = Hive
| faction_en = Hive
| tier = 7
| tier = 7
| squad_value = 5935
| units_weekly = 1
| units_weekly = 1
| squad_value = 5935
| dwelling = [[Tower_of_Love|Tower of Love II]]
| dwelling = demon_Build_Tier_7_L2
| bank =
| specialist = demon_hero_14
| specialist_id = demon_hero_14
| gold_cost = 3700
| gold_cost = 3700
| wood_cost =
| wood_cost =

Latest revision as of 00:14, 5 August 2026


Hive Mother
Faction
Tier
VII
Cost
3700Gold 2Crystals
(Upgrade cost)
( 1500Gold 1Crystals)
Base growth
+1
Squad value
5935
Stats
Health
275This stat is higher compared to the base unit.

Base: 200
Increase: +75
Attack
25
Defense
25
Damage
60-60
Morale
0
Luck
0
Initiative
13This stat is higher compared to the base unit.

Base: 7
Increase: +6
Speed
6
Other Info
Specialist hero
Related Units
Base unit
Upgrade A
Hive Mother
Upgrade B
Internal ID
hive_queen_upg
{{UnitInfobox/base
| lang = en
| id = hive_queen_upg
| base_id = hive_queen
| name_en = Hive Mother
| name = Hive Mother
| faction = demon
| faction_en = Hive
| tier = 7
| squad_value = 5935
| units_weekly = 1
| dwelling = [[Tower_of_Love|Tower of Love II]]
| bank =
| specialist_id = demon_hero_14
| gold_cost = 3700
| wood_cost =
| ore_cost =
| gemstone_cost =
| crystal_cost = 2
| mercury_cost =
| hp = 275
| offence = 25
| defence = 25
| damage_min = 60
| damage_max = 60
| morale = 0
| luck = 0
| initiative = 13
| speed = 6
| gold_cost0 = 2200
| wood_cost0 =
| ore_cost0 =
| gemstone_cost0 =
| crystal_cost0 = 1
| mercury_cost0 =
| hp0 = 200
| offence0 = 25
| defence0 = 25
| damage_min0 = 60
| damage_max0 = 60
| morale0 = 0
| luck0 = 0
| initiative0 = 7
| speed0 = 6
}}