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
added class (whoops)
remove accidental image (this is what i get for not checking my work huh)
 
(14 intermediate revisions by the same user not shown)
Line 3: Line 3:
<!--Title Section-->
<!--Title Section-->
   <tr>
   <tr>
     <th colspan="2" style="text-align: center;">
     <td colspan="2" style="background: #1b2027; text-align: center; font-size: 240%; font-weight: bold;">The {{PAGENAME}}</td>
      <span style="font-size: 200%;">The {{PAGENAME}}</span>
    </th>
   </tr>
   </tr>
   {{#if: {{{Icon|Invictor-icon.png}}}|
   {{#if: {{{Icon|Invictor-icon.png}}}|
Line 15: Line 13:
   |}}
   |}}
   <tr>
   <tr>
    <td class="Subheader">Class</td>
     <td colspan="2" class="Subheader">Class - {{{Class|Destroyer}}}</td>
  </tr>
  <tr>
     <td colspan="2" style="padding: 0.2em 0.4em;>{{{Class|Destroyer}}}</td>
   </tr>
   </tr>
    
    
   <tr>
   <tr class="EmptyRow"></tr> <!-- This creates an empty row between sections-->
    <td colspan="2">&nbsp;</td> <!-- This creates an empty row between sections-->
  </tr>


   <tr>
   <tr>
     <td class="Subheader">Description</td>
     <td class="Subheader" colspan="2">Description</td>
   </tr>
   </tr>
   <tr>
   <tr>
     <td colspan="2" style="padding: 0.2em 0.4em;>{{{Description|Velkar Authority Destroyer}}}</td>
     <td colspan="2" style="padding: 0.2em 0.4em; text-align: center;">{{{Description|Velkar Authority Destroyer}}}</td>
   </tr>
   </tr>
    
    
   <tr>
   <tr class="EmptyRow"></tr>
    <td colspan="2">&nbsp;</td>
  </tr>


<!--Weapons Section-->
<!--Weapons Section-->
   <tr>
   <tr>
     <td class="Subheader">Weapons</td>
     <td class="Subheader" colspan="2">Weapons</td>
   </tr>
   </tr>
   <tr class="HorizontalRow">
   <tr class="VerticalLayoutTop">
     <td class="HorizontalRowLeftCol"><span>Max Turrets</td>
     <td>Max Turrets</td>
     <td class="HorizontalRowRightCol">{{{MaxTurrets|}}}</td>
     <td>Spinal Barrels</td>
   </tr>
   </tr>
   <tr class="HorizontalRow">
   <tr class="VerticalLayoutBottom">
     <td class="HorizontalRowLeftCol">Spinal Barrels</td>
     <td>{{{MaxTurrets|1}}}</td>
     <td class="HorizontalRowRightCol">{{{SpinalBarrels|}}}</td>
     <td>{{{SpinalBarrels|1}}}</td>
   </tr>
   </tr>


  <tr>
<tr class="EmptyRow"></tr>
    <td colspan="2">&nbsp;</td>
  </tr>


<!--Health Section-->
<!--Health Section-->
   <tr>
   <tr>
     <td class="Subheader">Health</td>
     <td class="Subheader" colspan="2">Health</td>
   </tr>
   </tr>
   <tr class="HorizontalRow">
   <tr class="VerticalLayoutTop">
     <td class="HorizontalRowLeftCol">Max Hull</td>
     <td>Max Hull</td>
     <td class="HorizontalRowRightCol">{{{MaxHull|}}}</td>
     <td>Max Shield</td>
   </tr>
   </tr>
   <tr class="HorizontalRow">
   <tr class="VerticalLayoutBottom">
     <td class="HorizontalRowLeftCol">Max Shield</td>
     <td>{{{MaxHull|}}}</td>
     <td class="HorizontalRowRightCol">{{{MaxShield|}}}</td>
     <td>{{{MaxShield|}}}</td>
   </tr>
   </tr>
   <tr class="HorizontalRow">
   <tr class="HorizontalLayout">
     <td class="HorizontalRowLeftCol">Shield Regen</td>
     <td>Shield Regen</td>
     <td class="HorizontalRowRightCol">{{{ShieldRegen|}}}</td>
     <td>{{{ShieldRegen|}}}</td>
   </tr>
   </tr>


  <tr>
<tr class="EmptyRow"></tr>
    <td colspan="2">&nbsp;</td>
  </tr>


<!--Maneuverability Section-->
<!--Maneuverability Section-->
   <tr>
   <tr>
     <td class="Subheader">Maneuverability</td>
     <td class="Subheader" colspan="2">Maneuverability</td>
   </tr>
   </tr>
   <tr class="HorizontalRow">
   <tr class="VerticalLayoutTop">
     <td class="HorizontalRowLeftCol">Max Speed</td>
     <td>Max Speed</td>
     <td class="HorizontalRowRightCol">{{{MaxSpeed|}}}</td>
     <td>Acceleration</td>
   </tr>
   </tr>
   <tr class="HorizontalRow">
   <tr class="VerticalLayoutBottom">
     <td class="HorizontalRowLeftCol">Acceleration</td>
     <td>{{{MaxSpeed|}}}</td>
     <td class="HorizontalRowRightCol">{{{Acceleration|}}}</td>
     <td>{{{Acceleration|}}}</td>
   </tr>
   </tr>
   <tr class="HorizontalRow">
   <tr class="HorizontalLayout">
     <td class="HorizontalRowLeftCol">Turn Speed</td>
     <td>Turn Speed</td>
     <td class="HorizontalRowRightCol">{{{TurnSpeed|}}}</td>
     <td>{{{TurnSpeed|}}}</td>
   </tr>
   </tr>


  <tr>
