Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:ShipInfobox: Difference between revisions

Template page
finished formatting
more formatting, still wip
Line 1: Line 1:
<div style="width: 22em; font-size: 90%; border: 1px solid #aaa; background-color: #101318; padding: 0.5em; float: right; clear: right; margin: 0 0 1em 1em;">
<div style="width: 22em; font-size: 90%; border: 1px solid #aaa; background-color: #101318; padding: 0.5em; float: right; clear: right; margin: 0 0 1em 1em;">
<table style="width: 100%; border-collapse: collapse;">
<table>
  <colgroup>
    <col style="width: 150px;">
    <col style="width: 300px;">
  </colgroup>
<!--Title Section-->
<!--Title Section-->
   <tr>
   <tr>
Line 15: Line 19:
   |}}
   |}}
   <tr>
   <tr>
     <td style="padding: 0.2em 0.4em;"><b><span style="font-weight: bold;">Description</span></b></td>
     <td style="padding: 0.2em 0.4em;><b><span style="font-weight: bold; font-size: 170%;">Description</span></b></td>
     <td style="padding: 0.2em 0.4em;">{{{Description|}}}</td>
  </tr>
  <tr>
     <td style="padding: 0.2em 0.4em;>{{{Description|Velkar Authority Destroyer}}}</td>
   </tr>
   </tr>
    
    
Line 29: Line 35:
   </tr>
   </tr>
   <tr>
   <tr>
     <td style="padding: 0.2em 0.4em;"><b><span style="font-weight: bold;">Max Turrets</span></b></td>
     <td style="padding: 0.2em 0.4em; border-bottom: 1px solid #aaa;"><b><span style="font-weight: bold;">Max Turrets</span></b></td>
     <td style="padding: 0.2em 0.4em;">{{{MaxTurrets|}}}</td>
     <td style="padding: 0.2em 0.4em;">{{{MaxTurrets|}}}</td>
   </tr>
   </tr>
   <tr>
   <tr>
     <td style="padding: 0.2em 0.4em;"><b><span style="font-weight: bold;">Spinal Barrels</span></b></td>
     <td style="padding: 0.2em 0.4em; border-bottom: 1px solid #aaa;"><b><span style="font-weight: bold;">Spinal Barrels</span></b></td>
     <td style="padding: 0.2em 0.4em;">{{{SpinalBarrels|}}}</td>
     <td style="padding: 0.2em 0.4em;">{{{SpinalBarrels|}}}</td>
   </tr>
   </tr>
Line 47: Line 53:
   </tr>
   </tr>
   <tr>
   <tr>
     <td style="padding: 0.2em 0.4em;"><b><span style="font-weight: bold;">Max Hull</span></b></td>
     <td style="padding: 0.2em 0.4em; border-bottom: 1px solid #aaa;"><b><span style="font-weight: bold;">Max Hull</span></b></td>
     <td style="padding: 0.2em 0.4em;">{{{MaxHull|}}}</td>
     <td style="padding: 0.2em 0.4em;">{{{MaxHull|}}}</td>
   </tr>
   </tr>
   <tr>
   <tr>
     <td style="padding: 0.2em 0.4em;"><b><span style="font-weight: bold;">Max Shield</span></b></td>
     <td style="padding: 0.2em 0.4em; border-bottom: 1px solid #aaa;"><b><span style="font-weight: bold;">Max Shield</span></b></td>
     <td style="padding: 0.2em 0.4em;">{{{MaxShield|}}}</td>
     <td style="padding: 0.2em 0.4em;">{{{MaxShield|}}}</td>
   </tr>
   </tr>
   <tr>
   <tr>
     <td style="padding: 0.2em 0.4em;"><b><span style="font-weight: bold;">Shield Regen</span></b></td>
     <td style="padding: 0.2em 0.4em; border-bottom: 1px solid #aaa;"><b><span style="font-weight: bold;">Shield Regen</span></b></td>
     <td style="padding: 0.2em 0.4em;">{{{ShieldRegen|}}}</td>
     <td style="padding: 0.2em 0.4em;">{{{ShieldRegen|}}}</td>
   </tr>
   </tr>
