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
m use EmptyRow
remove accidental image (this is what i get for not checking my work huh)
 
(9 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>
    <td style="padding: 0.2em 0.4em;>{{{Class|Destroyer}}}</td>
   </tr>
   </tr>
    
    
Line 22: Line 19:


   <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>
    
    
Line 32: Line 29:
<!--Weapons Section-->
<!--Weapons Section-->
   <tr>
   <tr>
     <td class="Subheader">Weapons</td>
     <td class="Subheader" colspan="2">Weapons</td>
   </tr>
   </tr>
   <tr class="VerticalLayoutTop">
   <tr class="VerticalLayoutTop">
Line 47: Line 44:
<!--Health Section-->
<!--Health Section-->
   <tr>
   <tr>
     <td class="Subheader">Health</td>
     <td class="Subheader" colspan="2">Health</td>
   </tr>
   </tr>
   <tr class="HorizontalLayout">
   <tr class="VerticalLayoutTop">
     <td>Max Hull</td>
     <td>Max Hull</td>
    <td>Max Shield</td>
  </tr>
  <tr class="VerticalLayoutBottom">
     <td>{{{MaxHull|}}}</td>
     <td>{{{MaxHull|}}}</td>
  </tr>
  <tr class="HorizontalLayout">
    <td>Max Shield</td>
     <td>{{{MaxShield|}}}</td>
     <td>{{{MaxShield|}}}</td>
   </tr>
   </tr>
Line 66: Line 63:
<!--Maneuverability Section-->
<!--Maneuverability Section-->
   <tr>
   <tr>
     <td class="Subheader">Maneuverability</td>
     <td class="Subheader" colspan="2">Maneuverability</td>
   </tr>
   </tr>
   <tr class="HorizontalLayout">
   <tr class="VerticalLayoutTop">
     <td>Max Speed</td>
     <td>Max Speed</td>
    <td>Acceleration</td>
  </tr>
  <tr class="VerticalLayoutBottom">
     <td>{{{MaxSpeed|}}}</td>
     <td>{{{MaxSpeed|}}}</td>
  </tr>
  <tr class="HorizontalLayout">
    <td>Acceleration</td>
     <td>{{{Acceleration|}}}</td>
     <td>{{{Acceleration|}}}</td>
   </tr>
   </tr>
Line 85: Line 82:
<!--Utility Section-->
<!--Utility Section-->
   <tr>
   <tr>
     <td class="Subheader">Utility</td>
     <td class="Subheader" colspan="2">Utility</td>
   </tr>
   </tr>
   <tr class="HorizontalLayout">
   <tr class="VerticalLayoutTop">
     <td>Max Modules</td>
     <td>Max Energy</td>
     <td>{{{MaxModules|}}}</td>
     <td>Energy Regen</td>
   </tr>
   </tr>
   <tr class="HorizontalLayout">
   <tr class="VerticalLayoutBottom">
    <td>Max Energy</td>
     <td>{{{MaxEnergy|}}}</td>
     <td>{{{MaxEnergy|}}}</td>
    <td>{{{EnergyRegen|}}}</td>
   </tr>
   </tr>
   <tr class="HorizontalLayout">
   <tr class="HorizontalLayout">
     <td>Energy Regen</td>
     <td>Max Modules</td>
     <td>{{{EnergyRegen|}}}</td>
     <td>{{{MaxModules|}}}</td>
   </tr>
   </tr>
   <tr class="HorizontalLayout">
   <tr class="HorizontalLayout">
Line 107: Line 104:
     <td>{{{WarpStrength|}}}</td>
     <td>{{{WarpStrength|}}}</td>
   </tr>
   </tr>
   <tr class="HorizontalLayout">
   <tr class="VerticalLayoutTop">
     <td>Scan Degree</td>
     <td>Scan Degree</td>
    <td>Scan Strength</td>
  </tr>
  <tr class="VerticalLayoutBottom">
     <td>{{{ScanDegree|}}}</td>
     <td>{{{ScanDegree|}}}</td>
    <td>{{{ScanStrength|}}}</td>
  </tr>
<tr class="EmptyRow"></tr>
<!--CostSection-->
  <tr>
    <td class="Subheader" colspan="2">Cost</td>
   </tr>
   </tr>
   <tr class="HorizontalLayout">
   <tr class="HorizontalLayout">
     <td>Scan Strength</td>
     <td>Credits</td>
     <td>{{{ScanStrength|}}}</td>
     <td>{{{CostCredits|}}}</td>
  </tr>
  <tr class="HorizontalLayout">
    <td>For Sale</td>
    <td>{{#if: {{{ForSale}}}|Yes|No}}</td>
   </tr>
   </tr>
</table>
</table>
Line 244: 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