User:Emailformygames/test: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="float: right; border-collapse: collapse; border-top-left-radius: 12px; border-top-right-radius: 12px; border: 1px solid grey; width: 300px; margin: 10px; background: green;"> | <p>Regular Text</p> | ||
<span style="float: left; margin: 4px; padding: 2px;">{{#if:{{{icon|}}}|[[File:{{{icon|}}}|center|54px]]|{{#ifexist: File:{{ConvertName|{{ | <p id="setThisRed">This should be red</p> | ||
<p style="color: black; font-weight: bold; font-size: 14px;">{{ | <p>Regular Text</p> | ||
<!-- | |||
<p style="background: firebrick;">firebrick</p> | |||
<p style="background: peru;">peru</p> | |||
<p style="background: gold;">gold</p> | |||
<p style="background: darkorchid;">darkorchid</p> | |||
<p style="background: orange;">orange</p> | |||
<p style="background: cornflowerblue;">cornflowerblue</p> | |||
<p style="background: green;">green</p> | |||
--> | |||
<!-- | |||
<div style="float: right; border-collapse: collapse; border-top-left-radius: 12px; border-top-right-radius: 12px; border: 1px solid grey; width: 300px; margin: 10px; {{#switch:{{lc:{{{category|}}}}} | |||
| combat = background: firebrick; | |||
| product | |||
| intermediate product = background: cornflowerblue; | |||
| logistic | |||
| logistics = background: gold; | |||
| production = background: orange; | |||
| resource = background: peru; | |||
| technology = background: green; | |||
| #default = background: grey; | |||
}}"> | |||
<span style="float: left; margin: 4px; padding: 2px;">{{#if:{{{icon|}}}|[[File:{{{icon|}}}|center|54px]]|{{#ifexist: File:{{ConvertName|{{#titleparts:{{PAGENAME}}|1}}}}.png|{{#ifeq:{{#rpos:{{#titleparts:{{PAGENAME}}|1}}|(research)}}|-1|[[File:{{ConvertName|{{#titleparts:{{PAGENAME}}|1}}}}.png|center|32px]]|[[File:{{ConvertName|{{#titleparts:{{PAGENAME}}|1}}}}.png|center|54px]]}}|[[File:warning-icon.png|center|54px]]}}}}</span> | |||
<p style="color: black; font-weight: bold; font-size: 14px;">{{#titleparts:{{PAGENAME}}|1}}</p> | |||
<p style="">[[:Category:Technology|Technology]]</p> | <p style="">[[:Category:Technology|Technology]]</p> | ||
<table style=" width: 100%; background: white; font-size: 96%;"> | <table style="width: 100%; background: white; border-collapse: collapse; font-size: 96%;"> | ||
<tr {{#if:{{{ | <tr style="{{#if:{{{description|}}}||display: none;}}"> | ||
<td style="width: 40%; padding-left: 6px;"> | <td colspan=2 style="padding-left: 6px; font-style: italic;">{{{description|}}}</td> | ||
<td style="padding-left: 6px; padding-right: 6px;">{{{ | </tr> | ||
<tr style="border-top: 1px solid lightgrey; {{#if:{{{maxhealth|}}}||display: none;}}"> | |||
<td style="width: 40%; padding-left: 6px;">Max Health</td> | |||
<td style="padding-left: 6px; padding-right: 6px;">{{{maxhealth|}}}</td> | |||
</tr> | |||
<tr style="border-top: 1px solid lightgrey; {{#if:{{{storagesize|}}}||display: none;}}"> | |||
<td style="width: 40%; padding-left: 6px;">Storage Size</td> | |||
<td style="padding-left: 6px; padding-right: 6px;">{{{storagesize|}}}</td> | |||
</tr> | |||
<tr style="border-top: 1px solid lightgrey; {{#if:{{{fuelvalue|}}}||display: none;}}"> | |||
<td style="width: 40%; padding-left: 6px;">Fuel Value</td> | |||
<td style="padding-left: 6px; padding-right: 6px;">{{{fuelvalue|}}}</td> | |||
</tr> | |||
<tr style="border-top: 1px solid lightgrey; {{#if:{{{energyconsumption|}}}||display: none;}}"> | |||
<td style="width: 40%; padding-left: 6px;">Energy Consumption</td> | |||
<td style="padding-left: 6px; padding-right: 6px;">{{{energyconsumption|}}}</td> | |||
</tr> | |||
<tr style="border-top: 1px solid lightgrey; {{#if:{{{wirereach|}}}||display: none;}}"> | |||
<td style="width: 40%; padding-left: 6px;">Wire Reach</td> | |||
<td style="padding-left: 6px; padding-right: 6px;">{{{wirereach|}}}</td> | |||
</tr> | |||
<tr style="border-top: 1px solid lightgrey; {{#if:{{{supplyarea|}}}||display: none;}}"> | |||
<td style="width: 40%; padding-left: 6px;">Supply Area</td> | |||
<td style="padding-left: 6px; padding-right: 6px;">{{{supplyarea|}}}</td> | |||
</tr> | |||
<tr style="border-top: 1px solid lightgrey; {{#if:{{{constructionarea|}}}||display: none;}}"> | |||
<td style="width: 40%; padding-left: 6px;">Construction Area</td> | |||
<td style="padding-left: 6px; padding-right: 6px;">{{{constructionarea|}}}</td> | |||
</tr> | |||
<tr style="border-top: 1px solid lightgrey; {{#if:{{{transmission|}}}||display: none;}}"> | |||
<td style="width: 40%; padding-left: 6px;">Transmission</td> | |||
<td style="padding-left: 6px; padding-right: 6px;">{{{transmission|}}}</td> | |||
</tr> | |||
<tr style="border-top: 1px solid lightgrey; {{#if:{{{robotrechargerate|}}}||display: none;}}"> | |||
<td style="width: 40%; padding-left: 6px;">Robot Recharge Rate</td> | |||
<td style="padding-left: 6px; padding-right: 6px;">{{{robotrechargerate|}}}</td> | |||
</tr> | |||
<tr style="border-top: 1px solid lightgrey; {{#if:{{{internalbufferrechargerate|}}}||display: none;}}"> | |||
<td style="width: 40%; padding-left: 6px;">Internal Buffer Recharge Rate</td> | |||
<td style="padding-left: 6px; padding-right: 6px;">{{{internalbufferrechargerate|}}}</td> | |||
</tr> | |||
<tr style="border-top: 1px solid lightgrey; {{#if:{{{pumpingspeed|}}}||display: none;}}"> | |||
<td style="width: 40%; padding-left: 6px;">Pumping Speed</td> | |||
<td style="padding-left: 6px; padding-right: 6px;">{{{pumpingspeed|}}}</td> | |||
</tr> | |||
<tr style="border-top: 1px solid lightgrey; {{#if:{{{walkingspeed|}}}||display: none;}}"> | |||
<td style="width: 40%; padding-left: 6px;">Walking Speed</td> | |||
<td style="padding-left: 6px; padding-right: 6px;">{{{walkingspeed|}}}</td> | |||
</tr> | |||
<tr style="border-top: 1px solid lightgrey; {{#if:{{{|}}}||display: none;}}"> | |||
<td style="width: 40%; padding-left: 6px;"></td> | |||
<td style="padding-left: 6px; padding-right: 6px;">{{{|}}}</td> | |||
</tr> | |||
<tr style="border-top: 1px solid lightgrey; {{#if:{{{|}}}||display: none;}}"> | |||
<td style="width: 40%; padding-left: 6px;"></td> | |||
<td style="padding-left: 6px; padding-right: 6px;">{{{|}}}</td> | |||
</tr> | |||
<tr style="border-top: 1px solid lightgrey; {{#if:{{{|}}}||display: none;}}"> | |||
<td style="width: 40%; padding-left: 6px;"></td> | |||
<td style="padding-left: 6px; padding-right: 6px;">{{{|}}}</td> | |||
</tr> | |||
<tr style="border-top: 1px solid lightgrey; {{#if:{{{|}}}||display: none;}}"> | |||
<td style="width: 40%; padding-left: 6px;"></td> | |||
<td style="padding-left: 6px; padding-right: 6px;">{{{|}}}</td> | |||
</tr> | |||
<tr style="border-top: 1px solid lightgrey; {{#if:{{{|}}}||display: none;}}"> | |||
<td style="width: 40%; padding-left: 6px;"></td> | |||
<td style="padding-left: 6px; padding-right: 6px;">{{{|}}}</td> | |||
</tr> | </tr> | ||
</table> | </table> | ||
</div><includeonly> | </div><includeonly> | ||
{{#switch:{{lc:{{{category|}}}}} | {{#switch:{{lc:{{{category|}}}}} | ||
| | | combat = [[Category:Combat]] | ||
| | | product | ||
| | | intermediate product = [[Category:Intermediate product]] | ||
| | | logistic | ||
| logistics = [[Category:Logistics]] | |||
| production = [[Category:Production]] | |||
| resource = [[Category:Resource]] | | resource = [[Category:Resource]] | ||
| technology = [[Category:Technology]] | | technology = [[Category:Technology]] | ||
| #default = | | #default = | ||
}}</includeonly><noinclude>{{documentation}}</noinclude> | }}</includeonly><noinclude>{{documentation}}</noinclude> | ||
--> |
Latest revision as of 05:55, 30 August 2016
Regular Text
This should be red
Regular Text