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> | <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 | |||
{|class=infobox | |||
|-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;'| | | 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 | {{FactionBuilding | ||
|icon=g_build_treasury | |icon=g_build_treasury | ||


