Template:FactionBuilding: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><templatestyles src="Template:FactionBuilding/styles.css" />
<includeonly>
<div style="width:350px;
 
margin:10px;
<div style="width:350px;margin-right:10px;display:flex;flex-wrap:wrap;">
display:flex;
{|class=infobox style="border-collapse: collapse; border: 1px solid #BCB096;"
flex-wrap:wrap;
list-style:none;
display: flex;
color:red;">
{|class=infobox FactionBox 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:5px;width:100px;'| [[File:{{{icon|}}}.png|90px|link={{{name|}}]] || 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: {{{requirements}}}
Line 17: Line 12:
|-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}}</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;"|<span style="color: white;">{{{description|}}}
|style="padding:10px;"|<span style="color: white;">{{{description|}}}</span>
</span>
|-
|}
|}
</div>
</div>  
 


</includeonly><noinclude>
</includeonly><noinclude>
[[Category:Table templates]]
[[Category:Table templates]]
{{FactionBuilding
{{FactionBuilding
|icon=g_build_treasury
|icon=g_build_treasury
Line 39: Line 32:
|description=Produces 2000 Gold daily.
|description=Produces 2000 Gold daily.
}}
}}
{{FactionBuilding
 
|icon=g_build_treasury
|name=Treasury
|requirements=Bank, Fortifications I
|gold=5,000
|wood=
|ore=
|gems=5
|crystals=5
|mercury=5
|dust=
|description=Produces 2000 Gold daily.
}}
{{FactionBuilding
{{FactionBuilding
|icon=g_build_treasury
|icon=g_build_treasury

Revision as of 02:56, 26 May 2026



link={Template:Name Treasury
Requirements: Bank, Fortifications I
Cost Effect
5,000 Gold
5 Gems
5 Crystals
5 Mercury
Produces 2000 Gold daily.







link={Template:Name Treasury
Requirements: Bank, Fortifications I
Cost Effect
5,000 Gold
5 Gems
5 Crystals
5 Mercury
Produces 2000 Gold daily.