Difference between revisions of "Template:Componentbox"
From Space Engineers Wiki
SpartanEcho (talk | contribs) |
|||
Line 1: | Line 1: | ||
<div style="position:relative;width:350px;float:right"> | <div style="position:relative;width:350px;float:right"> | ||
<div style="background:#486d82;padding:0.25em;text-align:center;"> | <div style="background:#486d82;padding:0.25em;text-align:center;"> | ||
− | <div style="color:white;font-size:2em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);font-family: | + | <div style="color:white;font-size:2em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);font-family:Arial;height:30px;position:relative"> |
<div style="float:left;">{{icon|{{#switch: {{NAMESPACE}} |Mod|Faction|User={{NAMESPACE}}_{{#titleparts:{{PAGENAME}}|1}}_|#default=|}}{{{item|No Image}}}|medium}}</div><div style="float:right">{{icon|{{#switch: {{{type|l}}} | <div style="float:left;">{{icon|{{#switch: {{NAMESPACE}} |Mod|Faction|User={{NAMESPACE}}_{{#titleparts:{{PAGENAME}}|1}}_|#default=|}}{{{item|No Image}}}|medium}}</div><div style="float:right">{{icon|{{#switch: {{{type|l}}} | ||
| l = Large Ship | | l = Large Ship | ||
Line 21: | Line 21: | ||
<div style="background:#659bb7;width:100%;height:3px;position:relative;"> </div> | <div style="background:#659bb7;width:100%;height:3px;position:relative;"> </div> | ||
{{#switch:{{{type|}}}|m|r|#default= | {{#switch:{{{type|}}}|m|r|#default= | ||
− | <div style="float:left;padding:5px;color:white;font-size:1.2em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);font-family: | + | <div style="float:left;padding:5px;color:white;font-size:1.2em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);font-family:Arial;">{{Componentbox/Components{{lang}}}}</div><div style="float:right;padding:5px;color:white;font-size:1.2em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);font-family:Arial;">{{Componentbox/Required{{lang}}}}</div>}} |
| | ||
</div> | </div> | ||
Line 28: | Line 28: | ||
{{componentbox/itemrow|{{{component9|}}}|{{{component9amt|0}}}}}<div style="background:#659bb7;width:100%;height:3px;text-align:center;margin-top:2px;position:relative"> </div><!--End components display--> | {{componentbox/itemrow|{{{component9|}}}|{{{component9amt|0}}}}}<div style="background:#659bb7;width:100%;height:3px;text-align:center;margin-top:2px;position:relative"> </div><!--End components display--> | ||
<!--start stats--> | <!--start stats--> | ||
− | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family: | + | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Mass{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{mass|0}}}</div></div>{{#if: {{{volume|}}} | |
− | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family: | + | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Volume{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{volume|0}}} l</div></div>|}}{{#if: {{{refinetime|}}} | |
− | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family: | + | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Refine time{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{refinetime|0}}}</div></div> |
|}}{{#if: {{{capacity|}}} | | |}}{{#if: {{{capacity|}}} | | ||
− | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family: | + | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Capacity{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{capacity|}}}</div></div> |
|}}{{#if: {{{refineefficiecy|}}} | | |}}{{#if: {{{refineefficiecy|}}} | | ||
− | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family: | + | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Refine efficiency{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{refineefficiecy|0}}}</div></div> |
|}}{{#if: {{{refinefrom|}}} | | |}}{{#if: {{{refinefrom|}}} | | ||
− | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family: | + | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Refine from{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">[[{{{refinefrom|}}}{{lang}}|{{translate|{{{refinefrom|}}}}}]]</div></div> |
|}}{{#if: {{{buildtime|}}} | | |}}{{#if: {{{buildtime|}}} | | ||
− | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family: | + | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Build time (seconds){{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{buildtime|0}}}</div></div> |
|}}{{#if: {{{disassembleratio|}}} | | |}}{{#if: {{{disassembleratio|}}} | | ||
− | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family: | + | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Disassemble Ratio{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{disassembleratio|0}}}</div></div> |
|}}{{#if: {{{deformationratio|}}} | | |}}{{#if: {{{deformationratio|}}} | | ||
− | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family: | + | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Deformation Ratio{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{deformationratio|0}}}</div></div> |
|}}{{#if: {{{refinespeed|}}} | | |}}{{#if: {{{refinespeed|}}} | | ||
− | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family: | + | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Refine Speed{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{refinespeed|0}}}</div></div> |
|}}{{#if: {{{materialefficiency|}}} | | |}}{{#if: {{{materialefficiency|}}} | | ||
− | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family: | + | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Material Efficiency{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{materialefficiency|0}}}</div></div> |
|}}{{#if: {{{powerconsumption|}}} | | |}}{{#if: {{{powerconsumption|}}} | | ||
− | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family: | + | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Active Power Consumption{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{powerconsumption|0}}}</div></div> |
|}}{{#if: {{{powerstandby|}}} | | |}}{{#if: {{{powerstandby|}}} | | ||
− | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family: | + | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Idle Power Consumption{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{powerstandby|0}}}</div></div> |
|}}{{#if: {{{integrity|}}} | | |}}{{#if: {{{integrity|}}} | | ||
− | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family: | + | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Integrity{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{integrity|0}}}</div></div> |
|}}{{#if: {{{maxpoweroutput|}}} | | |}}{{#if: {{{maxpoweroutput|}}} | | ||
− | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family: | + | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Max power output{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{maxpoweroutput|0}}}</div></div> |
|}}{{#if: {{{movementcoefficient|}}} | | |}}{{#if: {{{movementcoefficient|}}} | | ||
− | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family: | + | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Movement coefficient{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{movementcoefficient|0}}}</div></div> |
|}}{{#if: {{{forcemagnitude|}}} | | |}}{{#if: {{{forcemagnitude|}}} | | ||
− | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family: | + | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Force magnitude{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{forcemagnitude|0}}}</div></div> |
|}}{{#if: {{{virtualmass|}}} | | |}}{{#if: {{{virtualmass|}}} | | ||
− | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family: | + | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Virtual Mass{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{virtualmass|0}}}</div></div> |
|}}{{#if: {{{height|}}} | | |}}{{#if: {{{height|}}} | | ||
− | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family: | + | <div style="width:100%;position:relative;height:25px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Dimensions{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{height|0}}} x {{{width|0}}} x {{{depth|0}}}</div></div> |
|}}<!--end stats--></div> | |}}<!--end stats--></div> | ||
</div>{{#if: {{NAMESPACE}} | | {{#if: {{{nocat|}}} | |<includeonly>[[Category:{{#switch: {{{type|l}}} | </div>{{#if: {{NAMESPACE}} | | {{#if: {{{nocat|}}} | |<includeonly>[[Category:{{#switch: {{{type|l}}} |