Template:FactionBuilding: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary
No edit summary
 
(25 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<!--
{{#cargo_query:
tables  = Building=B,
          Translation=building_t
|join on =
          building_t.target_id = B.id
|where  = B.faction = 'unfrozen'
          AND building_t.language = 'en'
          AND B.id = 'unfrozen_Build_Artifact_Market_L1'


<includeonly>
|fields  = B.id                    = id,
<div style="width:350px; margin:10px;">
          building_t.name          = name,
          building_t.description  = description,
          B.icon                  = icon,
          B.prereqs__full          = prereqs,
          B.gold_cost              = gold,
          B.wood_cost              = wood,
          B.ore_cost              = ore,
          B.crystals_cost          = crystals,
          B.gemstones_cost        = gems,
          B.mercury_cost          = mercury,
          B.dust_cost              = dust,
          B.graal_cost            = graal
         
|format    = template
|template  = FactionBuilding/base
|named args = yes
}}
-->
 
<div style="width:350px;margin-right:15px;">
{|class=infobox style="border-collapse: collapse; border: 1px solid #BCB096;"
{|class=infobox style="border-collapse: collapse; border: 1px solid #BCB096;"
|-style='background-color:#1E3758;text-align:left;border-bottom: 1px solid #BCB096;'
|-style='background-color:#1E3758;text-align:left;border-bottom: 1px solid #BCB096;'
| style='text-align:center;object-position:center;padding:5px;width:100px;'| <span style="display:inline-block; clip-path: inset(6px);">[[File:{{{icon|}}}.png|90px|link={{{name|}}]]</span> || style='padding:10px;vertical-align:center;' |<big><b>{{{name}}}</b></big>
| style='text-align:center;object-position:center;padding:15px;width:125px;'| [[File:{{{icon|}}}.png|100px|link=]] || style='padding:10px;vertical-align:center;' |<big><b>{{{name}}}</b></big>
|-style='background-color:#156E7E;border-bottom: 1px solid #BCB096;'
|-style='background-color:#156E7E;border-bottom: 1px solid #BCB096;'
|colspan=2; style="padding:4px;color:white;"|Requirements: {{{requirements}}}
|colspan=2; style="padding:4px;color:white;"|Requirements: {{#if:{{{requirements}}}|{{{requirements}}}|None.}}
|-style='text-align:center;'
|-style='text-align:center;'
|style="border-right:1px solid #BCB096;border-bottom:1px solid #BCB096;padding:4px 0px 4px 0px;"|Cost
|style="border-right:1px solid #BCB096;padding:4px 0px 4px 0px;"|Cost
|style="border-bottom: 1px solid #BCB096;padding:4px 4px 4px 0px;"|Effect
|style="padding:4px 0px 4px 0px;width:350px;"|Effect
|-style="border-bottom: 1px solid #BCB096;height:auto;vertical-align:top;"
|-style="border-bottom: 1px solid #BCB096;height:auto;vertical-align:top;"
| style="padding:10px;color:white;text-align:center;border-right:1px solid #BCB096;"|{{#if: {{{gold|}}}|<span style="white-space:nowrap;color:white;">{{{gold|}}} {{gold}}</span>}}{{#if: {{{wood|}}}|<br><span style="white-space:nowrap;color:white;">{{{wood|}}} {{wood}}}}</span>{{#if: {{{ore|}}}|<br><span style="white-space:nowrap;color:white;">{{{ore|}}} {{ore}}}}</span>{{#if: {{{gems|}}}|<br><span style="white-space:nowrap;color:white;">{{{gems|}}} {{gems}}}}</span>{{#if: {{{crystals|}}}|<br><span style="white-space:nowrap;color:white;">{{{crystals|}}} {{crystals}}}}</span>{{#if: {{{mercury|}}}|<br><span style="white-space:nowrap;color:white;">{{{mercury|}}} {{mercury}}}}</span>{{#if: {{{dust|}}}|<br><span style="white-space:nowrap;color:white;">{{{dust|}}} {{dust}}}}</span>
| style="padding:10px;color:white;text-align:center;border-right:1px solid #BCB096;"|{{#if: {{{gold|}}}|<span style="white-space:nowrap;color:white;">{{{gold|}}} {{gold}}<br></span>}}{{#if: {{{wood|}}}|<span style="white-space:nowrap;color:white;">{{{wood|}}} {{wood}}<br></span>}}{{#if: {{{ore|}}}|<span style="white-space:nowrap;color:white;">{{{ore|}}} {{ore}}<br></span>}}{{#if: {{{gems|}}}|<span style="white-space:nowrap;color:white;">{{{gems|}}} {{gems}}<br></span>}}{{#if: {{{crystals|}}}|<span style="white-space:nowrap;color:white;">{{{crystals|}}} {{crystals}}<br></span>}}{{#if: {{{mercury|}}}|<span style="white-space:nowrap;color:white;">{{{mercury|}}} {{mercury}}<br></span>}}{{#if: {{{dust|}}}|<span style="white-space:nowrap;color:white;">{{{dust|}}} {{dust}}<br></span>}}{{#if: {{{grail|}}}|<span style="white-space:nowrap;color:white;">{{{grail|}}} {{graal}}}}</span>
|style="padding:10px;"|<span style="color: white;">{{{description|}}}
|style="padding:10px;"|<span style="color: white;">{{{description|}}}</span>
</span>
{{#if: {{{note}}}|<b>Note:</b> <i>{{{note}}}</i>}}
|-
|-
|}
|}
</div>
</div>


{{#if: {{{wood|}}}|yes}}
 
<!--
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
<div style="width:350px;margin-right:15px;">
{|class=infobox style="border-collapse: collapse; border: 1px solid #BCB096;"
|-style='background-color:#1E3758;text-align:left;border-bottom: 1px solid #BCB096;'
| style='text-align:center;object-position:center;padding:15px;width:125px;'| [[File:{{{icon|}}}.png|100px|link=]] || style='padding:10px;vertical-align:center;' |<big><b>{{{name}}}</b></big>
|-style='background-color:#156E7E;border-bottom: 1px solid #BCB096;'
|colspan=2; style="padding:4px;color:white;"|Requirements: {{#if:{{{requirements}}}|{{{requirements}}}|None.}}
|-style='text-align:center;'
|style="border-right:1px solid #BCB096;padding:4px 0px 4px 0px;"|Cost
|style="padding:4px 0px 4px 0px;width:350px;"|Effect
|-style="border-bottom: 1px solid #BCB096;height:auto;vertical-align:top;"
| style="padding:10px;color:white;text-align:center;border-right:1px solid #BCB096;"|{{#if: {{{gold|}}}|<span style="white-space:nowrap;color:white;">{{{gold|}}} {{gold}}<br></span>}}{{#if: {{{wood|}}}|<span style="white-space:nowrap;color:white;">{{{wood|}}} {{wood}}<br></span>}}{{#if: {{{ore|}}}|<span style="white-space:nowrap;color:white;">{{{ore|}}} {{ore}}<br></span>}}{{#if: {{{gems|}}}|<span style="white-space:nowrap;color:white;">{{{gems|}}} {{gems}}<br></span>}}{{#if: {{{crystals|}}}|<span style="white-space:nowrap;color:white;">{{{crystals|}}} {{crystals}}<br></span>}}{{#if: {{{mercury|}}}|<span style="white-space:nowrap;color:white;">{{{mercury|}}} {{mercury}}<br></span>}}{{#if: {{{dust|}}}|<span style="white-space:nowrap;color:white;">{{{dust|}}} {{dust}}<br></span>}}{{#if: {{{grail|}}}|<span style="white-space:nowrap;color:white;">{{{grail|}}} {{graal}}}}</span>
|style="padding:10px;"|<span style="color: white;">{{{description|}}}</span>
{{#if: {{{note}}}|<b>Note:</b> <i>{{{note}}}</i>}}
|-
|}
</div> -->
 
</includeonly><noinclude>
</includeonly><noinclude>
[[Category:Table templates]]
[[Category:Table templates]]
{{FactionBuilding
{{FactionBuilding
|icon=g_build_treasury
|icon=g_build_treasury
Line 31: Line 96:
|crystals=5
|crystals=5
|mercury=5
|mercury=5
|dust=3
|dust=
|grail=
|description=Produces 2000 Gold daily.
|description=Produces 2000 Gold daily.
|note=Something random test test test
}}
}}


{{FactionBuilding
|icon=g_build_tavern
|name=Tavern
|requirements=
|gold=5,000
|wood=
|ore=
|gems=5
|crystals=5
|mercury=5
|dust=
|grail=
|description=Produces 2000 Gold daily.
|note=Something random test test test
}}


</noinclude>





Latest revision as of 03:21, 30 May 2026



Treasury
Requirements: Bank, Fortifications I
Cost Effect
5,000 Gold
5 Gems
5 Crystals
5 Mercury
Produces 2000 Gold daily.

Note: Something random test test test








Tavern
Requirements: None.
Cost Effect
5,000 Gold
5 Gems
5 Crystals
5 Mercury
Produces 2000 Gold daily.

Note: Something random test test test