<tr class="EmptyRow"></tr>
    <td colspan="2">&nbsp;</td>
  </tr>


<!--Utility Section-->
<!--Utility Section-->
   <tr>
   <tr>
     <td class="Subheader">Utility</td>
     <td class="Subheader" colspan="2">Utility</td>
   </tr>
   </tr>
   <tr class="HorizontalRow">
   <tr class="VerticalLayoutTop">
     <td class="HorizontalRowLeftCol">Max Modules</td>
     <td>Max Energy</td>
     <td class="HorizontalRowRightCol">{{{MaxModules|}}}</td>
     <td>Energy Regen</td>
   </tr>
   </tr>
   <tr class="HorizontalRow">
   <tr class="VerticalLayoutBottom">
     <td class="HorizontalRowLeftCol">Max Energy</td>
     <td>{{{MaxEnergy|}}}</td>
     <td class="HorizontalRowRightCol">{{{MaxEnergy|}}}</td>
     <td>{{{EnergyRegen|}}}</td>
   </tr>
   </tr>
   <tr class="HorizontalRow">
   <tr class="HorizontalLayout">
     <td class="HorizontalRowLeftCol">Energy Regen</td>
     <td>Max Modules</td>
     <td class="HorizontalRowRightCol">{{{EnergyRegen|}}}</td>
     <td>{{{MaxModules|}}}</td>
   </tr>
   </tr>
   <tr class="HorizontalRow">
   <tr class="HorizontalLayout">
     <td class="HorizontalRowLeftCol">Max Cargo</td>
     <td>Max Cargo</td>
     <td class="HorizontalRowRightCol">{{{MaxCargo|}}}</td>
     <td>{{{MaxCargo|}}}</td>
   </tr>
   </tr>
   <tr class="HorizontalRow">
   <tr class="HorizontalLayout">
     <td class="HorizontalRowLeftCol">Warp Strength</td>
     <td>Warp Strength</td>
     <td class="HorizontalRowRightCol">{{{WarpStrength|}}}</td>
     <td>{{{WarpStrength|}}}</td>
   </tr>
   </tr>
   <tr class="HorizontalRow">
   <tr class="VerticalLayoutTop">
     <td class="HorizontalRowLeftCol">Scan Degree</td>
     <td>Scan Degree</td>
     <td class="HorizontalRowRightCol">{{{ScanDegree|}}}</td>
     <td>Scan Strength</td>
   </tr>
   </tr>
   <tr class="HorizontalRow">
   <tr class="VerticalLayoutBottom">
     <td class="HorizontalRowLeftCol">Scan Strength</td>
     <td>{{{ScanDegree|}}}</td>
     <td class="HorizontalRowRightCol">{{{ScanStrength|}}}</td>
    <td>{{{ScanStrength|}}}</td>
  </tr>
 
<tr class="EmptyRow"></tr>
 
<!--CostSection-->
  <tr>
    <td class="Subheader" colspan="2">Cost</td>
  </tr>
  <tr class="HorizontalLayout">
    <td>Credits</td>
     <td>{{{CostCredits|}}}</td>
  </tr>
  <tr class="HorizontalLayout">
    <td>For Sale</td>
    <td>{{#if: {{{ForSale}}}|Yes|No}}</td>
   </tr>
   </tr>
</table>
</table>
Line 256: Line 256:
"type": "boolean"
"type": "boolean"
},
},
"Cost": {
"CostCredits": {
"label": "Cost",
"label": "Credits",
"description": "Ship build cost",
"description": "Ship credit build cost",
"type": "wiki-template-name"
"type": "number"
}
}
},
},

Latest revision as of 19:48, 16 August 2024

The ShipInfobox
Class - Destroyer
Description
Velkar Authority Destroyer
Weapons
Max Turrets Spinal Barrels
1 1
Health
Max Hull Max Shield
Shield Regen
Maneuverability
Max Speed Acceleration
Turn Speed
Utility
Max Energy Energy Regen
Max Modules
Max Cargo
Warp Strength
Scan Degree Scan Strength
Cost
Credits
For Sale Yes


Template to use for describing ship's stats

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
ClassClass

Ship class

Example
Destroyer
Stringrequired
IconIcon

Ship icon

Default
{{PAGENAME}}-icon
Example
Invictor-icon.png
Fileoptional
DescriptionDescription Desc

Ship description

Example
Velkar Authority Destroyer
Stringoptional
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
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
CreditsCostCredits

Ship credit build cost

Numberoptional