Difference between revisions of "Template:CargoShipinfobox"

From Space Engineers Wiki
Jump to: navigation, search
(+bolded text to make it stand out more, I do not seem to be able to properly align the rest of the infobox with different sized images. Will try to improve this later.)
Line 11: Line 11:
 
{{#if: {{{class|}}} |
 
{{#if: {{{class|}}} |
 
<div style="width:100%;position:relative;height:25px;padding:2px;">
 
<div style="width:100%;position:relative;height:25px;padding:2px;">
<div style="float:left;color:black;font-size:1em;">{{CargoShipinfobox/class{{lang}}}}:</div>
+
<div style="float:left;color:black;font-size:1em;">'''{{CargoShipinfobox/class{{lang}}}}:'''</div>
 
<div style="float:right;color:black;font-size:1em;">{{{class|}}}</div>
 
<div style="float:right;color:black;font-size:1em;">{{{class|}}}</div>
 
</div>|}}
 
</div>|}}
 
{{#if: {{{mass|}}} |
 
{{#if: {{{mass|}}} |
 
<div style="width:100%;position:relative;height:25px;padding:2px;">
 
<div style="width:100%;position:relative;height:25px;padding:2px;">
<div style="float:left;color:black;font-size:1em;">{{CargoShipinfobox/mass{{lang}}}}:</div>
+
<div style="float:left;color:black;font-size:1em;">'''{{CargoShipinfobox/mass{{lang}}}}:'''</div>
 
<div style="float:right;color:black;font-size:1em;">{{{mass}}} kg</div>
 
<div style="float:right;color:black;font-size:1em;">{{{mass}}} kg</div>
 
</div>|}}
 
</div>|}}
 
{{#if: {{{speed|}}} |
 
{{#if: {{{speed|}}} |
 
<div style="width:100%;position:relative;height:25px;padding:2px;">
 
<div style="width:100%;position:relative;height:25px;padding:2px;">
<div style="float:left;color:black;font-size:1em;">{{CargoShipinfobox/speed{{lang}}}}:</div>
+
<div style="float:left;color:black;font-size:1em;">'''{{CargoShipinfobox/speed{{lang}}}}:'''</div>
 
<div style="float:right;color:black;font-size:1em;">{{{speed}}} m/s</div>
 
<div style="float:right;color:black;font-size:1em;">{{{speed}}} m/s</div>
 
</div>|}}
 
</div>|}}
 
{{#if: {{{boobytrap|}}} |
 
{{#if: {{{boobytrap|}}} |
 
<div style="width:100%;position:relative;height:25px;padding:2px;">
 
<div style="width:100%;position:relative;height:25px;padding:2px;">
<div style="float:left;color:black;font-size:1em;">{{CargoShipinfobox/Boobytrapped{{lang}}}}:</div>
+
<div style="float:left;color:black;font-size:1em;">'''{{CargoShipinfobox/Boobytrapped{{lang}}}}:'''</div>
 
<div style="float:right;color:black;font-size:1em;">{{{boobytrap}}}</div>
 
<div style="float:right;color:black;font-size:1em;">{{{boobytrap}}}</div>
 
</div>|}}
 
</div>|}}
 
{{#if: {{{directfireweapons|}}} |
 
{{#if: {{{directfireweapons|}}} |
 
<div style="width:100%;position:relative;height:25px;padding:2px;">
 
<div style="width:100%;position:relative;height:25px;padding:2px;">
<div style="float:left;color:black;font-size:1em;">{{CargoShipinfobox/directfireweapons{{lang}}}}:</div>
+
<div style="float:left;color:black;font-size:1em;">'''{{CargoShipinfobox/directfireweapons{{lang}}}}:'''</div>
 
<div style="float:right;color:black;font-size:1em;">{{{directfireweapons}}}</div>
 
<div style="float:right;color:black;font-size:1em;">{{{directfireweapons}}}</div>
 
</div>|}}
 
</div>|}}
 
{{#if: {{{exteriordefense|}}} |
 
{{#if: {{{exteriordefense|}}} |
 
<div style="width:100%;position:relative;height:25px;padding:2px;">
 
<div style="width:100%;position:relative;height:25px;padding:2px;">
<div style="float:left;color:black;font-size:1em;">{{CargoShipinfobox/exteriordefense{{lang}}}}:</div>
+
<div style="float:left;color:black;font-size:1em;">'''{{CargoShipinfobox/exteriordefense{{lang}}}}:'''</div>
 
<div style="float:right;color:black;font-size:1em;">{{{exteriordefense}}}</div>
 
<div style="float:right;color:black;font-size:1em;">{{{exteriordefense}}}</div>
 
</div>|}}
 
</div>|}}
 
{{#if: {{{interiordefense|}}} |
 
{{#if: {{{interiordefense|}}} |
 
<div style="width:100%;position:relative;height:25px;padding:2px;">
 
<div style="width:100%;position:relative;height:25px;padding:2px;">
<div style="float:left;color:black;font-size:1em;">{{CargoShipinfobox/interiordefense{{lang}}}}:</div>
+
<div style="float:left;color:black;font-size:1em;">'''{{CargoShipinfobox/interiordefense{{lang}}}}:'''</div>
 
<div style="float:right;color:black;font-size:1em;">{{{interiordefense}}}</div>
 
<div style="float:right;color:black;font-size:1em;">{{{interiordefense}}}</div>
 
</div>|}}
 
</div>|}}
 
{{#if: {{{shipsize|}}} |
 
{{#if: {{{shipsize|}}} |
 
<div style="width:100%;position:relative;height:25px;padding:2px;">
 
<div style="width:100%;position:relative;height:25px;padding:2px;">
<div style="float:left;color:black;font-size:1em;">{{CargoShipinfobox/Ship size{{lang}}}}:</div>
+
<div style="float:left;color:black;font-size:1em;">'''{{CargoShipinfobox/Ship size{{lang}}}}:'''</div>
 
<div style="float:right;color:black;font-size:1em;">{{{shipsize}}}</div>
 
<div style="float:right;color:black;font-size:1em;">{{{shipsize}}}</div>
 
</div>
 
</div>

Revision as of 10:24, 11 November 2015

Cargo Ship

No Name




For cargo ship pages. Usage:

{{CargoShipinfobox
| name = name of ship
| class = class of ship (first word of name usually)
| mass = mass of ship
| speed = speed of ship
| boobytrap = is the ship booby-trapped with warheads? Yes/No
| directfireweapons = number of directly fired weapons (gatling gun, rocket launchers)
| exteriordefense = number of exterior defenses (gatling, interior, missile)
| interiordefense = number of interior defenses (gatling, interior, missile)
| shipsize = large
}}