Difference between revisions of "Template:Facilityinfobox"
Jump to navigation
Jump to search
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div class="infobox" style= "background: #eee; border: 1px solid #aaa; float: | + | <div class="infobox" style= "background: #eee; border: 1px solid #aaa; float: left; margin: 0 1em 1em 0; padding: 1em; width: 400px;"> |
<div class="infobox-title" style= "font-size: 2em; text-align: center;">{{PAGENAME}}</div> | <div class="infobox-title" style= "font-size: 2em; text-align: center;">{{PAGENAME}}</div> | ||
<div class="infobox-image" style= "text-align: center;">[[File:Structure_{{PAGENAME}}.png|300px]]</div> | <div class="infobox-image" style= "text-align: center;">[[File:Structure_{{PAGENAME}}.png|300px]]</div> | ||
Line 10: | Line 10: | ||
{| style="margin:auto; width:100%;" | {| style="margin:auto; width:100%;" | ||
− | | style="width: 1%;" | + | {{#if: {{{BuildCost1|}}} | |
− | + | {{!}} style="width: 1%;" {{!}} [[File:Item_{{{BuildCost1|}}}.png|30px|link={{{BuildCost1|}}}|{{{BuildCost1|}}}]] | |
− | + | {{!}} style="width: 1%; text-align:right; font-weight: bold;" {{!}} {{{BuildCost1Quantity|}}} | |
− | | | + | {{!}} style="width: 98%; text-align:left; font-weight: bold;" {{!}} [[{{{BuildCost1|}}}|{{{BuildCost1|}}}]] |
− | | style="width: 1%" | + | {{!}}- |
− | + | |}} | |
− | + | {{#if: {{{BuildCost2|}}} | | |
− | | | + | {{!}} style="width: 1%" {{!}} [[File:Item_{{{BuildCost2|}}}.png|30px|link={{{BuildCost2|}}}|{{{BuildCost2|}}}]] |
− | | style="width: 1%" | + | {{!}} style="width: 1%; text-align:right; font-weight: bold;" {{!}} {{{BuildCost2Quantity|}}} |
− | + | {{!}} style="width: 98%; text-align:left; font-weight: bold;" {{!}} [[{{{BuildCost2|}}}|{{{BuildCost2|}}}]] | |
− | + | {{!}}- | |
− | | | + | |}} |
− | | style="width: 1%" | + | {{#if: {{{BuildCost3|}}} | |
− | + | {{!}} style="width: 1%" {{!}} [[File:Item_{{{BuildCost3|}}}.png|30px|link={{{BuildCost3|}}}|{{{BuildCost3|}}}]] | |
− | + | {{!}} style="width: 1%; text-align:right; font-weight: bold;" {{!}} {{{BuildCost3Quantity|}}} | |
− | | | + | {{!}} style="width: 98%; text-align:left; font-weight: bold;" {{!}} [[{{{BuildCost3|}}}|{{{BuildCost3|}}}]] |
− | | style="width: 1%" | + | {{!}}- |
− | + | |}} | |
− | + | {{#if: {{{BuildCost4|}}} | | |
− | | | + | {{!}} style="width: 1%" {{!}} [[File:Item_{{{BuildCost4|}}}.png|30px|link={{{BuildCost4|}}}|{{{BuildCost4|}}}]] |
− | {{#if: {{{BuildCost6|}}} | + | {{!}} style="width: 1%; text-align:right; font-weight: bold;" {{!}} {{{BuildCost4Quantity|}}} |
− | + | {{!}} style="width: 98%; text-align:left; font-weight: bold;" {{!}} [[{{{BuildCost4|}}}|{{{BuildCost4|}}}]] | |
− | + | {{!}}- | |
− | + | |}} | |
− | + | {{#if: {{{BuildCost5|}}} | | |
+ | {{!}} style="width: 1%" {{!}} [[File:Item_{{{BuildCost5|}}}.png|30px|link={{{BuildCost5|}}}|{{{BuildCost5|}}}]] | ||
+ | {{!}} style="width: 1%; text-align:right; font-weight: bold;" {{!}} {{{BuildCost5Quantity|}}} | ||
+ | {{!}} style="width: 98%; text-align:left; font-weight: bold;" {{!}} [[{{{BuildCost5|}}}|{{{BuildCost5|}}}]] | ||
+ | {{!}}- | ||
+ | |}} | ||
+ | {{#if: {{{BuildCost6|}}} | | ||
+ | {{!}} style="width: 1%;" {{!}} [[File:Item_{{{BuildCost6|}}}.png|30px|link={{{BuildCost6|}}}|{{{BuildCost6|}}}]] | ||
+ | {{!}} style="width: 1%; text-align:right; font-weight: bold;" {{!}} {{{BuildCost6Quantity|}}} | ||
+ | {{!}} style="width: 98%; text-align:left; font-weight: bold;" {{!}} [[{{{BuildCost6|}}}|{{{BuildCost6|}}}]] | ||
+ | {{!}}- | ||
|}} | |}} | ||
|} | |} | ||
Line 42: | Line 52: | ||
| style="width: 1%; font-size:150%; font-weight: bold" | Comfort | | style="width: 1%; font-size:150%; font-weight: bold" | Comfort | ||
| <hr> | | <hr> | ||
− | |||
|} | |} | ||
Line 60: | Line 69: | ||
{| style="margin:auto; width: 100%" | {| style="margin:auto; width: 100%" | ||
− | | style="width: 1%" | [[File:Icon_Power.png|30px|link=Power|Power Consumption]] | + | | style="width: 1%" | [[File:Icon_Power.png|30px|link=Power|Power Consumption]] |
− | | style="width: | + | | style="width: 99%; text-align:left;" | <b>Consumption: {{{PowerLow|}}}</b> |
− | | style="width: 1%" | + | {{#if: {{{PowerHigh|}}} | |
− | + | {{!}}- | |
+ | {{!}} style="width: 1%" {{!}} [[File:Icon_Power_High.png|30px|link=Power|High Power needed?]] | ||
+ | {{!}} style="width: 99%; text-align:left;" {{!}} <b>Needs high capacity power</b> | ||
+ | |}} | ||
|} | |} | ||