Line 69: Line 75:
   </tr>
   </tr>
   <tr>
   <tr>
     <td style="padding: 0.2em 0.4em;"><b><span style="font-weight: bold;">Max Speed</span></b></td>
     <td style="padding: 0.2em 0.4em; border-bottom: 1px solid #aaa;"><b><span style="font-weight: bold;">Max Speed</span></b></td>
     <td style="padding: 0.2em 0.4em;">{{{MaxSpeed|}}}</td>
     <td style="padding: 0.2em 0.4em;">{{{MaxSpeed|}}}</td>
   </tr>
   </tr>
   <tr>
   <tr>
     <td style="padding: 0.2em 0.4em;"><b><span style="font-weight: bold;">Acceleration</span></b></td>
     <td style="padding: 0.2em 0.4em; border-bottom: 1px solid #aaa;"><b><span style="font-weight: bold;">Acceleration</span></b></td>
     <td style="padding: 0.2em 0.4em;">{{{Acceleration|}}}</td>
     <td style="padding: 0.2em 0.4em;">{{{Acceleration|}}}</td>
   </tr>
   </tr>
   <tr>
   <tr>
     <td style="padding: 0.2em 0.4em;"><b><span style="font-weight: bold;">Turn Speed</span></b></td>
     <td style="padding: 0.2em 0.4em; border-bottom: 1px solid #aaa;"><b><span style="font-weight: bold;">Turn Speed</span></b></td>
     <td style="padding: 0.2em 0.4em;">{{{TurnSpeed|}}}</td>
     <td style="padding: 0.2em 0.4em;">{{{TurnSpeed|}}}</td>
   </tr>
   </tr>
Line 91: Line 97:
   </tr>
   </tr>
   <tr>
   <tr>
     <td style="padding: 0.2em 0.4em;"><b><span style="font-weight: bold;">Max Energy</span></b></td>
     <td style="padding: 0.2em 0.4em; border-bottom: 1px solid #aaa;"><b><span style="font-weight: bold;">Max Energy</span></b></td>
     <td style="padding: 0.2em 0.4em;">{{{MaxEnergy|}}}</td>
     <td style="padding: 0.2em 0.4em;">{{{MaxEnergy|}}}</td>
   </tr>
   </tr>
   <tr>
   <tr>
     <td style="padding: 0.2em 0.4em;"><b><span style="font-weight: bold;">Energy Regen</span></b></td>
     <td style="padding: 0.2em 0.4em; border-bottom: 1px solid #aaa;"><b><span style="font-weight: bold;">Energy Regen</span></b></td>
     <td style="padding: 0.2em 0.4em;">{{{EnergyRegen|}}}</td>
     <td style="padding: 0.2em 0.4em;">{{{EnergyRegen|}}}</td>
   </tr>
   </tr>
   <tr>
   <tr>
     <td style="padding: 0.2em 0.4em;"><b><span style="font-weight: bold;">Max Cargo</span></b></td>
     <td style="padding: 0.2em 0.4em; border-bottom: 1px solid #aaa;"><b><span style="font-weight: bold;">Max Cargo</span></b></td>
     <td style="padding: 0.2em 0.4em;">{{{MaxCargo|}}}</td>
     <td style="padding: 0.2em 0.4em;">{{{MaxCargo|}}}</td>
   </tr>
   </tr>
   <tr>
   <tr>
     <td style="padding: 0.2em 0.4em;"><b><span style="font-weight: bold;">Warp Strength</span></b></td>
     <td style="padding: 0.2em 0.4em; border-bottom: 1px solid #aaa;"><b><span style="font-weight: bold;">Warp Strength</span></b></td>
     <td style="padding: 0.2em 0.4em;">{{{WarpStrength|}}}</td>
     <td style="padding: 0.2em 0.4em;">{{{WarpStrength|}}}</td>
   </tr>
   </tr>
   <tr>
   <tr>
     <td style="padding: 0.2em 0.4em;"><b><span style="font-weight: bold;">Scan Degree</span></b></td>
     <td style="padding: 0.2em 0.4em; border-bottom: 1px solid #aaa;"><b><span style="font-weight: bold;">Scan Degree</span></b></td>
     <td style="padding: 0.2em 0.4em;">{{{ScanDegree|}}}</td>
     <td style="padding: 0.2em 0.4em;">{{{ScanDegree|}}}</td>
   </tr>
   </tr>
   <tr>
   <tr>
     <td style="padding: 0.2em 0.4em;"><b><span style="font-weight: bold;">Scan Strength</span></b></td>
     <td style="padding: 0.2em 0.4em; border-bottom: 1px solid #aaa;"><b><span style="font-weight: bold;">Scan Strength</span></b></td>
     <td style="padding: 0.2em 0.4em;">{{{ScanStrength|}}}</td>
     <td style="padding: 0.2em 0.4em;">{{{ScanStrength|}}}</td>
   </tr>
   </tr>
