<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=76561198081794631</id>
	<title>Heroes of Might and Magic: Olden Era Official Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=76561198081794631"/>
	<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/Special:Contributions/76561198081794631"/>
	<updated>2026-09-19T07:07:07Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.5</generator>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:Testpage&amp;diff=21308</id>
		<title>Template:Testpage</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:Testpage&amp;diff=21308"/>
		<updated>2026-06-01T01:00:37Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;margin-bottom:40px;&amp;quot;&amp;gt;&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Treasury_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;dungeon&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           &lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           building_t.description   = description,&lt;br /&gt;
           B.faction                = faction,&lt;br /&gt;
           B.icon                   = icon,&lt;br /&gt;
           B.prereqs__full          = prereqs&lt;br /&gt;
         &amp;lt;!--   B.gold_cost              = gold cost,&lt;br /&gt;
           B.wood_cost              = wood cost,&lt;br /&gt;
           B.ore_cost               = ore cost,&lt;br /&gt;
           B.crystals_cost          = crystals cost,&lt;br /&gt;
           B.gemstones_cost         = gemstones cost,&lt;br /&gt;
           B.mercury_cost           = mercury cost,&lt;br /&gt;
           B.dust_cost              = dust cost,&lt;br /&gt;
           B.graal_cost             = graal cost,&lt;br /&gt;
           B.units_hire_sid         = units hire sid,&lt;br /&gt;
           B.units_weekly           = units weekly, &lt;br /&gt;
           &lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}  &amp;lt;/noinclude&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Test Query&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;unfrozen_Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = building_t.name          = name&lt;br /&gt;
           &lt;br /&gt;
|format     = table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
unfrozen_Build_Market_L1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Query with results sent to sub-template&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;unfrozen_Build_Artifact_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           B.icon                   = icon&lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = BuildingNameDisplay&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Query to fetch Prereqs for a building&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.prereqs__full = &#039;Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|order by = B.prereqs__full = &#039;Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           building_t.description   = description,&lt;br /&gt;
           B.icon                   = icon,&lt;br /&gt;
           B.prereqs__full          = requirements&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|format     = table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Default View&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           &lt;br /&gt;
|fields  = B.id=id,&lt;br /&gt;
           building_t.name,&lt;br /&gt;
           building_t.description,&lt;br /&gt;
           B.faction=faction,&lt;br /&gt;
           B.category=category,&lt;br /&gt;
           B.sid=sid,&lt;br /&gt;
           B.level=level,&lt;br /&gt;
           B.name_sid=name sid,&lt;br /&gt;
           B.desc_sid=desc sid,&lt;br /&gt;
           B.narrative_desc_sid=narrative desc sid,&lt;br /&gt;
           B.icon=icon,&lt;br /&gt;
           B.background_image=background image,&lt;br /&gt;
           B.is_constructed_on_start=is constructed on start,&lt;br /&gt;
           B.level_on_start=level on start,&lt;br /&gt;
           B.scene_slot=scene slot,&lt;br /&gt;
           B.node_pos_x=node pos x,&lt;br /&gt;
           B.node_pos_y=node pos y,&lt;br /&gt;
           B.prereqs__full=prereqs,&lt;br /&gt;
           B.gold_cost=gold cost,&lt;br /&gt;
           B.wood_cost=wood cost,&lt;br /&gt;
           B.ore_cost=ore cost,&lt;br /&gt;
           B.crystals_cost=crystals cost,&lt;br /&gt;
           B.gemstones_cost=gemstones cost,&lt;br /&gt;
           B.mercury_cost=mercury cost,&lt;br /&gt;
           B.dust_cost=dust cost,&lt;br /&gt;
           B.graal_cost=graal cost,&lt;br /&gt;
           B.units_hire_sid=units hire sid,&lt;br /&gt;
           B.units_weekly=units weekly,&lt;br /&gt;
           B.source_path=source path&lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Hero=H, HeroClass=HC, Faction=F,&lt;br /&gt;
           Translation=hero_t, Translation=hero_en, Translation=motto_t&lt;br /&gt;
|join on = H.class_id = HC.id,&lt;br /&gt;
           H.faction  = F.id,&lt;br /&gt;
           H.id       = hero_t.target_id,&lt;br /&gt;
           H.id       = hero_en.target_id,&lt;br /&gt;
           H.id       = motto_t.target_id&lt;br /&gt;
|where   = H.id = &#039;demon_hero_4&#039;&lt;br /&gt;
           AND hero_t.type    = &#039;hero&#039;       AND hero_t.language    = &#039;{{{lang|en}}}&#039;&lt;br /&gt;
           AND hero_en.type   = &#039;hero&#039;       AND hero_en.language   = &#039;en&#039;&lt;br /&gt;
           AND motto_t.type   = &#039;hero_motto&#039; AND motto_t.language   = &#039;{{{lang|en}}}&#039;&lt;br /&gt;
|fields  = H.id                                      = id,&lt;br /&gt;
           hero_t.language                           = lang,&lt;br /&gt;
           hero_t.name                               = name,&lt;br /&gt;
           CONCAT(hero_en.name,&#039;.png&#039;)               = portrait,&lt;br /&gt;
           motto_t.description                       = motto,&lt;br /&gt;
           hero_t.description                        = biography,&lt;br /&gt;
           H.class_id                                = class,&lt;br /&gt;
           H.faction                                 = faction,&lt;br /&gt;
           COALESCE(H.offence, HC.offence)           = startattack,&lt;br /&gt;
           COALESCE(H.defence, HC.defence)           = startdefense,&lt;br /&gt;
           COALESCE(H.spell_power, HC.spell_power)   = startspellpower,&lt;br /&gt;
           COALESCE(H.intelligence, HC.intelligence) = startknowledge&lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}} --&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:Testpage&amp;diff=21307</id>
		<title>Template:Testpage</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:Testpage&amp;diff=21307"/>
		<updated>2026-06-01T01:00:10Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;margin-bottom:40px;&amp;quot;&amp;gt;&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Treasury_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;dungeon&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           &lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           building_t.description   = description,&lt;br /&gt;
           B.faction                = faction,&lt;br /&gt;
           B.icon                   = icon,&lt;br /&gt;
           B.prereqs__full          = prereqs&lt;br /&gt;
         &amp;lt;!--   B.gold_cost              = gold cost,&lt;br /&gt;
           B.wood_cost              = wood cost,&lt;br /&gt;
           B.ore_cost               = ore cost,&lt;br /&gt;
           B.crystals_cost          = crystals cost,&lt;br /&gt;
           B.gemstones_cost         = gemstones cost,&lt;br /&gt;
           B.mercury_cost           = mercury cost,&lt;br /&gt;
           B.dust_cost              = dust cost,&lt;br /&gt;
           B.graal_cost             = graal cost,&lt;br /&gt;
           B.units_hire_sid         = units hire sid,&lt;br /&gt;
           B.units_weekly           = units weekly, --&amp;gt;&lt;br /&gt;
           &lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}  &amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Test Query&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;unfrozen_Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = building_t.name          = name&lt;br /&gt;
           &lt;br /&gt;
|format     = table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
unfrozen_Build_Market_L1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Query with results sent to sub-template&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;unfrozen_Build_Artifact_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           B.icon                   = icon&lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = BuildingNameDisplay&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Query to fetch Prereqs for a building&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.prereqs__full = &#039;Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|order by = B.prereqs__full = &#039;Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           building_t.description   = description,&lt;br /&gt;
           B.icon                   = icon,&lt;br /&gt;
           B.prereqs__full          = requirements&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|format     = table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Default View&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           &lt;br /&gt;
|fields  = B.id=id,&lt;br /&gt;
           building_t.name,&lt;br /&gt;
           building_t.description,&lt;br /&gt;
           B.faction=faction,&lt;br /&gt;
           B.category=category,&lt;br /&gt;
           B.sid=sid,&lt;br /&gt;
           B.level=level,&lt;br /&gt;
           B.name_sid=name sid,&lt;br /&gt;
           B.desc_sid=desc sid,&lt;br /&gt;
           B.narrative_desc_sid=narrative desc sid,&lt;br /&gt;
           B.icon=icon,&lt;br /&gt;
           B.background_image=background image,&lt;br /&gt;
           B.is_constructed_on_start=is constructed on start,&lt;br /&gt;
           B.level_on_start=level on start,&lt;br /&gt;
           B.scene_slot=scene slot,&lt;br /&gt;
           B.node_pos_x=node pos x,&lt;br /&gt;
           B.node_pos_y=node pos y,&lt;br /&gt;
           B.prereqs__full=prereqs,&lt;br /&gt;
           B.gold_cost=gold cost,&lt;br /&gt;
           B.wood_cost=wood cost,&lt;br /&gt;
           B.ore_cost=ore cost,&lt;br /&gt;
           B.crystals_cost=crystals cost,&lt;br /&gt;
           B.gemstones_cost=gemstones cost,&lt;br /&gt;
           B.mercury_cost=mercury cost,&lt;br /&gt;
           B.dust_cost=dust cost,&lt;br /&gt;
           B.graal_cost=graal cost,&lt;br /&gt;
           B.units_hire_sid=units hire sid,&lt;br /&gt;
           B.units_weekly=units weekly,&lt;br /&gt;
           B.source_path=source path&lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Hero=H, HeroClass=HC, Faction=F,&lt;br /&gt;
           Translation=hero_t, Translation=hero_en, Translation=motto_t&lt;br /&gt;
|join on = H.class_id = HC.id,&lt;br /&gt;
           H.faction  = F.id,&lt;br /&gt;
           H.id       = hero_t.target_id,&lt;br /&gt;
           H.id       = hero_en.target_id,&lt;br /&gt;
           H.id       = motto_t.target_id&lt;br /&gt;
|where   = H.id = &#039;demon_hero_4&#039;&lt;br /&gt;
           AND hero_t.type    = &#039;hero&#039;       AND hero_t.language    = &#039;{{{lang|en}}}&#039;&lt;br /&gt;
           AND hero_en.type   = &#039;hero&#039;       AND hero_en.language   = &#039;en&#039;&lt;br /&gt;
           AND motto_t.type   = &#039;hero_motto&#039; AND motto_t.language   = &#039;{{{lang|en}}}&#039;&lt;br /&gt;
