User:Emailformygames/test: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="float: right; border-collapse: collapse; border: 1px solid black; width: 280px; margin: 10px;">
<p>Regular Text</p>
<span style="float: left; background: green; margin: 4px; padding: 2px;">[[File:toolbelt-research.png|center|54px]]</span>
<p id="setThisRed">This should be red</p>
<p style="background: red; color: black; font-weight: bold;">{{BASEPAGENAME}}</p>
<p>Regular Text</p>
<p style="background: yellow;">[[:Category:Technology|Technology]]</p>
 
<table style=" width: 100%;">
 
<tr>
 
<td style="width: 40%;">sample</td>
 
<td style="">sample</td>
 
 
<!--
<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>
<table style="width: 100%; background: white; border-collapse: collapse; font-size: 96%;">
<tr style="{{#if:{{{description|}}}||display: none;}}">
<td colspan=2 style="padding-left: 6px; font-style: italic;">{{{description|}}}</td>
</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>
</div><includeonly>
{{#switch:{{lc:{{{category|}}}}}
| combat    = [[Category:Combat]]
| product
| intermediate product = [[Category:Intermediate product]]
| logistic
| logistics  = [[Category:Logistics]]
| production = [[Category:Production]]
| resource  = [[Category:Resource]]
| technology = [[Category:Technology]]
| #default  =
}}</includeonly><noinclude>{{documentation}}</noinclude>
-->

Latest revision as of 05:55, 30 August 2016

Regular Text

This should be red

Regular Text