</table>
</table>
</div>
</div>


<noinclude>
<noinclude>
Line 126: Line 131:
"description": "Ship icon",
"description": "Ship icon",
"type": "wiki-file-name",
"type": "wiki-file-name",
"autovalue": "{{PAGENAME}}-icon"
"default": "{{PAGENAME}}-icon"
},
},
"Description": {
"Description": {

Revision as of 03:53, 16 August 2024

<colgroup> <col style="width: 150px;"> <col style="width: 300px;"> </colgroup>
     The ShipInfobox
Description
Velkar Authority Destroyer
 
Weapons
Max Turrets
Spinal Barrels
 
Health
Max Hull
Max Shield
Shield Regen
 
Maneuverability
Max Speed
Acceleration
Turn Speed
 
Utility
Max Energy
Energy Regen
Max Cargo
Warp Strength
Scan Degree
Scan Strength


Template to use for describing ship's stats

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
IconIcon

Ship icon

Default
{{PAGENAME}}-icon
Fileoptional
DescriptionDescription Desc

Ship description

Example
Velkar Authority Destroyer
Stringoptional
ClassClass

Ship class

Example
Destroyer
Stringrequired
Max TurretsMaxTurrets

Maximum number of turrets on the ship

Example
4
Numberoptional
Max ModulesMaxModules

Maximum number of modules on the ship

Example
3
Numberoptional
Spinal BarrelsSpinalBarrels

Ship spinal barrel count

Example
3
Numberoptional
Max EnergyMaxEnergy

Ship max energy

Example
3000
Numberoptional
Max Turret SizeMaxTurretSize

Max turret size supported by the ship

Example
Small
Stringoptional
Max Module SizeMaxModuleSize

Max module size supported by the ship

Example
Small
Stringoptional
Max Spinal SizeMaxSpinalSize

Max spinal size supported by the ship

Example
Small
Stringoptional
AccelerationAcceleration Accel

Ship acceleration

Example
120
Numberoptional
Turn SpeedTurnSpeed

Ship turn speed

Example
1
Numberoptional
Max SpeedMaxSpeed

Ship max speed

Example
200
Numberoptional
Max CargoMaxCargo

Ship max cargo

Example
500
Numberoptional
Max HullMaxHull

Ship max hull

Example
3250
Numberoptional
Max ShieldMaxShield

Ship max shield

Example
2100
Numberoptional
ShieldRegenShieldRegen

Ship shield regen rate

Example
15
Numberoptional
Energy RegenEnergyRegen

Ship energy regen rate

Example
100
Numberoptional
Warp StrengthWarpStrength

Ship warp strength

Example
1
Numberoptional
Scan DegreeScanDegree

Ship scan degree

Example
180
Numberoptional
Scan StrengthScanStrength

Ship scan strength

Example
10
Numberoptional
For SaleForSale

If the ship is for sale

Example
True
Booleanoptional
CostCost

Ship build cost

Templateoptional