|fields  = H.id                                      = id,&lt;br /&gt;
           hero_t.language                           = lang,&lt;br /&gt;
           hero_t.name                               = name,&lt;br /&gt;
           CONCAT(hero_en.name,&#039;.png&#039;)               = portrait,&lt;br /&gt;
           motto_t.description                       = motto,&lt;br /&gt;
           hero_t.description                        = biography,&lt;br /&gt;
           H.class_id                                = class,&lt;br /&gt;
           H.faction                                 = faction,&lt;br /&gt;
           COALESCE(H.offence, HC.offence)           = startattack,&lt;br /&gt;
           COALESCE(H.defence, HC.defence)           = startdefense,&lt;br /&gt;
           COALESCE(H.spell_power, HC.spell_power)   = startspellpower,&lt;br /&gt;
           COALESCE(H.intelligence, HC.intelligence) = startknowledge&lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}} --&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:PrereqFetcher&amp;diff=21306</id>
		<title>Template:PrereqFetcher</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:PrereqFetcher&amp;diff=21306"/>
		<updated>2026-06-01T01:00:04Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{#if: {{{name|}}} | {{{name|}}} | None. }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
{{#if: {{{name|}}} | {{#if: {{{name|}}} |  {{{name|}}},  {{{name|}}}. | no }} }}&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:PrereqFetcher&amp;diff=21305</id>
		<title>Template:PrereqFetcher</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:PrereqFetcher&amp;diff=21305"/>
		<updated>2026-06-01T00:51:48Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{#if: {{{name|}}} | {{{name|}}} | None. }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{#if: {{{name|}}} | {{#if: {{{name|}}} |  {{{name|}}},  {{{name|}}}. | no }} }}&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:Testpage&amp;diff=21304</id>
		<title>Template:Testpage</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:Testpage&amp;diff=21304"/>
		<updated>2026-06-01T00:49:38Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Treasury_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;dungeon&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           &lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           building_t.description   = description,&lt;br /&gt;
           B.faction                = faction,&lt;br /&gt;
           B.icon                   = icon,&lt;br /&gt;
           B.prereqs__full          = prereqs&lt;br /&gt;
         &amp;lt;!--   B.gold_cost              = gold cost,&lt;br /&gt;
           B.wood_cost              = wood cost,&lt;br /&gt;
           B.ore_cost               = ore cost,&lt;br /&gt;
           B.crystals_cost          = crystals cost,&lt;br /&gt;
           B.gemstones_cost         = gemstones cost,&lt;br /&gt;
           B.mercury_cost           = mercury cost,&lt;br /&gt;
           B.dust_cost              = dust cost,&lt;br /&gt;
           B.graal_cost             = graal cost,&lt;br /&gt;
           B.units_hire_sid         = units hire sid,&lt;br /&gt;
           B.units_weekly           = units weekly, --&amp;gt;&lt;br /&gt;
           &lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}  &amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Test Query&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;unfrozen_Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = building_t.name          = name&lt;br /&gt;
           &lt;br /&gt;
|format     = table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
unfrozen_Build_Market_L1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Query with results sent to sub-template&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;unfrozen_Build_Artifact_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           B.icon                   = icon&lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = BuildingNameDisplay&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Query to fetch Prereqs for a building&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.prereqs__full = &#039;Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|order by = B.prereqs__full = &#039;Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           building_t.description   = description,&lt;br /&gt;
           B.icon                   = icon,&lt;br /&gt;
           B.prereqs__full          = requirements&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|format     = table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Default View&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           &lt;br /&gt;
|fields  = B.id=id,&lt;br /&gt;
           building_t.name,&lt;br /&gt;
           building_t.description,&lt;br /&gt;
           B.faction=faction,&lt;br /&gt;
           B.category=category,&lt;br /&gt;
           B.sid=sid,&lt;br /&gt;
           B.level=level,&lt;br /&gt;
           B.name_sid=name sid,&lt;br /&gt;
           B.desc_sid=desc sid,&lt;br /&gt;
           B.narrative_desc_sid=narrative desc sid,&lt;br /&gt;
           B.icon=icon,&lt;br /&gt;
           B.background_image=background image,&lt;br /&gt;
           B.is_constructed_on_start=is constructed on start,&lt;br /&gt;
           B.level_on_start=level on start,&lt;br /&gt;
           B.scene_slot=scene slot,&lt;br /&gt;
           B.node_pos_x=node pos x,&lt;br /&gt;
           B.node_pos_y=node pos y,&lt;br /&gt;
           B.prereqs__full=prereqs,&lt;br /&gt;
           B.gold_cost=gold cost,&lt;br /&gt;
           B.wood_cost=wood cost,&lt;br /&gt;
           B.ore_cost=ore cost,&lt;br /&gt;
           B.crystals_cost=crystals cost,&lt;br /&gt;
           B.gemstones_cost=gemstones cost,&lt;br /&gt;
           B.mercury_cost=mercury cost,&lt;br /&gt;
           B.dust_cost=dust cost,&lt;br /&gt;
           B.graal_cost=graal cost,&lt;br /&gt;
           B.units_hire_sid=units hire sid,&lt;br /&gt;
           B.units_weekly=units weekly,&lt;br /&gt;
           B.source_path=source path&lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Hero=H, HeroClass=HC, Faction=F,&lt;br /&gt;
           Translation=hero_t, Translation=hero_en, Translation=motto_t&lt;br /&gt;
|join on = H.class_id = HC.id,&lt;br /&gt;
           H.faction  = F.id,&lt;br /&gt;
           H.id       = hero_t.target_id,&lt;br /&gt;
           H.id       = hero_en.target_id,&lt;br /&gt;
           H.id       = motto_t.target_id&lt;br /&gt;
|where   = H.id = &#039;demon_hero_4&#039;&lt;br /&gt;
           AND hero_t.type    = &#039;hero&#039;       AND hero_t.language    = &#039;{{{lang|en}}}&#039;&lt;br /&gt;
           AND hero_en.type   = &#039;hero&#039;       AND hero_en.language   = &#039;en&#039;&lt;br /&gt;
           AND motto_t.type   = &#039;hero_motto&#039; AND motto_t.language   = &#039;{{{lang|en}}}&#039;&lt;br /&gt;
|fields  = H.id                                      = id,&lt;br /&gt;
           hero_t.language                           = lang,&lt;br /&gt;
           hero_t.name                               = name,&lt;br /&gt;
           CONCAT(hero_en.name,&#039;.png&#039;)               = portrait,&lt;br /&gt;
           motto_t.description                       = motto,&lt;br /&gt;
           hero_t.description                        = biography,&lt;br /&gt;
           H.class_id                                = class,&lt;br /&gt;
           H.faction                                 = faction,&lt;br /&gt;
           COALESCE(H.offence, HC.offence)           = startattack,&lt;br /&gt;
           COALESCE(H.defence, HC.defence)           = startdefense,&lt;br /&gt;
           COALESCE(H.spell_power, HC.spell_power)   = startspellpower,&lt;br /&gt;
           COALESCE(H.intelligence, HC.intelligence) = startknowledge&lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}} --&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:Testpage&amp;diff=21303</id>
		<title>Template:Testpage</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:Testpage&amp;diff=21303"/>
		<updated>2026-06-01T00:49:23Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;dungeon&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           &lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           building_t.description   = description,&lt;br /&gt;
           B.faction                = faction,&lt;br /&gt;
           B.icon                   = icon,&lt;br /&gt;
           B.prereqs__full          = prereqs&lt;br /&gt;
         &amp;lt;!--   B.gold_cost              = gold cost,&lt;br /&gt;
           B.wood_cost              = wood cost,&lt;br /&gt;
           B.ore_cost               = ore cost,&lt;br /&gt;
           B.crystals_cost          = crystals cost,&lt;br /&gt;
           B.gemstones_cost         = gemstones cost,&lt;br /&gt;
           B.mercury_cost           = mercury cost,&lt;br /&gt;
           B.dust_cost              = dust cost,&lt;br /&gt;
           B.graal_cost             = graal cost,&lt;br /&gt;
           B.units_hire_sid         = units hire sid,&lt;br /&gt;
           B.units_weekly           = units weekly, --&amp;gt;&lt;br /&gt;
           &lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}  &amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Test Query&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;unfrozen_Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = building_t.name          = name&lt;br /&gt;
           &lt;br /&gt;
|format     = table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
unfrozen_Build_Market_L1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Query with results sent to sub-template&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;unfrozen_Build_Artifact_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           B.icon                   = icon&lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = BuildingNameDisplay&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Query to fetch Prereqs for a building&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.prereqs__full = &#039;Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|order by = B.prereqs__full = &#039;Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           building_t.description   = description,&lt;br /&gt;
           B.icon                   = icon,&lt;br /&gt;
           B.prereqs__full          = requirements&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|format     = table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Default View&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           &lt;br /&gt;
|fields  = B.id=id,&lt;br /&gt;
           building_t.name,&lt;br /&gt;
           building_t.description,&lt;br /&gt;
           B.faction=faction,&lt;br /&gt;
           B.category=category,&lt;br /&gt;
           B.sid=sid,&lt;br /&gt;
           B.level=level,&lt;br /&gt;
           B.name_sid=name sid,&lt;br /&gt;
           B.desc_sid=desc sid,&lt;br /&gt;
           B.narrative_desc_sid=narrative desc sid,&lt;br /&gt;
           B.icon=icon,&lt;br /&gt;
           B.background_image=background image,&lt;br /&gt;
           B.is_constructed_on_start=is constructed on start,&lt;br /&gt;
           B.level_on_start=level on start,&lt;br /&gt;
           B.scene_slot=scene slot,&lt;br /&gt;
           B.node_pos_x=node pos x,&lt;br /&gt;
           B.node_pos_y=node pos y,&lt;br /&gt;
           B.prereqs__full=prereqs,&lt;br /&gt;
           B.gold_cost=gold cost,&lt;br /&gt;
           B.wood_cost=wood cost,&lt;br /&gt;
           B.ore_cost=ore cost,&lt;br /&gt;
           B.crystals_cost=crystals cost,&lt;br /&gt;
           B.gemstones_cost=gemstones cost,&lt;br /&gt;
           B.mercury_cost=mercury cost,&lt;br /&gt;
           B.dust_cost=dust cost,&lt;br /&gt;
           B.graal_cost=graal cost,&lt;br /&gt;
           B.units_hire_sid=units hire sid,&lt;br /&gt;
           B.units_weekly=units weekly,&lt;br /&gt;
           B.source_path=source path&lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Hero=H, HeroClass=HC, Faction=F,&lt;br /&gt;
           Translation=hero_t, Translation=hero_en, Translation=motto_t&lt;br /&gt;
|join on = H.class_id = HC.id,&lt;br /&gt;
           H.faction  = F.id,&lt;br /&gt;
           H.id       = hero_t.target_id,&lt;br /&gt;
           H.id       = hero_en.target_id,&lt;br /&gt;
           H.id       = motto_t.target_id&lt;br /&gt;
|where   = H.id = &#039;demon_hero_4&#039;&lt;br /&gt;
           AND hero_t.type    = &#039;hero&#039;       AND hero_t.language    = &#039;{{{lang|en}}}&#039;&lt;br /&gt;
           AND hero_en.type   = &#039;hero&#039;       AND hero_en.language   = &#039;en&#039;&lt;br /&gt;
           AND motto_t.type   = &#039;hero_motto&#039; AND motto_t.language   = &#039;{{{lang|en}}}&#039;&lt;br /&gt;
|fields  = H.id                                      = id,&lt;br /&gt;
           hero_t.language                           = lang,&lt;br /&gt;
           hero_t.name                               = name,&lt;br /&gt;
           CONCAT(hero_en.name,&#039;.png&#039;)               = portrait,&lt;br /&gt;
           motto_t.description                       = motto,&lt;br /&gt;
           hero_t.description                        = biography,&lt;br /&gt;
           H.class_id                                = class,&lt;br /&gt;
           H.faction                                 = faction,&lt;br /&gt;
           COALESCE(H.offence, HC.offence)           = startattack,&lt;br /&gt;
           COALESCE(H.defence, HC.defence)           = startdefense,&lt;br /&gt;
           COALESCE(H.spell_power, HC.spell_power)   = startspellpower,&lt;br /&gt;
           COALESCE(H.intelligence, HC.intelligence) = startknowledge&lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}} --&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21302</id>
		<title>Template:FactionBuilding/base</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21302"/>
		<updated>2026-06-01T00:45:58Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;width:350px;margin-right:15px;&amp;quot;&amp;gt;&lt;br /&gt;
{|class=infobox style=&amp;quot;border-collapse: collapse; border: 1px solid #BCB096;&amp;quot;&lt;br /&gt;
|-style=&#039;background-color:#1E3758;text-align:left;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
| style=&#039;text-align:center;object-position:center;padding:15px;width:125px;&#039;| [[File:{{{icon|}}}.png|100px|link=]] || style=&#039;padding:10px;vertical-align:center;&#039; |&amp;lt;big&amp;gt;&amp;lt;b&amp;gt;{{{name}}}&amp;lt;/b&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
|-style=&#039;background-color:#156E7E;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
|colspan=2; style=&amp;quot;padding:4px;color:white;&amp;quot;|Requirements:  {{#if: {{{prereqs}}}| {{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;dungeon&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;{{{prereqs}}}&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = building_t.name          = name&lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = PrereqFetcher&lt;br /&gt;
|named args = yes}} |None.}}&lt;br /&gt;
|-style=&#039;text-align:center;&#039; &lt;br /&gt;
|style=&amp;quot;border-right:1px solid #BCB096;padding:4px 0px 4px 0px;&amp;quot;|Cost&lt;br /&gt;
|style=&amp;quot;padding:4px 0px 4px 0px;width:350px;&amp;quot;|Effect&lt;br /&gt;
|-style=&amp;quot;border-bottom: 1px solid #BCB096;height:auto;vertical-align:top;&amp;quot;&lt;br /&gt;
| style=&amp;quot;padding:10px;color:white;text-align:center;border-right:1px solid #BCB096;&amp;quot;|{{#if: {{{gold|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gold|}}} {{gold}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{wood|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{wood|}}} {{wood}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{ore|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{ore|}}} {{ore}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{gems|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gems|}}} {{gems}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{crystals|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{crystals|}}} {{crystals}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{mercury|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{mercury|}}} {{mercury}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{dust|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{dust|}}} {{dust}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{grail|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{grail|}}} {{graal}}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding:10px;&amp;quot;|&amp;lt;span style=&amp;quot;color: white;&amp;quot;&amp;gt;{{{description|}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
{{#if: {{{note|}}}|&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; &amp;lt;i&amp;gt;{{{note}}}&amp;lt;/i&amp;gt; | }}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Table templates]]&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- {{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21301</id>
		<title>Template:FactionBuilding/base</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21301"/>
		<updated>2026-06-01T00:45:28Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;width:350px;margin-right:15px;&amp;quot;&amp;gt;&lt;br /&gt;
{|class=infobox style=&amp;quot;border-collapse: collapse; border: 1px solid #BCB096;&amp;quot;&lt;br /&gt;
|-style=&#039;background-color:#1E3758;text-align:left;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
| style=&#039;text-align:center;object-position:center;padding:15px;width:125px;&#039;| [[File:{{{icon|}}}.png|100px|link=]] || style=&#039;padding:10px;vertical-align:center;&#039; |&amp;lt;big&amp;gt;&amp;lt;b&amp;gt;{{{name}}}&amp;lt;/b&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
|-style=&#039;background-color:#156E7E;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
|colspan=2; style=&amp;quot;padding:4px;color:white;&amp;quot;|Requirements:  {{#if: {{{prereqs}}}| {{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;dungeon&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;{{{prereqs}}}&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = building_t.name          = name&lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = PrereqFetcher&lt;br /&gt;
|named args = yes}} |None.}}&lt;br /&gt;
|-style=&#039;text-align:center;&#039; &lt;br /&gt;
|style=&amp;quot;border-right:1px solid #BCB096;padding:4px 0px 4px 0px;&amp;quot;|Cost&lt;br /&gt;
|style=&amp;quot;padding:4px 0px 4px 0px;width:350px;&amp;quot;|Effect&lt;br /&gt;
|-style=&amp;quot;border-bottom: 1px solid #BCB096;height:auto;vertical-align:top;&amp;quot;&lt;br /&gt;
| style=&amp;quot;padding:10px;color:white;text-align:center;border-right:1px solid #BCB096;&amp;quot;|{{#if: {{{gold|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gold|}}} {{gold}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{wood|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{wood|}}} {{wood}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{ore|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{ore|}}} {{ore}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{gems|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gems|}}} {{gems}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{crystals|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{crystals|}}} {{crystals}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{mercury|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{mercury|}}} {{mercury}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{dust|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{dust|}}} {{dust}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{grail|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{grail|}}} {{graal}}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding:10px;&amp;quot;|&amp;lt;span style=&amp;quot;color: white;&amp;quot;&amp;gt;{{{description|}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
{{#if: {{{note|}}}|&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; &amp;lt;i&amp;gt;{{{note}}}&amp;lt;/i&amp;gt; | &#039; &#039;}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Table templates]]&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- {{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21300</id>
		<title>Template:FactionBuilding/base</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21300"/>
		<updated>2026-06-01T00:45:11Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;width:350px;margin-right:15px;&amp;quot;&amp;gt;&lt;br /&gt;
{|class=infobox style=&amp;quot;border-collapse: collapse; border: 1px solid #BCB096;&amp;quot;&lt;br /&gt;
|-style=&#039;background-color:#1E3758;text-align:left;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
| style=&#039;text-align:center;object-position:center;padding:15px;width:125px;&#039;| [[File:{{{icon|}}}.png|100px|link=]] || style=&#039;padding:10px;vertical-align:center;&#039; |&amp;lt;big&amp;gt;&amp;lt;b&amp;gt;{{{name}}}&amp;lt;/b&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
|-style=&#039;background-color:#156E7E;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
|colspan=2; style=&amp;quot;padding:4px;color:white;&amp;quot;|Requirements:  {{#if: {{{prereqs}}}| {{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;dungeon&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;{{{prereqs}}}&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = building_t.name          = name&lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = PrereqFetcher&lt;br /&gt;
|named args = yes}} |None.}}&lt;br /&gt;
|-style=&#039;text-align:center;&#039; &lt;br /&gt;
|style=&amp;quot;border-right:1px solid #BCB096;padding:4px 0px 4px 0px;&amp;quot;|Cost&lt;br /&gt;
|style=&amp;quot;padding:4px 0px 4px 0px;width:350px;&amp;quot;|Effect&lt;br /&gt;
|-style=&amp;quot;border-bottom: 1px solid #BCB096;height:auto;vertical-align:top;&amp;quot;&lt;br /&gt;
| style=&amp;quot;padding:10px;color:white;text-align:center;border-right:1px solid #BCB096;&amp;quot;|{{#if: {{{gold|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gold|}}} {{gold}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{wood|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{wood|}}} {{wood}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{ore|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{ore|}}} {{ore}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{gems|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gems|}}} {{gems}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{crystals|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{crystals|}}} {{crystals}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{mercury|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{mercury|}}} {{mercury}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{dust|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{dust|}}} {{dust}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{grail|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{grail|}}} {{graal}}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding:10px;&amp;quot;|&amp;lt;span style=&amp;quot;color: white;&amp;quot;&amp;gt;{{{description|}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding:10px;&amp;quot;|{{#if: {{{note|}}}|&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; &amp;lt;i&amp;gt;{{{note}}}&amp;lt;/i&amp;gt; | &#039; &#039;}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Table templates]]&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- {{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21299</id>
		<title>Template:FactionBuilding/base</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21299"/>
		<updated>2026-06-01T00:44:56Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;width:350px;margin-right:15px;&amp;quot;&amp;gt;&lt;br /&gt;
{|class=infobox style=&amp;quot;border-collapse: collapse; border: 1px solid #BCB096;&amp;quot;&lt;br /&gt;
|-style=&#039;background-color:#1E3758;text-align:left;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
| style=&#039;text-align:center;object-position:center;padding:15px;width:125px;&#039;| [[File:{{{icon|}}}.png|100px|link=]] || style=&#039;padding:10px;vertical-align:center;&#039; |&amp;lt;big&amp;gt;&amp;lt;b&amp;gt;{{{name}}}&amp;lt;/b&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
|-style=&#039;background-color:#156E7E;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
|colspan=2; style=&amp;quot;padding:4px;color:white;&amp;quot;|Requirements:  {{#if: {{{prereqs}}}| {{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;dungeon&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;{{{prereqs}}}&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = building_t.name          = name&lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = PrereqFetcher&lt;br /&gt;
|named args = yes}} |None.}}&lt;br /&gt;
|-style=&#039;text-align:center;&#039; &lt;br /&gt;
|style=&amp;quot;border-right:1px solid #BCB096;padding:4px 0px 4px 0px;&amp;quot;|Cost&lt;br /&gt;
|style=&amp;quot;padding:4px 0px 4px 0px;width:350px;&amp;quot;|Effect&lt;br /&gt;
|-style=&amp;quot;border-bottom: 1px solid #BCB096;height:auto;vertical-align:top;&amp;quot;&lt;br /&gt;
| style=&amp;quot;padding:10px;color:white;text-align:center;border-right:1px solid #BCB096;&amp;quot;|{{#if: {{{gold|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gold|}}} {{gold}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{wood|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{wood|}}} {{wood}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{ore|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{ore|}}} {{ore}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{gems|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gems|}}} {{gems}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{crystals|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{crystals|}}} {{crystals}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{mercury|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{mercury|}}} {{mercury}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{dust|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{dust|}}} {{dust}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{grail|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{grail|}}} {{graal}}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding:10px;&amp;quot;|&amp;lt;span style=&amp;quot;color: white;&amp;quot;&amp;gt;{{{description|}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding:10px;&amp;quot;|{{#if: {{{note|}}}|&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; &amp;lt;i&amp;gt;{{{note|}}}&amp;lt;/i&amp;gt; | &#039; &#039;}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Table templates]]&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- {{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21298</id>
		<title>Template:FactionBuilding/base</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21298"/>
		<updated>2026-06-01T00:44:38Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;width:350px;margin-right:15px;&amp;quot;&amp;gt;&lt;br /&gt;
{|class=infobox style=&amp;quot;border-collapse: collapse; border: 1px solid #BCB096;&amp;quot;&lt;br /&gt;
|-style=&#039;background-color:#1E3758;text-align:left;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
| style=&#039;text-align:center;object-position:center;padding:15px;width:125px;&#039;| [[File:{{{icon|}}}.png|100px|link=]] || style=&#039;padding:10px;vertical-align:center;&#039; |&amp;lt;big&amp;gt;&amp;lt;b&amp;gt;{{{name}}}&amp;lt;/b&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
|-style=&#039;background-color:#156E7E;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
|colspan=2; style=&amp;quot;padding:4px;color:white;&amp;quot;|Requirements:  {{#if: {{{prereqs}}}| {{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;dungeon&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;{{{prereqs}}}&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = building_t.name          = name&lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = PrereqFetcher&lt;br /&gt;
|named args = yes}} |None.}}&lt;br /&gt;
|-style=&#039;text-align:center;&#039; &lt;br /&gt;
|style=&amp;quot;border-right:1px solid #BCB096;padding:4px 0px 4px 0px;&amp;quot;|Cost&lt;br /&gt;
|style=&amp;quot;padding:4px 0px 4px 0px;width:350px;&amp;quot;|Effect&lt;br /&gt;
|-style=&amp;quot;border-bottom: 1px solid #BCB096;height:auto;vertical-align:top;&amp;quot;&lt;br /&gt;
| style=&amp;quot;padding:10px;color:white;text-align:center;border-right:1px solid #BCB096;&amp;quot;|{{#if: {{{gold|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gold|}}} {{gold}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{wood|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{wood|}}} {{wood}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{ore|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{ore|}}} {{ore}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{gems|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gems|}}} {{gems}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{crystals|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{crystals|}}} {{crystals}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{mercury|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{mercury|}}} {{mercury}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{dust|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{dust|}}} {{dust}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{grail|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{grail|}}} {{graal}}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding:10px;&amp;quot;|&amp;lt;span style=&amp;quot;color: white;&amp;quot;&amp;gt;{{{description|}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding:10px;&amp;quot;|{{#if: {{{note|}}}|&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; &amp;lt;i&amp;gt;{{{note|}}}&amp;lt;/i&amp;gt; | }}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Table templates]]&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- {{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21297</id>
		<title>Template:FactionBuilding/base</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21297"/>
		<updated>2026-06-01T00:43:55Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;width:350px;margin-right:15px;&amp;quot;&amp;gt;&lt;br /&gt;
{|class=infobox style=&amp;quot;border-collapse: collapse; border: 1px solid #BCB096;&amp;quot;&lt;br /&gt;
|-style=&#039;background-color:#1E3758;text-align:left;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
| style=&#039;text-align:center;object-position:center;padding:15px;width:125px;&#039;| [[File:{{{icon|}}}.png|100px|link=]] || style=&#039;padding:10px;vertical-align:center;&#039; |&amp;lt;big&amp;gt;&amp;lt;b&amp;gt;{{{name}}}&amp;lt;/b&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
|-style=&#039;background-color:#156E7E;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
|colspan=2; style=&amp;quot;padding:4px;color:white;&amp;quot;|Requirements:  {{#if: {{{prereqs}}}| {{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;dungeon&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;{{{prereqs}}}&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = building_t.name          = name&lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = PrereqFetcher&lt;br /&gt;
|named args = yes}} |None.}}&lt;br /&gt;
|-style=&#039;text-align:center;&#039; &lt;br /&gt;
|style=&amp;quot;border-right:1px solid #BCB096;padding:4px 0px 4px 0px;&amp;quot;|Cost&lt;br /&gt;
|style=&amp;quot;padding:4px 0px 4px 0px;width:350px;&amp;quot;|Effect&lt;br /&gt;
|-style=&amp;quot;border-bottom: 1px solid #BCB096;height:auto;vertical-align:top;&amp;quot;&lt;br /&gt;
| style=&amp;quot;padding:10px;color:white;text-align:center;border-right:1px solid #BCB096;&amp;quot;|{{#if: {{{gold|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gold|}}} {{gold}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{wood|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{wood|}}} {{wood}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{ore|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{ore|}}} {{ore}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{gems|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gems|}}} {{gems}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{crystals|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{crystals|}}} {{crystals}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{mercury|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{mercury|}}} {{mercury}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{dust|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{dust|}}} {{dust}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{grail|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{grail|}}} {{graal}}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding:10px;&amp;quot;|&amp;lt;span style=&amp;quot;color: white;&amp;quot;&amp;gt;{{{description|}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding:10px;&amp;quot;|{{#if: {{{note}}}|&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; &amp;lt;i&amp;gt;{{{note}}}&amp;lt;/i&amp;gt; | }}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Table templates]]&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- {{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Dungeon&amp;diff=21296</id>
		<title>Dungeon</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Dungeon&amp;diff=21296"/>
		<updated>2026-06-01T00:42:06Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: /* Economy Buildings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{outdated}}__NOTOC__&lt;br /&gt;
&lt;br /&gt;
==Native Terrain==&lt;br /&gt;
&lt;br /&gt;
==Heroes==&lt;br /&gt;
&lt;br /&gt;
==Faction Skill==&lt;br /&gt;
Triumvirate&#039;s Strength is the unique faction skill of the Dungeon faction. It is a skill that all Dungeon heroes start with and is unavailable to other hero classes.&lt;br /&gt;
&amp;lt;div class=&amp;quot;oe img center&amp;quot;&amp;gt;[[File:Tristrength.png|300px]]&amp;lt;/div&amp;gt;&lt;br /&gt;
Once per turn, it lets the hero take one of 3 stances which boost specific stats for the hero and their army during a given combat session. The Minotaur Stance boosts Attack, the Dark Elf Stance boosts Defense, and the Dragon Stance boosts Spell Power. These stance bonuses remain in effect until another stance is chosen, allowing one to adapt their strengths and strategy to the current situation in battle.&lt;br /&gt;
&lt;br /&gt;
==Faction Laws==&lt;br /&gt;
&lt;br /&gt;
==Town Buildings, Build Orders==&lt;br /&gt;
&lt;br /&gt;
Gems {{gems}} are a critical resource of the Dungeon faction, and you will need to have a substantial amount of them to build their Tier-VII Creature Dwellings. Hiring these creatures will also incur an additional expenditure of gems along with the normal gold {{gold}} cost as well.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;oe_img_center&amp;quot;&amp;gt;[[File:town dungeon preview.png|800px]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Economy Buildings===&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;margin-bottom:40px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Main_L1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Main_L2&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Main_L3&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_main_level_2&lt;br /&gt;
|name=Byzantine Palace&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Grants the kingdom 500 Gold, Law points, and Astrology points daily. +1 hero cap.&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_main_level_2&lt;br /&gt;
|name=Byzantine Palace II&lt;br /&gt;
|requirements=Byzantine Palace&lt;br /&gt;
|gold=2,500&lt;br /&gt;
|wood=5&lt;br /&gt;
|ore=5&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Grants the kingdom 750 Gold, Law points, and Astrology points daily. Allows the owner to pick one level-1 economy upgrade.&amp;lt;ul class=&amp;quot;TableWhite&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 1.png|25px]]  Produces 500 more Gold daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 2.png|25px]]  Produces 500 more Law Points daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 3.png|25px]]  Produces 500 more Astrology Points daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_main_level_3&lt;br /&gt;
|name=Byzantine Palace III&lt;br /&gt;
|requirements=Byzantine Palace II&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=10&lt;br /&gt;
|ore=10&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Grants the kingdom 1,000 Gold, Law points, and Astrology points daily. Allows the owner to pick one level-1 economy upgrade.&amp;lt;ul class=&amp;quot;TableWhite&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 1.png|25px]]  Produces 1,000 more Gold daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 2.png|25px]]  Produces 1,000 more Law Points daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 3.png|25px]]  Produces 1,000 more Astrology Points daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
|note=&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;margin-bottom:40px;&amp;quot;&amp;gt;&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=500&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=5&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Allows the hiring of new heroes.&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_market&lt;br /&gt;
|name=Marketplace&lt;br /&gt;
|requirements=Tavern (Except in Single Hero Mode)&lt;br /&gt;
|gold=500&lt;br /&gt;
|wood=5&lt;br /&gt;
|ore=5&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Allows resources to be traded.&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;margin-bottom:40px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Bank_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- {{FactionBuilding&lt;br /&gt;
|icon=g_build_bank&lt;br /&gt;
|name=Bank&lt;br /&gt;
|requirements=Byzantine Palace II&lt;br /&gt;
|gold=2,500&lt;br /&gt;
|wood=5&lt;br /&gt;
|ore=5&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Produces 1,000 Gold daily.&lt;br /&gt;
|note=&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Treasury_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- {{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Produces 2,000 Gold daily.&lt;br /&gt;
|note=&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Resource_Depot_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- {{FactionBuilding&lt;br /&gt;
|icon=g_build_resource_depot&lt;br /&gt;
|name=Resource Depot&lt;br /&gt;
|requirements=Marketplace, Bank&lt;br /&gt;
|gold=2,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Produces 1 Gem daily.&lt;br /&gt;
|note=&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_resource_depot_2&lt;br /&gt;
|name=Alchemic Depot&lt;br /&gt;
|requirements=Resource Depot&lt;br /&gt;
|gold=&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=3&lt;br /&gt;
|crystals=3&lt;br /&gt;
|mercury=3&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Produces 5 Alchemical Dust daily.&lt;br /&gt;
|note=&lt;br /&gt;
}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Faction Buildings===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;margin-bottom:40px;&amp;quot;&amp;gt;&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_gymnasium&lt;br /&gt;
|name=Gymnasium&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Levels up any visiting hero once.&lt;br /&gt;
|note=Once built, this level-up effect will be applied whenever town is visited by a hero. Since more XP is required to level up the higher your hero level, it is advised to wait to construct this building until later in your play session where it will provide more value to the player.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_lyceum&lt;br /&gt;
|name=Lyceum&lt;br /&gt;
|requirements=Marketplace&lt;br /&gt;
|gold=2,500&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Allows enchanting of magic scrolls so that they grant spells of maximum level.&lt;br /&gt;
|note=This costs resources.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=dungeon_build_spy_network&lt;br /&gt;
|name=Spy Network&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=1&lt;br /&gt;
|description=Completely removes the fog of war. This city’s dwellings produce +100% units.&lt;br /&gt;
|note=The Grail is a necessary resource to construct this building. This mythical object / resource can be obtained by defeating an enhanced mirrored copy of your army at the [[Map_Objects|Mirage]].&lt;br /&gt;
}}&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Creature Dwellings / Recruitment===&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed mw-collapsible white-toggle-button&amp;quot;&amp;gt;&lt;br /&gt;
ggg&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Magic-Related Buildings===&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed mw-collapsible white-toggle-button&amp;quot;&amp;gt;&lt;br /&gt;
2222222&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Faction-Related Buildings===&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed mw-collapsible white-toggle-button&amp;quot;&amp;gt;&lt;br /&gt;
2222222&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br&amp;gt; --&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21295</id>
		<title>Template:FactionBuilding/base</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21295"/>
		<updated>2026-06-01T00:40:56Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;width:350px;margin-right:15px;&amp;quot;&amp;gt;&lt;br /&gt;
{|class=infobox style=&amp;quot;border-collapse: collapse; border: 1px solid #BCB096;&amp;quot;&lt;br /&gt;
|-style=&#039;background-color:#1E3758;text-align:left;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
| style=&#039;text-align:center;object-position:center;padding:15px;width:125px;&#039;| [[File:{{{icon|}}}.png|100px|link=]] || style=&#039;padding:10px;vertical-align:center;&#039; |&amp;lt;big&amp;gt;&amp;lt;b&amp;gt;{{{name}}}&amp;lt;/b&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
|-style=&#039;background-color:#156E7E;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
|colspan=2; style=&amp;quot;padding:4px;color:white;&amp;quot;|Requirements:  {{#if: {{{prereqs}}}| {{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;dungeon&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;{{{prereqs}}}&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = building_t.name          = name&lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = PrereqFetcher&lt;br /&gt;
|named args = yes}} |None.}}&lt;br /&gt;
|-style=&#039;text-align:center;&#039; &lt;br /&gt;
|style=&amp;quot;border-right:1px solid #BCB096;padding:4px 0px 4px 0px;&amp;quot;|Cost&lt;br /&gt;
|style=&amp;quot;padding:4px 0px 4px 0px;width:350px;&amp;quot;|Effect&lt;br /&gt;
|-style=&amp;quot;border-bottom: 1px solid #BCB096;height:auto;vertical-align:top;&amp;quot;&lt;br /&gt;
| style=&amp;quot;padding:10px;color:white;text-align:center;border-right:1px solid #BCB096;&amp;quot;|{{#if: {{{gold|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gold|}}} {{gold}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{wood|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{wood|}}} {{wood}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{ore|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{ore|}}} {{ore}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{gems|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gems|}}} {{gems}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{crystals|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{crystals|}}} {{crystals}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{mercury|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{mercury|}}} {{mercury}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{dust|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{dust|}}} {{dust}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{grail|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{grail|}}} {{graal}}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding:10px;&amp;quot;|&amp;lt;span style=&amp;quot;color: white;&amp;quot;&amp;gt;{{{description|}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
{{#if: {{{note}}}|&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; &amp;lt;i&amp;gt;{{{note}}}&amp;lt;/i&amp;gt; | &#039; &#039;}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Table templates]]&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- {{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21294</id>
		<title>Template:FactionBuilding/base</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21294"/>
		<updated>2026-06-01T00:40:17Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;width:350px;margin-right:15px;&amp;quot;&amp;gt;&lt;br /&gt;
{|class=infobox style=&amp;quot;border-collapse: collapse; border: 1px solid #BCB096;&amp;quot;&lt;br /&gt;
|-style=&#039;background-color:#1E3758;text-align:left;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
| style=&#039;text-align:center;object-position:center;padding:15px;width:125px;&#039;| [[File:{{{icon|}}}.png|100px|link=]] || style=&#039;padding:10px;vertical-align:center;&#039; |&amp;lt;big&amp;gt;&amp;lt;b&amp;gt;{{{name}}}&amp;lt;/b&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
|-style=&#039;background-color:#156E7E;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
|colspan=2; style=&amp;quot;padding:4px;color:white;&amp;quot;|Requirements:  {{#if: {{{prereqs}}}| {{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;dungeon&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;{{{prereqs}}}&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = building_t.name          = name&lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = PrereqFetcher&lt;br /&gt;
|named args = yes}} |None.}}&lt;br /&gt;
|-style=&#039;text-align:center;&#039; &lt;br /&gt;
|style=&amp;quot;border-right:1px solid #BCB096;padding:4px 0px 4px 0px;&amp;quot;|Cost&lt;br /&gt;
|style=&amp;quot;padding:4px 0px 4px 0px;width:350px;&amp;quot;|Effect&lt;br /&gt;
|-style=&amp;quot;border-bottom: 1px solid #BCB096;height:auto;vertical-align:top;&amp;quot;&lt;br /&gt;
| style=&amp;quot;padding:10px;color:white;text-align:center;border-right:1px solid #BCB096;&amp;quot;|{{#if: {{{gold|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gold|}}} {{gold}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{wood|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{wood|}}} {{wood}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{ore|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{ore|}}} {{ore}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{gems|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gems|}}} {{gems}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{crystals|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{crystals|}}} {{crystals}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{mercury|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{mercury|}}} {{mercury}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{dust|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{dust|}}} {{dust}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{grail|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{grail|}}} {{graal}}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding:10px;&amp;quot;|&amp;lt;span style=&amp;quot;color: white;&amp;quot;&amp;gt;{{{description|}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
{{#if: {{{note}}}|&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; &amp;lt;i&amp;gt;{{{note}}}&amp;lt;/i&amp;gt; | }}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Table templates]]&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- {{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Dungeon&amp;diff=21293</id>
		<title>Dungeon</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Dungeon&amp;diff=21293"/>
		<updated>2026-06-01T00:37:50Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: /* Economy Buildings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{outdated}}__NOTOC__&lt;br /&gt;
&lt;br /&gt;
==Native Terrain==&lt;br /&gt;
&lt;br /&gt;
==Heroes==&lt;br /&gt;
&lt;br /&gt;
==Faction Skill==&lt;br /&gt;
Triumvirate&#039;s Strength is the unique faction skill of the Dungeon faction. It is a skill that all Dungeon heroes start with and is unavailable to other hero classes.&lt;br /&gt;
&amp;lt;div class=&amp;quot;oe img center&amp;quot;&amp;gt;[[File:Tristrength.png|300px]]&amp;lt;/div&amp;gt;&lt;br /&gt;
Once per turn, it lets the hero take one of 3 stances which boost specific stats for the hero and their army during a given combat session. The Minotaur Stance boosts Attack, the Dark Elf Stance boosts Defense, and the Dragon Stance boosts Spell Power. These stance bonuses remain in effect until another stance is chosen, allowing one to adapt their strengths and strategy to the current situation in battle.&lt;br /&gt;
&lt;br /&gt;
==Faction Laws==&lt;br /&gt;
&lt;br /&gt;
==Town Buildings, Build Orders==&lt;br /&gt;
&lt;br /&gt;
Gems {{gems}} are a critical resource of the Dungeon faction, and you will need to have a substantial amount of them to build their Tier-VII Creature Dwellings. Hiring these creatures will also incur an additional expenditure of gems along with the normal gold {{gold}} cost as well.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;oe_img_center&amp;quot;&amp;gt;[[File:town dungeon preview.png|800px]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Economy Buildings===&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;margin-bottom:40px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Main_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Main_L2&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Main_L3&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_main_level_2&lt;br /&gt;
|name=Byzantine Palace&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Grants the kingdom 500 Gold, Law points, and Astrology points daily. +1 hero cap.&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_main_level_2&lt;br /&gt;
|name=Byzantine Palace II&lt;br /&gt;
|requirements=Byzantine Palace&lt;br /&gt;
|gold=2,500&lt;br /&gt;
|wood=5&lt;br /&gt;
|ore=5&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Grants the kingdom 750 Gold, Law points, and Astrology points daily. Allows the owner to pick one level-1 economy upgrade.&amp;lt;ul class=&amp;quot;TableWhite&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 1.png|25px]]  Produces 500 more Gold daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 2.png|25px]]  Produces 500 more Law Points daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 3.png|25px]]  Produces 500 more Astrology Points daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_main_level_3&lt;br /&gt;
|name=Byzantine Palace III&lt;br /&gt;
|requirements=Byzantine Palace II&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=10&lt;br /&gt;
|ore=10&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Grants the kingdom 1,000 Gold, Law points, and Astrology points daily. Allows the owner to pick one level-1 economy upgrade.&amp;lt;ul class=&amp;quot;TableWhite&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 1.png|25px]]  Produces 1,000 more Gold daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 2.png|25px]]  Produces 1,000 more Law Points daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 3.png|25px]]  Produces 1,000 more Astrology Points daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
|note=&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;margin-bottom:40px;&amp;quot;&amp;gt;&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=500&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=5&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Allows the hiring of new heroes.&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_market&lt;br /&gt;
|name=Marketplace&lt;br /&gt;
|requirements=Tavern (Except in Single Hero Mode)&lt;br /&gt;
|gold=500&lt;br /&gt;
|wood=5&lt;br /&gt;
|ore=5&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Allows resources to be traded.&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;margin-bottom:40px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Bank_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- {{FactionBuilding&lt;br /&gt;
|icon=g_build_bank&lt;br /&gt;
|name=Bank&lt;br /&gt;
|requirements=Byzantine Palace II&lt;br /&gt;
|gold=2,500&lt;br /&gt;
|wood=5&lt;br /&gt;
|ore=5&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Produces 1,000 Gold daily.&lt;br /&gt;
|note=&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Treasury_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- {{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Produces 2,000 Gold daily.&lt;br /&gt;
|note=&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Resource_Depot_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- {{FactionBuilding&lt;br /&gt;
|icon=g_build_resource_depot&lt;br /&gt;
|name=Resource Depot&lt;br /&gt;
|requirements=Marketplace, Bank&lt;br /&gt;
|gold=2,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Produces 1 Gem daily.&lt;br /&gt;
|note=&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_resource_depot_2&lt;br /&gt;
|name=Alchemic Depot&lt;br /&gt;
|requirements=Resource Depot&lt;br /&gt;
|gold=&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=3&lt;br /&gt;
|crystals=3&lt;br /&gt;
|mercury=3&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Produces 5 Alchemical Dust daily.&lt;br /&gt;
|note=&lt;br /&gt;
}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Faction Buildings===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;margin-bottom:40px;&amp;quot;&amp;gt;&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_gymnasium&lt;br /&gt;
|name=Gymnasium&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Levels up any visiting hero once.&lt;br /&gt;
|note=Once built, this level-up effect will be applied whenever town is visited by a hero. Since more XP is required to level up the higher your hero level, it is advised to wait to construct this building until later in your play session where it will provide more value to the player.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_lyceum&lt;br /&gt;
|name=Lyceum&lt;br /&gt;
|requirements=Marketplace&lt;br /&gt;
|gold=2,500&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Allows enchanting of magic scrolls so that they grant spells of maximum level.&lt;br /&gt;
|note=This costs resources.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=dungeon_build_spy_network&lt;br /&gt;
|name=Spy Network&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=1&lt;br /&gt;
|description=Completely removes the fog of war. This city’s dwellings produce +100% units.&lt;br /&gt;
|note=The Grail is a necessary resource to construct this building. This mythical object / resource can be obtained by defeating an enhanced mirrored copy of your army at the [[Map_Objects|Mirage]].&lt;br /&gt;
}}&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Creature Dwellings / Recruitment===&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed mw-collapsible white-toggle-button&amp;quot;&amp;gt;&lt;br /&gt;
ggg&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Magic-Related Buildings===&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed mw-collapsible white-toggle-button&amp;quot;&amp;gt;&lt;br /&gt;
2222222&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Faction-Related Buildings===&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed mw-collapsible white-toggle-button&amp;quot;&amp;gt;&lt;br /&gt;
2222222&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br&amp;gt; --&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:PrereqFetcher&amp;diff=21292</id>
		<title>Template:PrereqFetcher</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:PrereqFetcher&amp;diff=21292"/>
		<updated>2026-06-01T00:37:30Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{#if: {{{name|}}} | {{{name|}}} | None. }}&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:PrereqFetcher&amp;diff=21291</id>
		<title>Template:PrereqFetcher</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:PrereqFetcher&amp;diff=21291"/>
		<updated>2026-06-01T00:37:18Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{#if: {{{name|}}} | {{{name|}}} | none }}&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=File:G_build_treasury.png&amp;diff=21290</id>
		<title>File:G build treasury.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=File:G_build_treasury.png&amp;diff=21290"/>
		<updated>2026-06-01T00:35:58Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: 76561198081794631 moved page File:G build treasury.png to File:G build Treasury.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[File:G build Treasury.png]]&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=File:G_build_Treasury.png&amp;diff=21289</id>
		<title>File:G build Treasury.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=File:G_build_Treasury.png&amp;diff=21289"/>
		<updated>2026-06-01T00:35:58Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: 76561198081794631 moved page File:G build treasury.png to File:G build Treasury.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;File uploaded with MsUpload&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=File:G_build_main_level_3.png&amp;diff=21288</id>
		<title>File:G build main level 3.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=File:G_build_main_level_3.png&amp;diff=21288"/>
		<updated>2026-06-01T00:32:05Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: 76561198081794631 moved page File:G build main level 3.png to File:G build Main Level 3.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[File:G build Main Level 3.png]]&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=File:G_build_Main_Level_3.png&amp;diff=21287</id>
		<title>File:G build Main Level 3.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=File:G_build_Main_Level_3.png&amp;diff=21287"/>
		<updated>2026-06-01T00:32:05Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: 76561198081794631 moved page File:G build main level 3.png to File:G build Main Level 3.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;File uploaded with MsUpload&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=File:G_build_main_level_2.png&amp;diff=21286</id>
		<title>File:G build main level 2.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=File:G_build_main_level_2.png&amp;diff=21286"/>
		<updated>2026-06-01T00:31:29Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: 76561198081794631 moved page File:G build main level 2.png to File:G build Main Level 2.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[File:G build Main Level 2.png]]&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=File:G_build_Main_Level_2.png&amp;diff=21285</id>
		<title>File:G build Main Level 2.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=File:G_build_Main_Level_2.png&amp;diff=21285"/>
		<updated>2026-06-01T00:31:29Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: 76561198081794631 moved page File:G build main level 2.png to File:G build Main Level 2.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;File uploaded with MsUpload&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=File:G_build_main_level_1.png&amp;diff=21284</id>
		<title>File:G build main level 1.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=File:G_build_main_level_1.png&amp;diff=21284"/>
		<updated>2026-06-01T00:30:48Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: 76561198081794631 moved page File:G build main level 1.png to File:G build Main Level 1.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[File:G build Main Level 1.png]]&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=File:G_build_Main_Level_1.png&amp;diff=21283</id>
		<title>File:G build Main Level 1.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=File:G_build_Main_Level_1.png&amp;diff=21283"/>
		<updated>2026-06-01T00:30:48Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: 76561198081794631 moved page File:G build main level 1.png to File:G build Main Level 1.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;File uploaded with MsUpload&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Dungeon&amp;diff=21282</id>
		<title>Dungeon</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Dungeon&amp;diff=21282"/>
		<updated>2026-06-01T00:30:02Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: /* Economy Buildings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{outdated}}__NOTOC__&lt;br /&gt;
&lt;br /&gt;
==Native Terrain==&lt;br /&gt;
&lt;br /&gt;
==Heroes==&lt;br /&gt;
&lt;br /&gt;
==Faction Skill==&lt;br /&gt;
Triumvirate&#039;s Strength is the unique faction skill of the Dungeon faction. It is a skill that all Dungeon heroes start with and is unavailable to other hero classes.&lt;br /&gt;
&amp;lt;div class=&amp;quot;oe img center&amp;quot;&amp;gt;[[File:Tristrength.png|300px]]&amp;lt;/div&amp;gt;&lt;br /&gt;
Once per turn, it lets the hero take one of 3 stances which boost specific stats for the hero and their army during a given combat session. The Minotaur Stance boosts Attack, the Dark Elf Stance boosts Defense, and the Dragon Stance boosts Spell Power. These stance bonuses remain in effect until another stance is chosen, allowing one to adapt their strengths and strategy to the current situation in battle.&lt;br /&gt;
&lt;br /&gt;
==Faction Laws==&lt;br /&gt;
&lt;br /&gt;
==Town Buildings, Build Orders==&lt;br /&gt;
&lt;br /&gt;
Gems {{gems}} are a critical resource of the Dungeon faction, and you will need to have a substantial amount of them to build their Tier-VII Creature Dwellings. Hiring these creatures will also incur an additional expenditure of gems along with the normal gold {{gold}} cost as well.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;oe_img_center&amp;quot;&amp;gt;[[File:town dungeon preview.png|800px]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Economy Buildings===&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;margin-bottom:40px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Main_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Main_L2&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Main_L3&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_main_level_2&lt;br /&gt;
|name=Byzantine Palace&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Grants the kingdom 500 Gold, Law points, and Astrology points daily. +1 hero cap.&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_main_level_2&lt;br /&gt;
|name=Byzantine Palace II&lt;br /&gt;
|requirements=Byzantine Palace&lt;br /&gt;
|gold=2,500&lt;br /&gt;
|wood=5&lt;br /&gt;
|ore=5&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Grants the kingdom 750 Gold, Law points, and Astrology points daily. Allows the owner to pick one level-1 economy upgrade.&amp;lt;ul class=&amp;quot;TableWhite&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 1.png|25px]]  Produces 500 more Gold daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 2.png|25px]]  Produces 500 more Law Points daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 3.png|25px]]  Produces 500 more Astrology Points daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_main_level_3&lt;br /&gt;
|name=Byzantine Palace III&lt;br /&gt;
|requirements=Byzantine Palace II&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=10&lt;br /&gt;
|ore=10&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Grants the kingdom 1,000 Gold, Law points, and Astrology points daily. Allows the owner to pick one level-1 economy upgrade.&amp;lt;ul class=&amp;quot;TableWhite&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 1.png|25px]]  Produces 1,000 more Gold daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 2.png|25px]]  Produces 1,000 more Law Points daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 3.png|25px]]  Produces 1,000 more Astrology Points daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
|note=&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;margin-bottom:40px;&amp;quot;&amp;gt;&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=500&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=5&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Allows the hiring of new heroes.&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_market&lt;br /&gt;
|name=Marketplace&lt;br /&gt;
|requirements=Tavern (Except in Single Hero Mode)&lt;br /&gt;
|gold=500&lt;br /&gt;
|wood=5&lt;br /&gt;
|ore=5&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Allows resources to be traded.&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;margin-bottom:40px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Bank_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- {{FactionBuilding&lt;br /&gt;
|icon=g_build_bank&lt;br /&gt;
|name=Bank&lt;br /&gt;
|requirements=Byzantine Palace II&lt;br /&gt;
|gold=2,500&lt;br /&gt;
|wood=5&lt;br /&gt;
|ore=5&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Produces 1,000 Gold daily.&lt;br /&gt;
|note=&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Produces 2,000 Gold daily.&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Resource_Depot_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- {{FactionBuilding&lt;br /&gt;
|icon=g_build_resource_depot&lt;br /&gt;
|name=Resource Depot&lt;br /&gt;
|requirements=Marketplace, Bank&lt;br /&gt;
|gold=2,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Produces 1 Gem daily.&lt;br /&gt;
|note=&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_resource_depot_2&lt;br /&gt;
|name=Alchemic Depot&lt;br /&gt;
|requirements=Resource Depot&lt;br /&gt;
|gold=&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=3&lt;br /&gt;
|crystals=3&lt;br /&gt;
|mercury=3&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Produces 5 Alchemical Dust daily.&lt;br /&gt;
|note=&lt;br /&gt;
}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Faction Buildings===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;margin-bottom:40px;&amp;quot;&amp;gt;&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_gymnasium&lt;br /&gt;
|name=Gymnasium&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Levels up any visiting hero once.&lt;br /&gt;
|note=Once built, this level-up effect will be applied whenever town is visited by a hero. Since more XP is required to level up the higher your hero level, it is advised to wait to construct this building until later in your play session where it will provide more value to the player.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_lyceum&lt;br /&gt;
|name=Lyceum&lt;br /&gt;
|requirements=Marketplace&lt;br /&gt;
|gold=2,500&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Allows enchanting of magic scrolls so that they grant spells of maximum level.&lt;br /&gt;
|note=This costs resources.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=dungeon_build_spy_network&lt;br /&gt;
|name=Spy Network&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=1&lt;br /&gt;
|description=Completely removes the fog of war. This city’s dwellings produce +100% units.&lt;br /&gt;
|note=The Grail is a necessary resource to construct this building. This mythical object / resource can be obtained by defeating an enhanced mirrored copy of your army at the [[Map_Objects|Mirage]].&lt;br /&gt;
}}&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Creature Dwellings / Recruitment===&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed mw-collapsible white-toggle-button&amp;quot;&amp;gt;&lt;br /&gt;
ggg&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Magic-Related Buildings===&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed mw-collapsible white-toggle-button&amp;quot;&amp;gt;&lt;br /&gt;
2222222&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Faction-Related Buildings===&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed mw-collapsible white-toggle-button&amp;quot;&amp;gt;&lt;br /&gt;
2222222&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br&amp;gt; --&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:Testpage&amp;diff=21281</id>
		<title>Template:Testpage</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:Testpage&amp;diff=21281"/>
		<updated>2026-06-01T00:27:38Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;dungeon&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           &lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           building_t.description   = description,&lt;br /&gt;
           B.faction                = faction,&lt;br /&gt;
           B.icon                   = icon,&lt;br /&gt;
           B.prereqs__full          = prereqs&lt;br /&gt;
         &amp;lt;!--   B.gold_cost              = gold cost,&lt;br /&gt;
           B.wood_cost              = wood cost,&lt;br /&gt;
           B.ore_cost               = ore cost,&lt;br /&gt;
           B.crystals_cost          = crystals cost,&lt;br /&gt;
           B.gemstones_cost         = gemstones cost,&lt;br /&gt;
           B.mercury_cost           = mercury cost,&lt;br /&gt;
           B.dust_cost              = dust cost,&lt;br /&gt;
           B.graal_cost             = graal cost,&lt;br /&gt;
           B.units_hire_sid         = units hire sid,&lt;br /&gt;
           B.units_weekly           = units weekly, --&amp;gt;&lt;br /&gt;
           &lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}  &amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Test Query&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;unfrozen_Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = building_t.name          = name&lt;br /&gt;
           &lt;br /&gt;
|format     = table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
unfrozen_Build_Market_L1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Query with results sent to sub-template&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;unfrozen_Build_Artifact_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           B.icon                   = icon&lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = BuildingNameDisplay&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Query to fetch Prereqs for a building&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.prereqs__full = &#039;Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|order by = B.prereqs__full = &#039;Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           building_t.description   = description,&lt;br /&gt;
           B.icon                   = icon,&lt;br /&gt;
           B.prereqs__full          = requirements&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|format     = table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Default View&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           &lt;br /&gt;
|fields  = B.id=id,&lt;br /&gt;
           building_t.name,&lt;br /&gt;
           building_t.description,&lt;br /&gt;
           B.faction=faction,&lt;br /&gt;
           B.category=category,&lt;br /&gt;
           B.sid=sid,&lt;br /&gt;
           B.level=level,&lt;br /&gt;
           B.name_sid=name sid,&lt;br /&gt;
           B.desc_sid=desc sid,&lt;br /&gt;
           B.narrative_desc_sid=narrative desc sid,&lt;br /&gt;
           B.icon=icon,&lt;br /&gt;
           B.background_image=background image,&lt;br /&gt;
           B.is_constructed_on_start=is constructed on start,&lt;br /&gt;
           B.level_on_start=level on start,&lt;br /&gt;
           B.scene_slot=scene slot,&lt;br /&gt;
           B.node_pos_x=node pos x,&lt;br /&gt;
           B.node_pos_y=node pos y,&lt;br /&gt;
           B.prereqs__full=prereqs,&lt;br /&gt;
           B.gold_cost=gold cost,&lt;br /&gt;
           B.wood_cost=wood cost,&lt;br /&gt;
           B.ore_cost=ore cost,&lt;br /&gt;
           B.crystals_cost=crystals cost,&lt;br /&gt;
           B.gemstones_cost=gemstones cost,&lt;br /&gt;
           B.mercury_cost=mercury cost,&lt;br /&gt;
           B.dust_cost=dust cost,&lt;br /&gt;
           B.graal_cost=graal cost,&lt;br /&gt;
           B.units_hire_sid=units hire sid,&lt;br /&gt;
           B.units_weekly=units weekly,&lt;br /&gt;
           B.source_path=source path&lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Hero=H, HeroClass=HC, Faction=F,&lt;br /&gt;
           Translation=hero_t, Translation=hero_en, Translation=motto_t&lt;br /&gt;
|join on = H.class_id = HC.id,&lt;br /&gt;
           H.faction  = F.id,&lt;br /&gt;
           H.id       = hero_t.target_id,&lt;br /&gt;
           H.id       = hero_en.target_id,&lt;br /&gt;
           H.id       = motto_t.target_id&lt;br /&gt;
|where   = H.id = &#039;demon_hero_4&#039;&lt;br /&gt;
           AND hero_t.type    = &#039;hero&#039;       AND hero_t.language    = &#039;{{{lang|en}}}&#039;&lt;br /&gt;
           AND hero_en.type   = &#039;hero&#039;       AND hero_en.language   = &#039;en&#039;&lt;br /&gt;
           AND motto_t.type   = &#039;hero_motto&#039; AND motto_t.language   = &#039;{{{lang|en}}}&#039;&lt;br /&gt;
|fields  = H.id                                      = id,&lt;br /&gt;
           hero_t.language                           = lang,&lt;br /&gt;
           hero_t.name                               = name,&lt;br /&gt;
           CONCAT(hero_en.name,&#039;.png&#039;)               = portrait,&lt;br /&gt;
           motto_t.description                       = motto,&lt;br /&gt;
           hero_t.description                        = biography,&lt;br /&gt;
           H.class_id                                = class,&lt;br /&gt;
           H.faction                                 = faction,&lt;br /&gt;
           COALESCE(H.offence, HC.offence)           = startattack,&lt;br /&gt;
           COALESCE(H.defence, HC.defence)           = startdefense,&lt;br /&gt;
           COALESCE(H.spell_power, HC.spell_power)   = startspellpower,&lt;br /&gt;
           COALESCE(H.intelligence, HC.intelligence) = startknowledge&lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}} --&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:Testpage&amp;diff=21280</id>
		<title>Template:Testpage</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:Testpage&amp;diff=21280"/>
		<updated>2026-06-01T00:26:44Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           &lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           building_t.description   = description,&lt;br /&gt;
           B.faction                = faction,&lt;br /&gt;
           B.icon                   = icon,&lt;br /&gt;
           B.prereqs__full          = prereqs,&lt;br /&gt;
         &amp;lt;!--   B.gold_cost              = gold cost,&lt;br /&gt;
           B.wood_cost              = wood cost,&lt;br /&gt;
           B.ore_cost               = ore cost,&lt;br /&gt;
           B.crystals_cost          = crystals cost,&lt;br /&gt;
           B.gemstones_cost         = gemstones cost,&lt;br /&gt;
           B.mercury_cost           = mercury cost,&lt;br /&gt;
           B.dust_cost              = dust cost,&lt;br /&gt;
           B.graal_cost             = graal cost,&lt;br /&gt;
           B.units_hire_sid         = units hire sid,&lt;br /&gt;
           B.units_weekly           = units weekly, --&amp;gt;&lt;br /&gt;
           &lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}} --&amp;gt; &amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Test Query&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;unfrozen_Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = building_t.name          = name&lt;br /&gt;
           &lt;br /&gt;
|format     = table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
unfrozen_Build_Market_L1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Query with results sent to sub-template&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;unfrozen_Build_Artifact_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           B.icon                   = icon&lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = BuildingNameDisplay&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Query to fetch Prereqs for a building&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.prereqs__full = &#039;Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|order by = B.prereqs__full = &#039;Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           building_t.description   = description,&lt;br /&gt;
           B.icon                   = icon,&lt;br /&gt;
           B.prereqs__full          = requirements&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|format     = table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Default View&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           &lt;br /&gt;
|fields  = B.id=id,&lt;br /&gt;
           building_t.name,&lt;br /&gt;
           building_t.description,&lt;br /&gt;
           B.faction=faction,&lt;br /&gt;
           B.category=category,&lt;br /&gt;
           B.sid=sid,&lt;br /&gt;
           B.level=level,&lt;br /&gt;
           B.name_sid=name sid,&lt;br /&gt;
           B.desc_sid=desc sid,&lt;br /&gt;
           B.narrative_desc_sid=narrative desc sid,&lt;br /&gt;
           B.icon=icon,&lt;br /&gt;
           B.background_image=background image,&lt;br /&gt;
           B.is_constructed_on_start=is constructed on start,&lt;br /&gt;
           B.level_on_start=level on start,&lt;br /&gt;
           B.scene_slot=scene slot,&lt;br /&gt;
           B.node_pos_x=node pos x,&lt;br /&gt;
           B.node_pos_y=node pos y,&lt;br /&gt;
           B.prereqs__full=prereqs,&lt;br /&gt;
           B.gold_cost=gold cost,&lt;br /&gt;
           B.wood_cost=wood cost,&lt;br /&gt;
           B.ore_cost=ore cost,&lt;br /&gt;
           B.crystals_cost=crystals cost,&lt;br /&gt;
           B.gemstones_cost=gemstones cost,&lt;br /&gt;
           B.mercury_cost=mercury cost,&lt;br /&gt;
           B.dust_cost=dust cost,&lt;br /&gt;
           B.graal_cost=graal cost,&lt;br /&gt;
           B.units_hire_sid=units hire sid,&lt;br /&gt;
           B.units_weekly=units weekly,&lt;br /&gt;
           B.source_path=source path&lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Hero=H, HeroClass=HC, Faction=F,&lt;br /&gt;
           Translation=hero_t, Translation=hero_en, Translation=motto_t&lt;br /&gt;
|join on = H.class_id = HC.id,&lt;br /&gt;
           H.faction  = F.id,&lt;br /&gt;
           H.id       = hero_t.target_id,&lt;br /&gt;
           H.id       = hero_en.target_id,&lt;br /&gt;
           H.id       = motto_t.target_id&lt;br /&gt;
|where   = H.id = &#039;demon_hero_4&#039;&lt;br /&gt;
           AND hero_t.type    = &#039;hero&#039;       AND hero_t.language    = &#039;{{{lang|en}}}&#039;&lt;br /&gt;
           AND hero_en.type   = &#039;hero&#039;       AND hero_en.language   = &#039;en&#039;&lt;br /&gt;
           AND motto_t.type   = &#039;hero_motto&#039; AND motto_t.language   = &#039;{{{lang|en}}}&#039;&lt;br /&gt;
|fields  = H.id                                      = id,&lt;br /&gt;
           hero_t.language                           = lang,&lt;br /&gt;
           hero_t.name                               = name,&lt;br /&gt;
           CONCAT(hero_en.name,&#039;.png&#039;)               = portrait,&lt;br /&gt;
           motto_t.description                       = motto,&lt;br /&gt;
           hero_t.description                        = biography,&lt;br /&gt;
           H.class_id                                = class,&lt;br /&gt;
           H.faction                                 = faction,&lt;br /&gt;
           COALESCE(H.offence, HC.offence)           = startattack,&lt;br /&gt;
           COALESCE(H.defence, HC.defence)           = startdefense,&lt;br /&gt;
           COALESCE(H.spell_power, HC.spell_power)   = startspellpower,&lt;br /&gt;
           COALESCE(H.intelligence, HC.intelligence) = startknowledge&lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}} --&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=File:G_build_bank.png&amp;diff=21279</id>
		<title>File:G build bank.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=File:G_build_bank.png&amp;diff=21279"/>
		<updated>2026-06-01T00:24:57Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: 76561198081794631 moved page File:G build bank.png to File:G build Bank.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[File:G build Bank.png]]&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=File:G_build_Bank.png&amp;diff=21278</id>
		<title>File:G build Bank.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=File:G_build_Bank.png&amp;diff=21278"/>
		<updated>2026-06-01T00:24:57Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: 76561198081794631 moved page File:G build bank.png to File:G build Bank.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;File uploaded with MsUpload&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Dungeon&amp;diff=21277</id>
		<title>Dungeon</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Dungeon&amp;diff=21277"/>
		<updated>2026-06-01T00:24:22Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: /* Economy Buildings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{outdated}}__NOTOC__&lt;br /&gt;
&lt;br /&gt;
==Native Terrain==&lt;br /&gt;
&lt;br /&gt;
==Heroes==&lt;br /&gt;
&lt;br /&gt;
==Faction Skill==&lt;br /&gt;
Triumvirate&#039;s Strength is the unique faction skill of the Dungeon faction. It is a skill that all Dungeon heroes start with and is unavailable to other hero classes.&lt;br /&gt;
&amp;lt;div class=&amp;quot;oe img center&amp;quot;&amp;gt;[[File:Tristrength.png|300px]]&amp;lt;/div&amp;gt;&lt;br /&gt;
Once per turn, it lets the hero take one of 3 stances which boost specific stats for the hero and their army during a given combat session. The Minotaur Stance boosts Attack, the Dark Elf Stance boosts Defense, and the Dragon Stance boosts Spell Power. These stance bonuses remain in effect until another stance is chosen, allowing one to adapt their strengths and strategy to the current situation in battle.&lt;br /&gt;
&lt;br /&gt;
==Faction Laws==&lt;br /&gt;
&lt;br /&gt;
==Town Buildings, Build Orders==&lt;br /&gt;
&lt;br /&gt;
Gems {{gems}} are a critical resource of the Dungeon faction, and you will need to have a substantial amount of them to build their Tier-VII Creature Dwellings. Hiring these creatures will also incur an additional expenditure of gems along with the normal gold {{gold}} cost as well.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;oe_img_center&amp;quot;&amp;gt;[[File:town dungeon preview.png|800px]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Economy Buildings===&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;margin-bottom:40px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_main_level_2&lt;br /&gt;
|name=Byzantine Palace&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Grants the kingdom 500 Gold, Law points, and Astrology points daily. +1 hero cap.&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_main_level_2&lt;br /&gt;
|name=Byzantine Palace II&lt;br /&gt;
|requirements=Byzantine Palace&lt;br /&gt;
|gold=2,500&lt;br /&gt;
|wood=5&lt;br /&gt;
|ore=5&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Grants the kingdom 750 Gold, Law points, and Astrology points daily. Allows the owner to pick one level-1 economy upgrade.&amp;lt;ul class=&amp;quot;TableWhite&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 1.png|25px]]  Produces 500 more Gold daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 2.png|25px]]  Produces 500 more Law Points daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 3.png|25px]]  Produces 500 more Astrology Points daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_main_level_3&lt;br /&gt;
|name=Byzantine Palace III&lt;br /&gt;
|requirements=Byzantine Palace II&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=10&lt;br /&gt;
|ore=10&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Grants the kingdom 1,000 Gold, Law points, and Astrology points daily. Allows the owner to pick one level-1 economy upgrade.&amp;lt;ul class=&amp;quot;TableWhite&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 1.png|25px]]  Produces 1,000 more Gold daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 2.png|25px]]  Produces 1,000 more Law Points daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 3.png|25px]]  Produces 1,000 more Astrology Points daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;margin-bottom:40px;&amp;quot;&amp;gt;&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=500&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=5&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Allows the hiring of new heroes.&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_market&lt;br /&gt;
|name=Marketplace&lt;br /&gt;
|requirements=Tavern (Except in Single Hero Mode)&lt;br /&gt;
|gold=500&lt;br /&gt;
|wood=5&lt;br /&gt;
|ore=5&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Allows resources to be traded.&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;margin-bottom:40px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Bank_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- {{FactionBuilding&lt;br /&gt;
|icon=g_build_bank&lt;br /&gt;
|name=Bank&lt;br /&gt;
|requirements=Byzantine Palace II&lt;br /&gt;
|gold=2,500&lt;br /&gt;
|wood=5&lt;br /&gt;
|ore=5&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Produces 1,000 Gold daily.&lt;br /&gt;
|note=&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Produces 2,000 Gold daily.&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Resource_Depot_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- {{FactionBuilding&lt;br /&gt;
|icon=g_build_resource_depot&lt;br /&gt;
|name=Resource Depot&lt;br /&gt;
|requirements=Marketplace, Bank&lt;br /&gt;
|gold=2,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Produces 1 Gem daily.&lt;br /&gt;
|note=&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_resource_depot_2&lt;br /&gt;
|name=Alchemic Depot&lt;br /&gt;
|requirements=Resource Depot&lt;br /&gt;
|gold=&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=3&lt;br /&gt;
|crystals=3&lt;br /&gt;
|mercury=3&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Produces 5 Alchemical Dust daily.&lt;br /&gt;
|note=&lt;br /&gt;
}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Faction Buildings===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;margin-bottom:40px;&amp;quot;&amp;gt;&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_gymnasium&lt;br /&gt;
|name=Gymnasium&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Levels up any visiting hero once.&lt;br /&gt;
|note=Once built, this level-up effect will be applied whenever town is visited by a hero. Since more XP is required to level up the higher your hero level, it is advised to wait to construct this building until later in your play session where it will provide more value to the player.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_lyceum&lt;br /&gt;
|name=Lyceum&lt;br /&gt;
|requirements=Marketplace&lt;br /&gt;
|gold=2,500&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Allows enchanting of magic scrolls so that they grant spells of maximum level.&lt;br /&gt;
|note=This costs resources.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=dungeon_build_spy_network&lt;br /&gt;
|name=Spy Network&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=1&lt;br /&gt;
|description=Completely removes the fog of war. This city’s dwellings produce +100% units.&lt;br /&gt;
|note=The Grail is a necessary resource to construct this building. This mythical object / resource can be obtained by defeating an enhanced mirrored copy of your army at the [[Map_Objects|Mirage]].&lt;br /&gt;
}}&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Creature Dwellings / Recruitment===&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed mw-collapsible white-toggle-button&amp;quot;&amp;gt;&lt;br /&gt;
ggg&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Magic-Related Buildings===&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed mw-collapsible white-toggle-button&amp;quot;&amp;gt;&lt;br /&gt;
2222222&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Faction-Related Buildings===&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed mw-collapsible white-toggle-button&amp;quot;&amp;gt;&lt;br /&gt;
2222222&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br&amp;gt; --&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Dungeon&amp;diff=21276</id>
		<title>Dungeon</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Dungeon&amp;diff=21276"/>
		<updated>2026-06-01T00:22:29Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: /* Economy Buildings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{outdated}}__NOTOC__&lt;br /&gt;
&lt;br /&gt;
==Native Terrain==&lt;br /&gt;
&lt;br /&gt;
==Heroes==&lt;br /&gt;
&lt;br /&gt;
==Faction Skill==&lt;br /&gt;
Triumvirate&#039;s Strength is the unique faction skill of the Dungeon faction. It is a skill that all Dungeon heroes start with and is unavailable to other hero classes.&lt;br /&gt;
&amp;lt;div class=&amp;quot;oe img center&amp;quot;&amp;gt;[[File:Tristrength.png|300px]]&amp;lt;/div&amp;gt;&lt;br /&gt;
Once per turn, it lets the hero take one of 3 stances which boost specific stats for the hero and their army during a given combat session. The Minotaur Stance boosts Attack, the Dark Elf Stance boosts Defense, and the Dragon Stance boosts Spell Power. These stance bonuses remain in effect until another stance is chosen, allowing one to adapt their strengths and strategy to the current situation in battle.&lt;br /&gt;
&lt;br /&gt;
==Faction Laws==&lt;br /&gt;
&lt;br /&gt;
==Town Buildings, Build Orders==&lt;br /&gt;
&lt;br /&gt;
Gems {{gems}} are a critical resource of the Dungeon faction, and you will need to have a substantial amount of them to build their Tier-VII Creature Dwellings. Hiring these creatures will also incur an additional expenditure of gems along with the normal gold {{gold}} cost as well.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;oe_img_center&amp;quot;&amp;gt;[[File:town dungeon preview.png|800px]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Economy Buildings===&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;margin-bottom:40px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_main_level_2&lt;br /&gt;
|name=Byzantine Palace&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Grants the kingdom 500 Gold, Law points, and Astrology points daily. +1 hero cap.&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_main_level_2&lt;br /&gt;
|name=Byzantine Palace II&lt;br /&gt;
|requirements=Byzantine Palace&lt;br /&gt;
|gold=2,500&lt;br /&gt;
|wood=5&lt;br /&gt;
|ore=5&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Grants the kingdom 750 Gold, Law points, and Astrology points daily. Allows the owner to pick one level-1 economy upgrade.&amp;lt;ul class=&amp;quot;TableWhite&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 1.png|25px]]  Produces 500 more Gold daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 2.png|25px]]  Produces 500 more Law Points daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 3.png|25px]]  Produces 500 more Astrology Points daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_main_level_3&lt;br /&gt;
|name=Byzantine Palace III&lt;br /&gt;
|requirements=Byzantine Palace II&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=10&lt;br /&gt;
|ore=10&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Grants the kingdom 1,000 Gold, Law points, and Astrology points daily. Allows the owner to pick one level-1 economy upgrade.&amp;lt;ul class=&amp;quot;TableWhite&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 1.png|25px]]  Produces 1,000 more Gold daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 2.png|25px]]  Produces 1,000 more Law Points daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 3.png|25px]]  Produces 1,000 more Astrology Points daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;margin-bottom:40px;&amp;quot;&amp;gt;&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=500&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=5&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Allows the hiring of new heroes.&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_market&lt;br /&gt;
|name=Marketplace&lt;br /&gt;
|requirements=Tavern (Except in Single Hero Mode)&lt;br /&gt;
|gold=500&lt;br /&gt;
|wood=5&lt;br /&gt;
|ore=5&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Allows resources to be traded.&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;margin-bottom:40px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_bank&lt;br /&gt;
|name=Bank&lt;br /&gt;
|requirements=Byzantine Palace II&lt;br /&gt;
|gold=2,500&lt;br /&gt;
|wood=5&lt;br /&gt;
|ore=5&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Produces 1,000 Gold daily.&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Produces 2,000 Gold daily.&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Resource_Depot_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- {{FactionBuilding&lt;br /&gt;
|icon=g_build_resource_depot&lt;br /&gt;
|name=Resource Depot&lt;br /&gt;
|requirements=Marketplace, Bank&lt;br /&gt;
|gold=2,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Produces 1 Gem daily.&lt;br /&gt;
|note=&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_resource_depot_2&lt;br /&gt;
|name=Alchemic Depot&lt;br /&gt;
|requirements=Resource Depot&lt;br /&gt;
|gold=&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=3&lt;br /&gt;
|crystals=3&lt;br /&gt;
|mercury=3&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Produces 5 Alchemical Dust daily.&lt;br /&gt;
|note=&lt;br /&gt;
}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Faction Buildings===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;margin-bottom:40px;&amp;quot;&amp;gt;&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_gymnasium&lt;br /&gt;
|name=Gymnasium&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Levels up any visiting hero once.&lt;br /&gt;
|note=Once built, this level-up effect will be applied whenever town is visited by a hero. Since more XP is required to level up the higher your hero level, it is advised to wait to construct this building until later in your play session where it will provide more value to the player.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_lyceum&lt;br /&gt;
|name=Lyceum&lt;br /&gt;
|requirements=Marketplace&lt;br /&gt;
|gold=2,500&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Allows enchanting of magic scrolls so that they grant spells of maximum level.&lt;br /&gt;
|note=This costs resources.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=dungeon_build_spy_network&lt;br /&gt;
|name=Spy Network&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=1&lt;br /&gt;
|description=Completely removes the fog of war. This city’s dwellings produce +100% units.&lt;br /&gt;
|note=The Grail is a necessary resource to construct this building. This mythical object / resource can be obtained by defeating an enhanced mirrored copy of your army at the [[Map_Objects|Mirage]].&lt;br /&gt;
}}&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Creature Dwellings / Recruitment===&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed mw-collapsible white-toggle-button&amp;quot;&amp;gt;&lt;br /&gt;
ggg&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Magic-Related Buildings===&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed mw-collapsible white-toggle-button&amp;quot;&amp;gt;&lt;br /&gt;
2222222&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Faction-Related Buildings===&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed mw-collapsible white-toggle-button&amp;quot;&amp;gt;&lt;br /&gt;
2222222&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br&amp;gt; --&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuildingCargo&amp;diff=21275</id>
		<title>Template:FactionBuildingCargo</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuildingCargo&amp;diff=21275"/>
		<updated>2026-06-01T00:19:49Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- faction: {{{faction}}} 1&lt;br /&gt;
Building ID: {{{bldg_id}}} 2&lt;br /&gt;
note: {{{note}}} 3 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;{{{faction|}}}&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;{{{bldg_id|}}}&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = B.id                                         = id,&lt;br /&gt;
           B.faction                                    = faction,&lt;br /&gt;
           building_t.name                              = name,&lt;br /&gt;
           building_t.description                       = description,&lt;br /&gt;
           B.icon                                       = icon,&lt;br /&gt;
           CONCAT(B.faction, &#039;_&#039;, B.prereqs__full)  = prereqs,&lt;br /&gt;
           B.gold_cost                                  = gold,&lt;br /&gt;
           B.wood_cost                                  = wood,&lt;br /&gt;
           B.ore_cost                                   = ore,&lt;br /&gt;
           B.crystals_cost                              = crystals,&lt;br /&gt;
           B.gemstones_cost                             = gems,&lt;br /&gt;
           B.mercury_cost                               = mercury,&lt;br /&gt;
           B.dust_cost                                  = dust,&lt;br /&gt;
           B.graal_cost                                 = graal&lt;br /&gt;
                      &lt;br /&gt;
&amp;lt;!-- CONCAT(unit_en.name, &#039;_icon&#039;)        = filename,&lt;br /&gt;
CONCAT(HSS.min, &amp;quot; - &amp;quot;, HSS.max)) = text    --&amp;gt;      &lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = FactionBuilding/base&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuildingCargo&amp;diff=21274</id>
		<title>Template:FactionBuildingCargo</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuildingCargo&amp;diff=21274"/>
		<updated>2026-06-01T00:17:38Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- faction: {{{faction}}} 1&lt;br /&gt;
Building ID: {{{bldg_id}}} 2&lt;br /&gt;
note: {{{note}}} 3 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;{{{faction|}}}&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;{{{bldg_id|}}}&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = B.id                                         = id,&lt;br /&gt;
           B.faction                                    = faction,&lt;br /&gt;
           building_t.name                              = name,&lt;br /&gt;
           building_t.description                       = description,&lt;br /&gt;
           B.icon                                       = icon,&lt;br /&gt;
           CONCAT({{{faction}}}, &#039;_&#039;, B.prereqs__full)  = prereqs,&lt;br /&gt;
           B.gold_cost                                  = gold,&lt;br /&gt;
           B.wood_cost                                  = wood,&lt;br /&gt;
           B.ore_cost                                   = ore,&lt;br /&gt;
           B.crystals_cost                              = crystals,&lt;br /&gt;
           B.gemstones_cost                             = gems,&lt;br /&gt;
           B.mercury_cost                               = mercury,&lt;br /&gt;
           B.dust_cost                                  = dust,&lt;br /&gt;
           B.graal_cost                                 = graal&lt;br /&gt;
                                &lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = FactionBuilding/base&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuildingCargo&amp;diff=21273</id>
		<title>Template:FactionBuildingCargo</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuildingCargo&amp;diff=21273"/>
		<updated>2026-06-01T00:17:11Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- faction: {{{faction}}} 1&lt;br /&gt;
Building ID: {{{bldg_id}}} 2&lt;br /&gt;
note: {{{note}}} 3 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;{{{faction|}}}&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;{{{bldg_id|}}}&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = B.id                                         = id,&lt;br /&gt;
           B.faction                                    = faction,&lt;br /&gt;
           building_t.name                              = name,&lt;br /&gt;
           building_t.description                       = description,&lt;br /&gt;
           B.icon                                       = icon,&lt;br /&gt;
           CONCAT({{{faction|}}}, &#039;_&#039;, B.prereqs__full)  = prereqs,&lt;br /&gt;
           B.gold_cost                                  = gold,&lt;br /&gt;
           B.wood_cost                                  = wood,&lt;br /&gt;
           B.ore_cost                                   = ore,&lt;br /&gt;
           B.crystals_cost                              = crystals,&lt;br /&gt;
           B.gemstones_cost                             = gems,&lt;br /&gt;
           B.mercury_cost                               = mercury,&lt;br /&gt;
           B.dust_cost                                  = dust,&lt;br /&gt;
           B.graal_cost                                 = graal&lt;br /&gt;
                                &lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = FactionBuilding/base&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuildingCargo&amp;diff=21272</id>
		<title>Template:FactionBuildingCargo</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuildingCargo&amp;diff=21272"/>
		<updated>2026-06-01T00:16:54Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- faction: {{{faction}}} 1&lt;br /&gt;
Building ID: {{{bldg_id}}} 2&lt;br /&gt;
note: {{{note}}} 3 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;{{{faction|}}}&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;{{{bldg_id|}}}&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = B.id                                         = id,&lt;br /&gt;
           B.faction                                    = faction,&lt;br /&gt;
           building_t.name                              = name,&lt;br /&gt;
           building_t.description                       = description,&lt;br /&gt;
           B.icon                                       = icon,&lt;br /&gt;
           CONCAT({{{faction}}}, &#039;_&#039;, B.prereqs__full)  = prereqs,&lt;br /&gt;
           B.gold_cost                                  = gold,&lt;br /&gt;
           B.wood_cost                                  = wood,&lt;br /&gt;
           B.ore_cost                                   = ore,&lt;br /&gt;
           B.crystals_cost                              = crystals,&lt;br /&gt;
           B.gemstones_cost                             = gems,&lt;br /&gt;
           B.mercury_cost                               = mercury,&lt;br /&gt;
           B.dust_cost                                  = dust,&lt;br /&gt;
           B.graal_cost                                 = graal&lt;br /&gt;
                                &lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = FactionBuilding/base&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:Testpage&amp;diff=21271</id>
		<title>Template:Testpage</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:Testpage&amp;diff=21271"/>
		<updated>2026-06-01T00:15:23Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           &lt;br /&gt;
|fields  = B.id                     =id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           building_t.description   = description,&lt;br /&gt;
           B.faction                =faction,&lt;br /&gt;
           B.icon                   =icon,&lt;br /&gt;
           B.prereqs__full          =prereqs,&lt;br /&gt;
           B.gold_cost              =gold cost,&lt;br /&gt;
           B.wood_cost              =wood cost,&lt;br /&gt;
           B.ore_cost               =ore cost,&lt;br /&gt;
           B.crystals_cost          =crystals cost,&lt;br /&gt;
           B.gemstones_cost         =gemstones cost,&lt;br /&gt;
           B.mercury_cost           =mercury cost,&lt;br /&gt;
           B.dust_cost              =dust cost,&lt;br /&gt;
           B.graal_cost             =graal cost,&lt;br /&gt;
           B.units_hire_sid         =units hire sid,&lt;br /&gt;
           B.units_weekly           =units weekly,&lt;br /&gt;
           &lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}} --&amp;gt; &amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Test Query&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;unfrozen_Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = building_t.name          = name&lt;br /&gt;
           &lt;br /&gt;
|format     = table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
unfrozen_Build_Market_L1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Query with results sent to sub-template&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;unfrozen_Build_Artifact_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           B.icon                   = icon&lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = BuildingNameDisplay&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Query to fetch Prereqs for a building&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.prereqs__full = &#039;Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|order by = B.prereqs__full = &#039;Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           building_t.description   = description,&lt;br /&gt;
           B.icon                   = icon,&lt;br /&gt;
           B.prereqs__full          = requirements&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|format     = table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Default View&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           &lt;br /&gt;
|fields  = B.id=id,&lt;br /&gt;
           building_t.name,&lt;br /&gt;
           building_t.description,&lt;br /&gt;
           B.faction=faction,&lt;br /&gt;
           B.category=category,&lt;br /&gt;
           B.sid=sid,&lt;br /&gt;
           B.level=level,&lt;br /&gt;
           B.name_sid=name sid,&lt;br /&gt;
           B.desc_sid=desc sid,&lt;br /&gt;
           B.narrative_desc_sid=narrative desc sid,&lt;br /&gt;
           B.icon=icon,&lt;br /&gt;
           B.background_image=background image,&lt;br /&gt;
           B.is_constructed_on_start=is constructed on start,&lt;br /&gt;
           B.level_on_start=level on start,&lt;br /&gt;
           B.scene_slot=scene slot,&lt;br /&gt;
           B.node_pos_x=node pos x,&lt;br /&gt;
           B.node_pos_y=node pos y,&lt;br /&gt;
           B.prereqs__full=prereqs,&lt;br /&gt;
           B.gold_cost=gold cost,&lt;br /&gt;
           B.wood_cost=wood cost,&lt;br /&gt;
           B.ore_cost=ore cost,&lt;br /&gt;
           B.crystals_cost=crystals cost,&lt;br /&gt;
           B.gemstones_cost=gemstones cost,&lt;br /&gt;
           B.mercury_cost=mercury cost,&lt;br /&gt;
           B.dust_cost=dust cost,&lt;br /&gt;
           B.graal_cost=graal cost,&lt;br /&gt;
           B.units_hire_sid=units hire sid,&lt;br /&gt;
           B.units_weekly=units weekly,&lt;br /&gt;
           B.source_path=source path&lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Hero=H, HeroClass=HC, Faction=F,&lt;br /&gt;
           Translation=hero_t, Translation=hero_en, Translation=motto_t&lt;br /&gt;
|join on = H.class_id = HC.id,&lt;br /&gt;
           H.faction  = F.id,&lt;br /&gt;
           H.id       = hero_t.target_id,&lt;br /&gt;
           H.id       = hero_en.target_id,&lt;br /&gt;
           H.id       = motto_t.target_id&lt;br /&gt;
|where   = H.id = &#039;demon_hero_4&#039;&lt;br /&gt;
           AND hero_t.type    = &#039;hero&#039;       AND hero_t.language    = &#039;{{{lang|en}}}&#039;&lt;br /&gt;
           AND hero_en.type   = &#039;hero&#039;       AND hero_en.language   = &#039;en&#039;&lt;br /&gt;
           AND motto_t.type   = &#039;hero_motto&#039; AND motto_t.language   = &#039;{{{lang|en}}}&#039;&lt;br /&gt;
|fields  = H.id                                      = id,&lt;br /&gt;
           hero_t.language                           = lang,&lt;br /&gt;
           hero_t.name                               = name,&lt;br /&gt;
           CONCAT(hero_en.name,&#039;.png&#039;)               = portrait,&lt;br /&gt;
           motto_t.description                       = motto,&lt;br /&gt;
           hero_t.description                        = biography,&lt;br /&gt;
           H.class_id                                = class,&lt;br /&gt;
           H.faction                                 = faction,&lt;br /&gt;
           COALESCE(H.offence, HC.offence)           = startattack,&lt;br /&gt;
           COALESCE(H.defence, HC.defence)           = startdefense,&lt;br /&gt;
           COALESCE(H.spell_power, HC.spell_power)   = startspellpower,&lt;br /&gt;
           COALESCE(H.intelligence, HC.intelligence) = startknowledge&lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}} --&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21270</id>
		<title>Template:FactionBuilding/base</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21270"/>
		<updated>2026-06-01T00:15:09Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;width:350px;margin-right:15px;&amp;quot;&amp;gt;&lt;br /&gt;
{|class=infobox style=&amp;quot;border-collapse: collapse; border: 1px solid #BCB096;&amp;quot;&lt;br /&gt;
|-style=&#039;background-color:#1E3758;text-align:left;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
| style=&#039;text-align:center;object-position:center;padding:15px;width:125px;&#039;| [[File:{{{icon|}}}.png|100px|link=]] || style=&#039;padding:10px;vertical-align:center;&#039; |&amp;lt;big&amp;gt;&amp;lt;b&amp;gt;{{{name}}}&amp;lt;/b&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
|-style=&#039;background-color:#156E7E;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
|colspan=2; style=&amp;quot;padding:4px;color:white;&amp;quot;|Requirements:  {{#if: {{{prereqs}}}| {{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;dungeon&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;{{{prereqs}}}&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = building_t.name          = name&lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = PrereqFetcher&lt;br /&gt;
|named args = yes}} |None.}}&lt;br /&gt;
|-style=&#039;text-align:center;&#039; &lt;br /&gt;
|style=&amp;quot;border-right:1px solid #BCB096;padding:4px 0px 4px 0px;&amp;quot;|Cost&lt;br /&gt;
|style=&amp;quot;padding:4px 0px 4px 0px;width:350px;&amp;quot;|Effect&lt;br /&gt;
|-style=&amp;quot;border-bottom: 1px solid #BCB096;height:auto;vertical-align:top;&amp;quot;&lt;br /&gt;
| style=&amp;quot;padding:10px;color:white;text-align:center;border-right:1px solid #BCB096;&amp;quot;|{{#if: {{{gold|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gold|}}} {{gold}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{wood|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{wood|}}} {{wood}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{ore|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{ore|}}} {{ore}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{gems|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gems|}}} {{gems}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{crystals|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{crystals|}}} {{crystals}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{mercury|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{mercury|}}} {{mercury}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{dust|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{dust|}}} {{dust}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{grail|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{grail|}}} {{graal}}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding:10px;&amp;quot;|&amp;lt;span style=&amp;quot;color: white;&amp;quot;&amp;gt;{{{description|}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
{{#if: {{{note}}}|&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; &amp;lt;i&amp;gt;{{{note}}}&amp;lt;/i&amp;gt;}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Table templates]]&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- {{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:Testpage&amp;diff=21269</id>
		<title>Template:Testpage</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:Testpage&amp;diff=21269"/>
		<updated>2026-06-01T00:14:54Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
&amp;lt;!-- |faction = dungeon --&amp;gt;&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           &lt;br /&gt;
|fields  = B.id                     =id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           building_t.description   = description,&lt;br /&gt;
           B.faction                =faction,&lt;br /&gt;
           B.icon                   =icon,&lt;br /&gt;
           B.prereqs__full          =prereqs,&lt;br /&gt;
           B.gold_cost              =gold cost,&lt;br /&gt;
           B.wood_cost              =wood cost,&lt;br /&gt;
           B.ore_cost               =ore cost,&lt;br /&gt;
           B.crystals_cost          =crystals cost,&lt;br /&gt;
           B.gemstones_cost         =gemstones cost,&lt;br /&gt;
           B.mercury_cost           =mercury cost,&lt;br /&gt;
           B.dust_cost              =dust cost,&lt;br /&gt;
           B.graal_cost             =graal cost,&lt;br /&gt;
           B.units_hire_sid         =units hire sid,&lt;br /&gt;
           B.units_weekly           =units weekly,&lt;br /&gt;
           &lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}} --&amp;gt; &amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Test Query&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;unfrozen_Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = building_t.name          = name&lt;br /&gt;
           &lt;br /&gt;
|format     = table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
unfrozen_Build_Market_L1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Query with results sent to sub-template&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;unfrozen_Build_Artifact_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           B.icon                   = icon&lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = BuildingNameDisplay&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Query to fetch Prereqs for a building&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.prereqs__full = &#039;Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|order by = B.prereqs__full = &#039;Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           building_t.description   = description,&lt;br /&gt;
           B.icon                   = icon,&lt;br /&gt;
           B.prereqs__full          = requirements&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|format     = table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Default View&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           &lt;br /&gt;
|fields  = B.id=id,&lt;br /&gt;
           building_t.name,&lt;br /&gt;
           building_t.description,&lt;br /&gt;
           B.faction=faction,&lt;br /&gt;
           B.category=category,&lt;br /&gt;
           B.sid=sid,&lt;br /&gt;
           B.level=level,&lt;br /&gt;
           B.name_sid=name sid,&lt;br /&gt;
           B.desc_sid=desc sid,&lt;br /&gt;
           B.narrative_desc_sid=narrative desc sid,&lt;br /&gt;
           B.icon=icon,&lt;br /&gt;
           B.background_image=background image,&lt;br /&gt;
           B.is_constructed_on_start=is constructed on start,&lt;br /&gt;
           B.level_on_start=level on start,&lt;br /&gt;
           B.scene_slot=scene slot,&lt;br /&gt;
           B.node_pos_x=node pos x,&lt;br /&gt;
           B.node_pos_y=node pos y,&lt;br /&gt;
           B.prereqs__full=prereqs,&lt;br /&gt;
           B.gold_cost=gold cost,&lt;br /&gt;
           B.wood_cost=wood cost,&lt;br /&gt;
           B.ore_cost=ore cost,&lt;br /&gt;
           B.crystals_cost=crystals cost,&lt;br /&gt;
           B.gemstones_cost=gemstones cost,&lt;br /&gt;
           B.mercury_cost=mercury cost,&lt;br /&gt;
           B.dust_cost=dust cost,&lt;br /&gt;
           B.graal_cost=graal cost,&lt;br /&gt;
           B.units_hire_sid=units hire sid,&lt;br /&gt;
           B.units_weekly=units weekly,&lt;br /&gt;
           B.source_path=source path&lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Hero=H, HeroClass=HC, Faction=F,&lt;br /&gt;
           Translation=hero_t, Translation=hero_en, Translation=motto_t&lt;br /&gt;
|join on = H.class_id = HC.id,&lt;br /&gt;
           H.faction  = F.id,&lt;br /&gt;
           H.id       = hero_t.target_id,&lt;br /&gt;
           H.id       = hero_en.target_id,&lt;br /&gt;
           H.id       = motto_t.target_id&lt;br /&gt;
|where   = H.id = &#039;demon_hero_4&#039;&lt;br /&gt;
           AND hero_t.type    = &#039;hero&#039;       AND hero_t.language    = &#039;{{{lang|en}}}&#039;&lt;br /&gt;
           AND hero_en.type   = &#039;hero&#039;       AND hero_en.language   = &#039;en&#039;&lt;br /&gt;
           AND motto_t.type   = &#039;hero_motto&#039; AND motto_t.language   = &#039;{{{lang|en}}}&#039;&lt;br /&gt;
|fields  = H.id                                      = id,&lt;br /&gt;
           hero_t.language                           = lang,&lt;br /&gt;
           hero_t.name                               = name,&lt;br /&gt;
           CONCAT(hero_en.name,&#039;.png&#039;)               = portrait,&lt;br /&gt;
           motto_t.description                       = motto,&lt;br /&gt;
           hero_t.description                        = biography,&lt;br /&gt;
           H.class_id                                = class,&lt;br /&gt;
           H.faction                                 = faction,&lt;br /&gt;
           COALESCE(H.offence, HC.offence)           = startattack,&lt;br /&gt;
           COALESCE(H.defence, HC.defence)           = startdefense,&lt;br /&gt;
           COALESCE(H.spell_power, HC.spell_power)   = startspellpower,&lt;br /&gt;
           COALESCE(H.intelligence, HC.intelligence) = startknowledge&lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}} --&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuildingCargo&amp;diff=21268</id>
		<title>Template:FactionBuildingCargo</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuildingCargo&amp;diff=21268"/>
		<updated>2026-06-01T00:14:49Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- faction: {{{faction}}} 1&lt;br /&gt;
Building ID: {{{bldg_id}}} 2&lt;br /&gt;
note: {{{note}}} 3 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;{{{faction|}}}&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;{{{bldg_id|}}}&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           B.faction                = faction,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           building_t.description   = description,&lt;br /&gt;
           B.icon                   = icon,&lt;br /&gt;
          &amp;lt;!--  CONCAT({{{faction}}}, &#039;_&#039;, B.prereqs__full)               = prereqs, --&amp;gt;&lt;br /&gt;
           B.gold_cost              = gold,&lt;br /&gt;
           B.wood_cost              = wood,&lt;br /&gt;
           B.ore_cost               = ore,&lt;br /&gt;
           B.crystals_cost          = crystals,&lt;br /&gt;
           B.gemstones_cost         = gems,&lt;br /&gt;
           B.mercury_cost           = mercury,&lt;br /&gt;
           B.dust_cost              = dust,&lt;br /&gt;
           B.graal_cost             = graal&lt;br /&gt;
           &lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = FactionBuilding/base&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21267</id>
		<title>Template:FactionBuilding/base</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21267"/>
		<updated>2026-06-01T00:13:32Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;div style=&amp;quot;width:350px;margin-right:15px;&amp;quot;&amp;gt;&lt;br /&gt;
{|class=infobox style=&amp;quot;border-collapse: collapse; border: 1px solid #BCB096;&amp;quot;&lt;br /&gt;
|-style=&#039;background-color:#1E3758;text-align:left;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
| style=&#039;text-align:center;object-position:center;padding:15px;width:125px;&#039;| [[File:{{{icon|}}}.png|100px|link=]] || style=&#039;padding:10px;vertical-align:center;&#039; |&amp;lt;big&amp;gt;&amp;lt;b&amp;gt;{{{name}}}&amp;lt;/b&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
|-style=&#039;background-color:#156E7E;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
|colspan=2; style=&amp;quot;padding:4px;color:white;&amp;quot;|Requirements:  {{#if: {{{prereqs}}}| {{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;dungeon&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;{{{prereqs}}}&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = building_t.name          = name&lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = PrereqFetcher&lt;br /&gt;
|named args = yes}} |None.}}&lt;br /&gt;
|-style=&#039;text-align:center;&#039; &lt;br /&gt;
|style=&amp;quot;border-right:1px solid #BCB096;padding:4px 0px 4px 0px;&amp;quot;|Cost&lt;br /&gt;
|style=&amp;quot;padding:4px 0px 4px 0px;width:350px;&amp;quot;|Effect&lt;br /&gt;
|-style=&amp;quot;border-bottom: 1px solid #BCB096;height:auto;vertical-align:top;&amp;quot;&lt;br /&gt;
| style=&amp;quot;padding:10px;color:white;text-align:center;border-right:1px solid #BCB096;&amp;quot;|{{#if: {{{gold|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gold|}}} {{gold}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{wood|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{wood|}}} {{wood}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{ore|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{ore|}}} {{ore}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{gems|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gems|}}} {{gems}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{crystals|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{crystals|}}} {{crystals}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{mercury|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{mercury|}}} {{mercury}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{dust|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{dust|}}} {{dust}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{grail|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{grail|}}} {{graal}}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding:10px;&amp;quot;|&amp;lt;span style=&amp;quot;color: white;&amp;quot;&amp;gt;{{{description|}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
{{#if: {{{note}}}|&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; &amp;lt;i&amp;gt;{{{note}}}&amp;lt;/i&amp;gt;}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Table templates]]&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- {{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21266</id>
		<title>Template:FactionBuilding/base</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21266"/>
		<updated>2026-06-01T00:13:19Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;div style=&amp;quot;width:350px;margin-right:15px;&amp;quot;&amp;gt;&lt;br /&gt;
{|class=infobox style=&amp;quot;border-collapse: collapse; border: 1px solid #BCB096;&amp;quot;&lt;br /&gt;
|-style=&#039;background-color:#1E3758;text-align:left;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
| style=&#039;text-align:center;object-position:center;padding:15px;width:125px;&#039;| [[File:{{{icon|}}}.png|100px|link=]] || style=&#039;padding:10px;vertical-align:center;&#039; |&amp;lt;big&amp;gt;&amp;lt;b&amp;gt;{{{name}}}&amp;lt;/b&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
|-style=&#039;background-color:#156E7E;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
|colspan=2; style=&amp;quot;padding:4px;color:white;&amp;quot;|Requirements:  {{#if: {{{prereqs}}}| {{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;dungeon&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;{{{prereqs}}}&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = building_t.name          = name&lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = PrereqFetcher&lt;br /&gt;
|named args = yes}} |None.}}&lt;br /&gt;
|-style=&#039;text-align:center;&#039; --&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-right:1px solid #BCB096;padding:4px 0px 4px 0px;&amp;quot;|Cost&lt;br /&gt;
|style=&amp;quot;padding:4px 0px 4px 0px;width:350px;&amp;quot;|Effect&lt;br /&gt;
|-style=&amp;quot;border-bottom: 1px solid #BCB096;height:auto;vertical-align:top;&amp;quot;&lt;br /&gt;
| style=&amp;quot;padding:10px;color:white;text-align:center;border-right:1px solid #BCB096;&amp;quot;|{{#if: {{{gold|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gold|}}} {{gold}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{wood|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{wood|}}} {{wood}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{ore|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{ore|}}} {{ore}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{gems|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gems|}}} {{gems}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{crystals|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{crystals|}}} {{crystals}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{mercury|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{mercury|}}} {{mercury}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{dust|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{dust|}}} {{dust}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{grail|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{grail|}}} {{graal}}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding:10px;&amp;quot;|&amp;lt;span style=&amp;quot;color: white;&amp;quot;&amp;gt;{{{description|}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
{{#if: {{{note}}}|&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; &amp;lt;i&amp;gt;{{{note}}}&amp;lt;/i&amp;gt;}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Table templates]]&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- {{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:Testpage&amp;diff=21265</id>
		<title>Template:Testpage</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:Testpage&amp;diff=21265"/>
		<updated>2026-06-01T00:13:06Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
&amp;lt;!-- |faction = dungeon --&amp;gt;&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           &lt;br /&gt;
|fields  = B.id                     =id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           building_t.description   = description,&lt;br /&gt;
           B.faction                =faction,&lt;br /&gt;
           B.icon                   =icon,&lt;br /&gt;
           B.prereqs__full          =prereqs,&lt;br /&gt;
           B.gold_cost              =gold cost,&lt;br /&gt;
           B.wood_cost              =wood cost,&lt;br /&gt;
           B.ore_cost               =ore cost,&lt;br /&gt;
           B.crystals_cost          =crystals cost,&lt;br /&gt;
           B.gemstones_cost         =gemstones cost,&lt;br /&gt;
           B.mercury_cost           =mercury cost,&lt;br /&gt;
           B.dust_cost              =dust cost,&lt;br /&gt;
           B.graal_cost             =graal cost,&lt;br /&gt;
           B.units_hire_sid         =units hire sid,&lt;br /&gt;
           B.units_weekly           =units weekly,&lt;br /&gt;
           &lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}} --&amp;gt; &amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Test Query&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;unfrozen_Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = building_t.name          = name&lt;br /&gt;
           &lt;br /&gt;
|format     = table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
unfrozen_Build_Market_L1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Query with results sent to sub-template&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;unfrozen_Build_Artifact_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           B.icon                   = icon&lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = BuildingNameDisplay&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Query to fetch Prereqs for a building&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.prereqs__full = &#039;Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|order by = B.prereqs__full = &#039;Build_Market_L1&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           building_t.description   = description,&lt;br /&gt;
           B.icon                   = icon,&lt;br /&gt;
           B.prereqs__full          = requirements&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|format     = table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Default View&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;unfrozen&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           &lt;br /&gt;
|fields  = B.id=id,&lt;br /&gt;
           building_t.name,&lt;br /&gt;
           building_t.description,&lt;br /&gt;
           B.faction=faction,&lt;br /&gt;
           B.category=category,&lt;br /&gt;
           B.sid=sid,&lt;br /&gt;
           B.level=level,&lt;br /&gt;
           B.name_sid=name sid,&lt;br /&gt;
           B.desc_sid=desc sid,&lt;br /&gt;
           B.narrative_desc_sid=narrative desc sid,&lt;br /&gt;
           B.icon=icon,&lt;br /&gt;
           B.background_image=background image,&lt;br /&gt;
           B.is_constructed_on_start=is constructed on start,&lt;br /&gt;
           B.level_on_start=level on start,&lt;br /&gt;
           B.scene_slot=scene slot,&lt;br /&gt;
           B.node_pos_x=node pos x,&lt;br /&gt;
           B.node_pos_y=node pos y,&lt;br /&gt;
           B.prereqs__full=prereqs,&lt;br /&gt;
           B.gold_cost=gold cost,&lt;br /&gt;
           B.wood_cost=wood cost,&lt;br /&gt;
           B.ore_cost=ore cost,&lt;br /&gt;
           B.crystals_cost=crystals cost,&lt;br /&gt;
           B.gemstones_cost=gemstones cost,&lt;br /&gt;
           B.mercury_cost=mercury cost,&lt;br /&gt;
           B.dust_cost=dust cost,&lt;br /&gt;
           B.graal_cost=graal cost,&lt;br /&gt;
           B.units_hire_sid=units hire sid,&lt;br /&gt;
           B.units_weekly=units weekly,&lt;br /&gt;
           B.source_path=source path&lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Hero=H, HeroClass=HC, Faction=F,&lt;br /&gt;
           Translation=hero_t, Translation=hero_en, Translation=motto_t&lt;br /&gt;
|join on = H.class_id = HC.id,&lt;br /&gt;
           H.faction  = F.id,&lt;br /&gt;
           H.id       = hero_t.target_id,&lt;br /&gt;
           H.id       = hero_en.target_id,&lt;br /&gt;
           H.id       = motto_t.target_id&lt;br /&gt;
|where   = H.id = &#039;demon_hero_4&#039;&lt;br /&gt;
           AND hero_t.type    = &#039;hero&#039;       AND hero_t.language    = &#039;{{{lang|en}}}&#039;&lt;br /&gt;
           AND hero_en.type   = &#039;hero&#039;       AND hero_en.language   = &#039;en&#039;&lt;br /&gt;
           AND motto_t.type   = &#039;hero_motto&#039; AND motto_t.language   = &#039;{{{lang|en}}}&#039;&lt;br /&gt;
|fields  = H.id                                      = id,&lt;br /&gt;
           hero_t.language                           = lang,&lt;br /&gt;
           hero_t.name                               = name,&lt;br /&gt;
           CONCAT(hero_en.name,&#039;.png&#039;)               = portrait,&lt;br /&gt;
           motto_t.description                       = motto,&lt;br /&gt;
           hero_t.description                        = biography,&lt;br /&gt;
           H.class_id                                = class,&lt;br /&gt;
           H.faction                                 = faction,&lt;br /&gt;
           COALESCE(H.offence, HC.offence)           = startattack,&lt;br /&gt;
           COALESCE(H.defence, HC.defence)           = startdefense,&lt;br /&gt;
           COALESCE(H.spell_power, HC.spell_power)   = startspellpower,&lt;br /&gt;
           COALESCE(H.intelligence, HC.intelligence) = startknowledge&lt;br /&gt;
|format  = Table&lt;br /&gt;
|named args = yes&lt;br /&gt;
}} --&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21264</id>
		<title>Template:FactionBuilding/base</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21264"/>
		<updated>2026-06-01T00:13:02Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;width:350px;margin-right:15px;&amp;quot;&amp;gt;&lt;br /&gt;
{|class=infobox style=&amp;quot;border-collapse: collapse; border: 1px solid #BCB096;&amp;quot;&lt;br /&gt;
|-style=&#039;background-color:#1E3758;text-align:left;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
| style=&#039;text-align:center;object-position:center;padding:15px;width:125px;&#039;| [[File:{{{icon|}}}.png|100px|link=]] || style=&#039;padding:10px;vertical-align:center;&#039; |&amp;lt;big&amp;gt;&amp;lt;b&amp;gt;{{{name}}}&amp;lt;/b&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
|-style=&#039;background-color:#156E7E;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
|colspan=2; style=&amp;quot;padding:4px;color:white;&amp;quot;|Requirements: &amp;lt;!-- {{#if: {{{prereqs}}}| {{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;dungeon&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;{{{prereqs}}}&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = building_t.name          = name&lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = PrereqFetcher&lt;br /&gt;
|named args = yes}} |None.}}&lt;br /&gt;
|-style=&#039;text-align:center;&#039; --&amp;gt;&lt;br /&gt;
|style=&amp;quot;border-right:1px solid #BCB096;padding:4px 0px 4px 0px;&amp;quot;|Cost&lt;br /&gt;
|style=&amp;quot;padding:4px 0px 4px 0px;width:350px;&amp;quot;|Effect&lt;br /&gt;
|-style=&amp;quot;border-bottom: 1px solid #BCB096;height:auto;vertical-align:top;&amp;quot;&lt;br /&gt;
| style=&amp;quot;padding:10px;color:white;text-align:center;border-right:1px solid #BCB096;&amp;quot;|{{#if: {{{gold|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gold|}}} {{gold}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{wood|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{wood|}}} {{wood}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{ore|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{ore|}}} {{ore}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{gems|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gems|}}} {{gems}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{crystals|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{crystals|}}} {{crystals}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{mercury|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{mercury|}}} {{mercury}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{dust|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{dust|}}} {{dust}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{grail|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{grail|}}} {{graal}}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding:10px;&amp;quot;|&amp;lt;span style=&amp;quot;color: white;&amp;quot;&amp;gt;{{{description|}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
{{#if: {{{note}}}|&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; &amp;lt;i&amp;gt;{{{note}}}&amp;lt;/i&amp;gt;}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Table templates]]&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- {{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21263</id>
		<title>Template:FactionBuilding/base</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21263"/>
		<updated>2026-06-01T00:12:15Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;width:350px;margin-right:15px;&amp;quot;&amp;gt;&lt;br /&gt;
{|class=infobox style=&amp;quot;border-collapse: collapse; border: 1px solid #BCB096;&amp;quot;&lt;br /&gt;
|-style=&#039;background-color:#1E3758;text-align:left;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
| style=&#039;text-align:center;object-position:center;padding:15px;width:125px;&#039;| [[File:{{{icon|}}}.png|100px|link=]] || style=&#039;padding:10px;vertical-align:center;&#039; |&amp;lt;big&amp;gt;&amp;lt;b&amp;gt;{{{name}}}&amp;lt;/b&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
|-style=&#039;background-color:#156E7E;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
|colspan=2; style=&amp;quot;padding:4px;color:white;&amp;quot;|Requirements: {{#if: {{{prereqs}}}| {{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;dungeon&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;{{{prereqs}}}&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = building_t.name          = name&lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = PrereqFetcher&lt;br /&gt;
|named args = yes}} |None.}}&lt;br /&gt;
|-style=&#039;text-align:center;&#039;&lt;br /&gt;
|style=&amp;quot;border-right:1px solid #BCB096;padding:4px 0px 4px 0px;&amp;quot;|Cost&lt;br /&gt;
|style=&amp;quot;padding:4px 0px 4px 0px;width:350px;&amp;quot;|Effect&lt;br /&gt;
|-style=&amp;quot;border-bottom: 1px solid #BCB096;height:auto;vertical-align:top;&amp;quot;&lt;br /&gt;
| style=&amp;quot;padding:10px;color:white;text-align:center;border-right:1px solid #BCB096;&amp;quot;|{{#if: {{{gold|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gold|}}} {{gold}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{wood|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{wood|}}} {{wood}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{ore|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{ore|}}} {{ore}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{gems|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gems|}}} {{gems}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{crystals|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{crystals|}}} {{crystals}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{mercury|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{mercury|}}} {{mercury}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{dust|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{dust|}}} {{dust}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{grail|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{grail|}}} {{graal}}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding:10px;&amp;quot;|&amp;lt;span style=&amp;quot;color: white;&amp;quot;&amp;gt;{{{description|}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
{{#if: {{{note}}}|&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; &amp;lt;i&amp;gt;{{{note}}}&amp;lt;/i&amp;gt;}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Table templates]]&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- {{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21262</id>
		<title>Template:FactionBuilding/base</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuilding/base&amp;diff=21262"/>
		<updated>2026-06-01T00:10:15Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;width:350px;margin-right:15px;&amp;quot;&amp;gt;&lt;br /&gt;
{|class=infobox style=&amp;quot;border-collapse: collapse; border: 1px solid #BCB096;&amp;quot;&lt;br /&gt;
|-style=&#039;background-color:#1E3758;text-align:left;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
| style=&#039;text-align:center;object-position:center;padding:15px;width:125px;&#039;| [[File:{{{icon|}}}.png|100px|link=]] || style=&#039;padding:10px;vertical-align:center;&#039; |&amp;lt;big&amp;gt;&amp;lt;b&amp;gt;{{{name}}}&amp;lt;/b&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
|-style=&#039;background-color:#156E7E;border-bottom: 1px solid #BCB096;&#039;&lt;br /&gt;
|colspan=2; style=&amp;quot;padding:4px;color:white;&amp;quot;|Requirements: {{#if:{{{prereqs}}}| {{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;dungeon&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;{{{prereqs}}}&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = building_t.name          = name&lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = PrereqFetcher&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}|None.}}&lt;br /&gt;
|-style=&#039;text-align:center;&#039;&lt;br /&gt;
|style=&amp;quot;border-right:1px solid #BCB096;padding:4px 0px 4px 0px;&amp;quot;|Cost&lt;br /&gt;
|style=&amp;quot;padding:4px 0px 4px 0px;width:350px;&amp;quot;|Effect&lt;br /&gt;
|-style=&amp;quot;border-bottom: 1px solid #BCB096;height:auto;vertical-align:top;&amp;quot;&lt;br /&gt;
| style=&amp;quot;padding:10px;color:white;text-align:center;border-right:1px solid #BCB096;&amp;quot;|{{#if: {{{gold|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gold|}}} {{gold}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{wood|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{wood|}}} {{wood}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{ore|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{ore|}}} {{ore}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{gems|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{gems|}}} {{gems}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{crystals|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{crystals|}}} {{crystals}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{mercury|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{mercury|}}} {{mercury}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{dust|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{dust|}}} {{dust}}&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;}}{{#if: {{{grail|}}}|&amp;lt;span style=&amp;quot;white-space:nowrap;color:white;&amp;quot;&amp;gt;{{{grail|}}} {{graal}}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
|style=&amp;quot;padding:10px;&amp;quot;|&amp;lt;span style=&amp;quot;color: white;&amp;quot;&amp;gt;{{{description|}}}&amp;lt;/span&amp;gt;&lt;br /&gt;
{{#if: {{{note}}}|&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; &amp;lt;i&amp;gt;{{{note}}}&amp;lt;/i&amp;gt;}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Table templates]]&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- {{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuildingCargo&amp;diff=21261</id>
		<title>Template:FactionBuildingCargo</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuildingCargo&amp;diff=21261"/>
		<updated>2026-06-01T00:06:30Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- faction: {{{faction}}} 1&lt;br /&gt;
Building ID: {{{bldg_id}}} 2&lt;br /&gt;
note: {{{note}}} 3 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;{{{dungeon|}}}&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;{{{bldg_id|}}}&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           B.faction                = faction,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           building_t.description   = description,&lt;br /&gt;
           B.icon                   = icon,&lt;br /&gt;
           CONCAT({{{faction}}}, &#039;_&#039;, B.prereqs__full)               = prereqs,&lt;br /&gt;
           B.gold_cost              = gold,&lt;br /&gt;
           B.wood_cost              = wood,&lt;br /&gt;
           B.ore_cost               = ore,&lt;br /&gt;
           B.crystals_cost          = crystals,&lt;br /&gt;
           B.gemstones_cost         = gems,&lt;br /&gt;
           B.mercury_cost           = mercury,&lt;br /&gt;
           B.dust_cost              = dust,&lt;br /&gt;
           B.graal_cost             = graal&lt;br /&gt;
           &lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = FactionBuilding/base&lt;br /&gt;
|named args = yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Dungeon&amp;diff=21260</id>
		<title>Dungeon</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Dungeon&amp;diff=21260"/>
		<updated>2026-06-01T00:06:00Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: /* Economy Buildings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{outdated}}__NOTOC__&lt;br /&gt;
&lt;br /&gt;
==Native Terrain==&lt;br /&gt;
&lt;br /&gt;
==Heroes==&lt;br /&gt;
&lt;br /&gt;
==Faction Skill==&lt;br /&gt;
Triumvirate&#039;s Strength is the unique faction skill of the Dungeon faction. It is a skill that all Dungeon heroes start with and is unavailable to other hero classes.&lt;br /&gt;
&amp;lt;div class=&amp;quot;oe img center&amp;quot;&amp;gt;[[File:Tristrength.png|300px]]&amp;lt;/div&amp;gt;&lt;br /&gt;
Once per turn, it lets the hero take one of 3 stances which boost specific stats for the hero and their army during a given combat session. The Minotaur Stance boosts Attack, the Dark Elf Stance boosts Defense, and the Dragon Stance boosts Spell Power. These stance bonuses remain in effect until another stance is chosen, allowing one to adapt their strengths and strategy to the current situation in battle.&lt;br /&gt;
&lt;br /&gt;
==Faction Laws==&lt;br /&gt;
&lt;br /&gt;
==Town Buildings, Build Orders==&lt;br /&gt;
&lt;br /&gt;
Gems {{gems}} are a critical resource of the Dungeon faction, and you will need to have a substantial amount of them to build their Tier-VII Creature Dwellings. Hiring these creatures will also incur an additional expenditure of gems along with the normal gold {{gold}} cost as well.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;oe_img_center&amp;quot;&amp;gt;[[File:town dungeon preview.png|800px]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Economy Buildings===&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;margin-bottom:40px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_main_level_2&lt;br /&gt;
|name=Byzantine Palace&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Grants the kingdom 500 Gold, Law points, and Astrology points daily. +1 hero cap.&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_main_level_2&lt;br /&gt;
|name=Byzantine Palace II&lt;br /&gt;
|requirements=Byzantine Palace&lt;br /&gt;
|gold=2,500&lt;br /&gt;
|wood=5&lt;br /&gt;
|ore=5&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Grants the kingdom 750 Gold, Law points, and Astrology points daily. Allows the owner to pick one level-1 economy upgrade.&amp;lt;ul class=&amp;quot;TableWhite&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 1.png|25px]]  Produces 500 more Gold daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 2.png|25px]]  Produces 500 more Law Points daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 3.png|25px]]  Produces 500 more Astrology Points daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_main_level_3&lt;br /&gt;
|name=Byzantine Palace III&lt;br /&gt;
|requirements=Byzantine Palace II&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=10&lt;br /&gt;
|ore=10&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Grants the kingdom 1,000 Gold, Law points, and Astrology points daily. Allows the owner to pick one level-1 economy upgrade.&amp;lt;ul class=&amp;quot;TableWhite&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 1.png|25px]]  Produces 1,000 more Gold daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 2.png|25px]]  Produces 1,000 more Law Points daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;[[File:Main building 3.png|25px]]  Produces 1,000 more Astrology Points daily.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;margin-bottom:40px;&amp;quot;&amp;gt;&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=500&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=5&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Allows the hiring of new heroes.&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_market&lt;br /&gt;
|name=Marketplace&lt;br /&gt;
|requirements=Tavern (Except in Single Hero Mode)&lt;br /&gt;
|gold=500&lt;br /&gt;
|wood=5&lt;br /&gt;
|ore=5&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Allows resources to be traded.&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;margin-bottom:40px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_bank&lt;br /&gt;
|name=Bank&lt;br /&gt;
|requirements=Byzantine Palace II&lt;br /&gt;
|gold=2,500&lt;br /&gt;
|wood=5&lt;br /&gt;
|ore=5&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Produces 1,000 Gold daily.&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Produces 2,000 Gold daily.&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- {{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Resource_Depot_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&amp;lt;!-- {{FactionBuilding&lt;br /&gt;
|icon=g_build_resource_depot&lt;br /&gt;
|name=Resource Depot&lt;br /&gt;
|requirements=Marketplace, Bank&lt;br /&gt;
|gold=2,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Produces 1 Gem daily.&lt;br /&gt;
|note=&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_resource_depot_2&lt;br /&gt;
|name=Alchemic Depot&lt;br /&gt;
|requirements=Resource Depot&lt;br /&gt;
|gold=&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=3&lt;br /&gt;
|crystals=3&lt;br /&gt;
|mercury=3&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Produces 5 Alchemical Dust daily.&lt;br /&gt;
|note=&lt;br /&gt;
}} &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Faction Buildings===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:flex;flex-wrap:wrap;margin-bottom:40px;&amp;quot;&amp;gt;&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_gymnasium&lt;br /&gt;
|name=Gymnasium&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Levels up any visiting hero once.&lt;br /&gt;
|note=Once built, this level-up effect will be applied whenever town is visited by a hero. Since more XP is required to level up the higher your hero level, it is advised to wait to construct this building until later in your play session where it will provide more value to the player.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_lyceum&lt;br /&gt;
|name=Lyceum&lt;br /&gt;
|requirements=Marketplace&lt;br /&gt;
|gold=2,500&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|description=Allows enchanting of magic scrolls so that they grant spells of maximum level.&lt;br /&gt;
|note=This costs resources.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=dungeon_build_spy_network&lt;br /&gt;
|name=Spy Network&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=&lt;br /&gt;
|crystals=&lt;br /&gt;
|mercury=&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=1&lt;br /&gt;
|description=Completely removes the fog of war. This city’s dwellings produce +100% units.&lt;br /&gt;
|note=The Grail is a necessary resource to construct this building. This mythical object / resource can be obtained by defeating an enhanced mirrored copy of your army at the [[Map_Objects|Mirage]].&lt;br /&gt;
}}&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Creature Dwellings / Recruitment===&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed mw-collapsible white-toggle-button&amp;quot;&amp;gt;&lt;br /&gt;
ggg&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Magic-Related Buildings===&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed mw-collapsible white-toggle-button&amp;quot;&amp;gt;&lt;br /&gt;
2222222&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Faction-Related Buildings===&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed mw-collapsible white-toggle-button&amp;quot;&amp;gt;&lt;br /&gt;
2222222&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br&amp;gt; --&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuildingCargo&amp;diff=21259</id>
		<title>Template:FactionBuildingCargo</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Template:FactionBuildingCargo&amp;diff=21259"/>
		<updated>2026-06-01T00:05:48Z</updated>

		<summary type="html">&lt;p&gt;76561198081794631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
faction: {{{faction}}} 1&lt;br /&gt;
Building ID: {{{bldg_id}}} 2&lt;br /&gt;
note: {{{note}}} 3&lt;br /&gt;
&amp;lt;!-- {{#cargo_query:&lt;br /&gt;
 tables  = Building=B,&lt;br /&gt;
           Translation=building_t&lt;br /&gt;
|join on = &lt;br /&gt;
           building_t.target_id = B.id&lt;br /&gt;
|where   = B.faction = &#039;{{{dungeon|}}}&#039;&lt;br /&gt;
           AND building_t.language = &#039;en&#039;&lt;br /&gt;
           AND B.id = &#039;{{{bldg_id|}}}&#039;&lt;br /&gt;
&lt;br /&gt;
|fields  = B.id                     = id,&lt;br /&gt;
           B.faction                = faction,&lt;br /&gt;
           building_t.name          = name,&lt;br /&gt;
           building_t.description   = description,&lt;br /&gt;
           B.icon                   = icon,&lt;br /&gt;
           CONCAT({{{faction}}}, &#039;_&#039;, B.prereqs__full)               = prereqs,&lt;br /&gt;
           B.gold_cost              = gold,&lt;br /&gt;
           B.wood_cost              = wood,&lt;br /&gt;
           B.ore_cost               = ore,&lt;br /&gt;
           B.crystals_cost          = crystals,&lt;br /&gt;
           B.gemstones_cost         = gems,&lt;br /&gt;
           B.mercury_cost           = mercury,&lt;br /&gt;
           B.dust_cost              = dust,&lt;br /&gt;
           B.graal_cost             = graal&lt;br /&gt;
           &lt;br /&gt;
           &lt;br /&gt;
|format     = template&lt;br /&gt;
|template   = FactionBuilding/base&lt;br /&gt;
|named args = yes&lt;br /&gt;
}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{FactionBuildingCargo&lt;br /&gt;
|faction = dungeon&lt;br /&gt;
|bldg_id = dungeon_Build_Artifact_Market_L1&lt;br /&gt;
|note    = Notenotenote&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_treasury&lt;br /&gt;
|name=Treasury&lt;br /&gt;
|requirements=Bank, Fortifications I&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{FactionBuilding&lt;br /&gt;
|icon=g_build_tavern&lt;br /&gt;
|name=Tavern&lt;br /&gt;
|requirements=&lt;br /&gt;
|gold=5,000&lt;br /&gt;
|wood=&lt;br /&gt;
|ore=&lt;br /&gt;
|gems=5&lt;br /&gt;
|crystals=5&lt;br /&gt;
|mercury=5&lt;br /&gt;
|dust=&lt;br /&gt;
|grail=&lt;br /&gt;
|description=Produces 2000 Gold daily.&lt;br /&gt;
|note=Something random test test test&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>76561198081794631</name></author>
	</entry>
</feed>