Template:ShipInfoBox: Difference between revisions

Template page
(Formatted re-usable box)
No edit summary
 
(21 intermediate revisions by one other user not shown)
Line 1: Line 1:
<table class="infobox bordered" style="float: right; margin-left: 1em; margin-bottom: 10px; width: 250px; font-size: 11px; line-height: 14px; border: 1px solid #555555;" cellpadding="3">
<noinclude>
  <tr>
== Usage Guide ==
    <td colspan="2" style="text-align: center; font-size: 12px; line-height: 18px; background: #555555; color: #ffffff">
 
      <b>{{{name}}}</b>
<pre style="display: inline-block; background: none; background-color: #000; padding: 10px; border: 1px solid #ddd; border-radius: 5px; font-family: 'Courier New', monospace;">
    </td>
{{ShipInfoBox
  </tr>
|shipName=Ship Name        <!-- The name of the ship -->
  <tr title="An image of the ship">
|imageName=PlaceHolder.png <!-- The image file name (default is PlaceHolder.png) -->
    <td colspan="2" style="text-align: center; border: 1px solid #555555;">
|shipClass=Unknown        <!-- Ship class information -->
      <div class="center">
|builder=Unknown          <!-- The builder of the ship -->
        <div class="floatnone">[[File:{{{imageName|PlaceHolder.png}}}|center|250px]]</div>
|techColumn=Unknown        <!-- Tech Column information -->
      </div>
|gunsTurrets=0 / 0          <!-- Guns/Turrets information -->
    </td>
|maxWeaponClass=0          <!-- Max Weapon Class information -->
  </tr>
|otherEquipment=None        <!-- Other Equipment information -->
  <tr title="What kind of ship this is">
|hullStrength=0            <!-- Hull Strength information -->
    <td class="infobox-data-title">
|maxShieldClass=0          <!-- Max Shield Class information -->
      <b>Ship Class</b>
|cargoSpace=0 units        <!-- Cargo Space information -->
    </td>
|batteries=0              <!-- Batteries information -->
    <td style="padding-right: 1em;">{{{shipClass}}} </td>
|nanobots=0                <!-- Nanobots information -->
  </tr>
|maxImpulseSpeed=0 m/s      <!-- Max Impulse Speed information -->
  <tr title="Who is the ship built by">
|maxTurnSpeed=0 deg/s      <!-- Max Turn Speed information -->
    <td class="infobox-data-title">
|maxThrustSpeed=0 m/s      <!-- Max Thrust Speed information -->
      <b>Built by</b>
|maxCruiseSpeed=0 m/s      <!-- Max Cruise Speed information -->
    </td>
|powerOutput=0 u          <!-- Power Output information -->
    <td style="padding-right: 1em;">{{{builtBy}}} </td>
|powerRecharge=0 u/s        <!-- Power Recharge information -->
  </tr>
|shipPrice=Not Available    <!-- Ship Price information -->
  <tr>
|packagePrice=Not Available <!-- Package Price information -->
    <td class="infobox-data-title">
}}
      <b>[http://discoverygc.com/techcompat/techcompat_table.php Tech Column]</b>
</pre>
    </td>
 
    <td style="padding-right: 1em;">{{{techColumn}}} </td>
== Description ==
  </tr>
 
  <tr>
Displays detailed information about a ship.
    <td colspan="2" style="text-align: center; font-size: 14px; line-height: 18px; background: #555555; color: #ffffff">Technical Information </td>
 
  </tr>
== Preview ==
  <tr title="Amount of gun and turret hardpoints on this ship">
</noinclude>
    <td class="infobox-data-title">
 
      <b>Guns/Turrets</b>
{| class="infobox" style="float:right; margin: 1em; border: none; padding: 0.5em; max-width: 250px; background-color: #131335; border-radius: 10px; border: 2px solid #87c3e0; color: #dedeee;"
    </td>
|+ '''{{{shipName|Ship Name}}}'''
    <td style="padding-right: 1em;">{{{gunsTurrets}}} </td>
|-
  </tr>
! colspan="2" style="text-align:center; font-size: larger;" | [[File:{{{imageName|dsy_li_elite4.png}}}|frameless|225px|link=]]
  <tr title="Maximum class of weapons that can be mounted on this ship">
|-
    <td class="infobox-data-title">
| colspan="2" style="text-align:center; font-size: 14px; line-height: 18px; background: rgba(255, 255, 255, 0.1); border-radius: 5px;" | Basic Information
      <b>Max. weapon class</b>
|-
    </td>
| style="width: 50%; font-size: 11px; border-right: 1px solid #91dbfe; padding-right: 5px;" | Ship Class
    <td style="padding-right: 1em;">{{{maxWeaponClass}}} </td>
| style="width: 50%; font-size: 11px; padding-left: 5px;" | {{{shipClass|Unknown}}}
  </tr>
|-
  <tr>
| style="width: 50%; font-size: 11px; border-right: 1px solid #91dbfe; padding-right: 5px;" | Built By
    <td class="infobox-data-title">
| style="width: 50%; font-size: 11px; padding-left: 5px;" | {{{builder|Unknown}}}
      <b>Other equipment</b>
|-
    </td>
| style="width: 50%; font-size: 11px; border-right: 1px solid #91dbfe; padding-right: 5px;" | [http://discoverygc.com/techcompat/techcompat_table.php Tech Column]
    <td style="padding-right: 1em;">{{{otherEquipment}}} </td>
| style="width: 50%; font-size: 11px; padding-left: 5px;" | {{{techColumn|Unknown}}}
  </tr>
|-
  <tr title="Amount of hull hitpoints">
| colspan="2" style="text-align:center; font-size: 14px; line-height: 18px; background: rgba(255, 255, 255, 0.1); border-radius: 5px;" | Performance
    <td class="infobox-data-title">
|-
      <b>Hull strength</b>
| style="width: 50%; font-size: 11px; border-right: 1px solid #91dbfe; padding-right: 5px;" | Guns/Turrets
    </td>
| style="width: 50%; font-size: 11px; padding-left: 5px;" | {{{gunsTurrets|0 / 0}}}
    <td style="padding-right: 1em; color: #009900; font-weight: bold;">{{{hullStrength}}} </td>
|-
  </tr>
| style="width: 50%; font-size: 11px; border-right: 1px solid #91dbfe; padding-right: 5px;" | Max Weapon Class
  <tr title="Maximum class of shield that can be mounted on this ship">
| style="width: 50%; font-size: 11px; padding-left: 5px;" | {{{maxWeaponClass|0}}}
    <td class="infobox-data-title">
|-
      <b>Max. shield class</b>
| style="width: 50%; font-size: 11px; border-right: 1px solid #91dbfe; padding-right: 5px;" | Other Equipment
    </td>
| style="width: 50%; font-size: 11px; padding-left: 5px;" | {{{otherEquipment|None}}}
    <td style="padding-right: 1em; color: #0088cc; font-weight: bold;">{{{maxShieldClass}}} </td>
|-
  </tr>
| style="width: 50%; font-size: 11px; border-right: 1px solid #91dbfe; padding-right: 5px;" | Hull Strength
  <tr title="Amount of cargo this ship is able to carry">
| style="width: 50%; color: #00cc00; font-size: 11px; padding-left: 5px;" | {{{hullStrength|0}}}
    <td class="infobox-data-title">
|-
      <b>Cargo space</b>
| style="width: 50%; font-size: 11px; border-right: 1px solid #91dbfe; padding-right: 5px;" | Max Shield Class
    </td>
| style="width: 50%; color: #0088cc; font-size: 11px; padding-left: 5px;" | {{{maxShieldClass|0}}}
    <td style="padding-right: 1em;">{{{cargoSpace}}} units </td>
|-
  </tr>
| style="width: 50%; font-size: 11px; border-right: 1px solid #91dbfe; padding-right: 5px;" | Cargo Space
  <tr title="Maximum number of shield batteries carried by this ship">
| style="width: 50%; font-size: 11px; padding-left: 5px;" | {{{cargoSpace|0}}} units
    <td class="infobox-data-title">
|-
      <b>Batteries</b>
| style="width: 50%; font-size: 11px; border-right: 1px solid #91dbfe; padding-right: 5px;" | Batteries
    </td>
| style="width: 50%; font-size: 11px; padding-left: 5px;" | {{{batteries|0}}}
    <td style="padding-right: 1em;">{{{batteries}}} </td>
|-
  </tr>
| style="width: 50%; font-size: 11px; border-right: 1px solid #91dbfe; padding-right: 5px;" | Nanobots
  <tr title="Maximum number of shield nanobots carried by this ship">
| style="width: 50%; font-size: 11px; padding-left: 5px;" | {{{nanobots|0}}}
    <td class="infobox-data-title">
|-
      <b>Nanobots</b>
| colspan="2" style="text-align:center; font-size: 14px; line-height: 18px; background: rgba(255, 255, 255, 0.1); border-radius: 5px;" | Speed and Movement
    </td>
|-
    <td style="padding-right: 1em;">{{{nanobots}}} </td>
| style="width: 50%; font-size: 11px; border-right: 1px solid #91dbfe; padding-right: 5px;" | Max Impulse Speed
  </tr>
| style="width: 50%; font-size: 11px; padding-left: 5px;" | {{{maxImpulseSpeed|0}}} m/s
  <tr title="Maximum speed of this ship on impulse drive">
|-
    <td class="infobox-data-title">
| style="width: 50%; font-size: 11px; border-right: 1px solid #91dbfe; padding-right: 5px;" | Max Turn Speed
      <b>Max. impulse speed</b>
| style="width: 50%; font-size: 11px; padding-left: 5px;" | {{{maxTurnSpeed|0}}} deg/s
    </td>
|-
    <td style="padding-right: 1em;">{{{maxImpulseSpeed}}} m/s </td>
| style="width: 50%; font-size: 11px; border-right: 1px solid #91dbfe; padding-right: 5px;" | Max Thrust Speed
  </tr>
| style="width: 50%; font-size: 11px; padding-left: 5px;" | {{{maxThrustSpeed|0}}} m/s
  <tr title="Maximum turning speed in degrees per second">
|-
    <td class="infobox-data-title">
| style="width: 50%; font-size: 11px; border-right: 1px solid #91dbfe; padding-right: 5px;" | Max Cruise Speed
      <b>Max. turn speed</b>
| style="width: 50%; font-size: 11px; padding-left: 5px;" | {{{maxCruiseSpeed|0}}} m/s
    </td>
|-
    <td style="padding-right: 1em;">{{{maxTurnSpeed}}} deg/s </td>
| colspan="2" style="text-align:center; font-size: 14px; line-height: 18px; background: rgba(255, 255, 255, 0.1); border-radius: 5px;" | Power
  </tr>
|-
  <tr title="Maximum speed of this ship on thrusters">
| style="width: 50%; font-size: 11px; border-right: 1px solid #91dbfe; padding-right: 5px;" | Power Output
    <td class="infobox-data-title">
| style="width: 50%; font-size: 11px; padding-left: 5px;" | {{{powerOutput|0}}} u
      <b>Max. thrust speed</b>
|-
    </td>
| style="width: 50%; font-size: 11px; border-right: 1px solid #91dbfe; padding-right: 5px;" | Power Recharge
    <td style="padding-right: 1em;">{{{maxThrustSpeed}}} m/s </td>
| style="width: 50%; font-size: 11px; padding-left: 5px;" | {{{powerRecharge|0}}} u/s
  </tr>
|-
  <tr title="Maximum speed of this ship on cruise engines">
| colspan="2" style="text-align:center; font-size: 14px; line-height: 18px; background: rgba(255, 255, 255, 0.1); border-radius: 5px;" | Pricing
    <td class="infobox-data-title">
|-
      <b>Max. cruise speed</b>
| style="width: 50%; font-size: 11px; border-right: 1px solid #91dbfe; padding-right: 5px;" | Ship Price
    </td>
| style="width: 50%; font-size: 11px; padding-left: 5px;" | {{{shipPrice|Not Available}}}
    <td style="padding-right: 1em;">{{{maxCruiseSpeed}}} m/s </td>
|-
  </tr>
| style="width: 50%; font-size: 11px;border-right: 1px solid #91dbfe; padding-right: 5px;" | Package Price
  <tr title="Maximum reactor energy storage (capacitance)">
| style="width: 50%; font-size: 11px; padding-left: 5px;" | {{{packagePrice|Not Available}}}
    <td class="infobox-data-title">
|}
      <b>Power output</b>
    </td>
    <td style="padding-right: 1em;">{{{powerOutput}}} u </td>
  </tr>
  <tr title="Amount of energy units generated per second">
    <td class="infobox-data-title">
      <b>Power recharge</b>
    </td>
    <td style="padding-right: 1em;">{{{powerRecharge}}} u/s </td>
  </tr>
  <tr>
    <td colspan="2" style="text-align: center; font-size: 14px; line-height: 18px; background: #555555; color: #ffffff">Additional Information </td>
  </tr>
  <tr title="Price of the ship without any mounted equipment">
    <td class="infobox-data-title">
      <b>Ship price</b>
    </td>
    <td style="padding-right: 1em;">${{{shipPrice}}} </td>
  </tr>
  <tr title="Price of the ship with the default equipment">
    <td class="infobox-data-title">
      <b>Package price</b>
    </td>
    <td style="padding-right: 1em;">${{{packagePrice}}} </td>
  </tr>
</table>

Latest revision as of 17:03, 7 June 2024

Usage Guide

{{ShipInfoBox
|shipName=Ship Name        <!-- The name of the ship -->
|imageName=PlaceHolder.png <!-- The image file name (default is PlaceHolder.png) -->
|shipClass=Unknown         <!-- Ship class information -->
|builder=Unknown           <!-- The builder of the ship -->
|techColumn=Unknown        <!-- Tech Column information -->
|gunsTurrets=0 / 0          <!-- Guns/Turrets information -->
|maxWeaponClass=0           <!-- Max Weapon Class information -->
|otherEquipment=None        <!-- Other Equipment information -->
|hullStrength=0             <!-- Hull Strength information -->
|maxShieldClass=0           <!-- Max Shield Class information -->
|cargoSpace=0 units         <!-- Cargo Space information -->
|batteries=0               <!-- Batteries information -->
|nanobots=0                <!-- Nanobots information -->
|maxImpulseSpeed=0 m/s      <!-- Max Impulse Speed information -->
|maxTurnSpeed=0 deg/s       <!-- Max Turn Speed information -->
|maxThrustSpeed=0 m/s       <!-- Max Thrust Speed information -->
|maxCruiseSpeed=0 m/s       <!-- Max Cruise Speed information -->
|powerOutput=0 u           <!-- Power Output information -->
|powerRecharge=0 u/s        <!-- Power Recharge information -->
|shipPrice=Not Available    <!-- Ship Price information -->
|packagePrice=Not Available <!-- Package Price information -->
}}

Description

Displays detailed information about a ship.

Preview

Ship Name
Dsy li elite4.png
Basic Information
Ship Class Unknown
Built By Unknown
Tech Column Unknown
Performance
Guns/Turrets 0 / 0
Max Weapon Class 0
Other Equipment None
Hull Strength 0
Max Shield Class 0
Cargo Space 0 units
Batteries 0
Nanobots 0
Speed and Movement
Max Impulse Speed 0 m/s
Max Turn Speed 0 deg/s
Max Thrust Speed 0 m/s
Max Cruise Speed 0 m/s
Power
Power Output 0 u
Power Recharge 0 u/s
Pricing
Ship Price Not Available
Package Price Not Available