Template:FactionBuilding/base: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary |
No edit summary |
||
| (11 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
| 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='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: {{#if: {{{prereqs}}}| {{#cargo_query: | |colspan=2; style="padding:4px;color:white;"|Requirements: {{#if: {{{prereqs}}}| {{#cargo_query: | ||
tables = Building=B, | tables = Building=B, | ||
Translation=building_t | Translation=building_t | ||
| Line 20: | Line 20: | ||
|template = PrereqFetcher | |template = PrereqFetcher | ||
|named args = yes}} |None.}} | |named args = yes}} |None.}} | ||
|-style='text-align:center;' | |-style='text-align:center;' | ||
|style="border-right:1px solid #BCB096;padding:4px 0px 4px 0px;"|Cost | |style="border-right:1px solid #BCB096;padding:4px 0px 4px 0px;"|Cost | ||
|style="padding:4px 0px 4px 0px;width:350px;"|Effect | |style="padding:4px 0px 4px 0px;width:350px;"|Effect | ||
| Line 26: | Line 26: | ||
| 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;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> | |style="padding:10px;"|<span style="color: white;">{{{description|}}}</span> | ||
{{#if: {{{note}}}|<b>Note:</b> <i>{{{note}}}</i>}} | {{#if: {{{note|}}}|<b>Note:</b> <i>{{{note}}}</i> | }} | ||
|- | |- | ||
|} | |} | ||


