Template:Infobox Ship

From Imperial Wiki
Revision as of 06:11, 30 May 2008 by Ender (talk | contribs)
Jump to navigation Jump to search

Usage

Put one of these in for all the ships in the wiki. It creates an infobox for easy reference.

{{Eras|}}
{{Ship
|image=
|imageBG=000
|name=
|hidep=
|manufacturer=
|line=
|model=
|class=
|cost=
|modifier=
|hidet=
|sysmods=
|length (m)=
|width (m)=
|draft (m)=
|volume (m^3)=
|mass (tons)=
|max accel (G)=
|peak power (w)=
|firepower (w)=
|shield dissipation rate (w)=
|shield reserve (j)=
|max airspeed=
|engines=
|hyperdrive=
|hdrange=
|sensor=
|primary armament=
|secondary armament=
|tertiary armament=
|other armament=
|fighters carried=
|complement=
|bays=
|crew=
|skeleton=
|troops/passengers=
|cargo capacity=
|consumables=
|EFPH=
|hideu=
|era=
|faction=
|modules=
}}|modules=}}

Explanation

  • image – Put a link to the main image which represents the class. If the image is 250 pixels wide or larger, specify an image width of 250 pixels. If the image is smaller than 250 pixels wide, do not specify the size.
  • imageBG – if the image is smaller than 250 pixels wide, listing the image's background color here will keep a large blue border from appearing around it.
  • name – Simply list the name of the ship in italics. (e.g. Imperial-class star destroyer mkII)
  • manufacturer – Put the manufacturer name here (e.g. Kuat Drive Yards)
  • line – List the full production line (full official class name) (e.g. Imperator-class star destroyer
  • model – List the specific model (e.g. Imperial-class star destroyer mk 2, Avenger subtype)
  • class – List the primary classification of the model (e.g. star destroyer)
  • cost – List the cost of the ship (and the currency type if needed) (self evident)
  • length – Length of the ship in meters (self-evident)
  • width – Width of the ship in meters (self-evident)
  • draft – Height of the ship in meters (self-evident)
  • volume – Volume of the ship in meters^3
  • mass – Mass of the ship in tons
  • max accel – Maximum acceleration in Gs
  • peak power – Peak reactor power in watts
  • peak firepower – peak power of the weapons systems, should be same as for peak ower unless the engines and guns are not related (e.g. starfighters) or the primary firepower of the ship is missiles (e.g. Acclamator)
  • shield dissipation rate – Rate at which the shields reradiate energy they have absorbed
  • shield reserves – total amount of energy the shields can absorb into their heatsinks before the shields are overwhelmed
  • max airspeed – Maximum atmospheric speed, given in kph
  • engine – Types of sublight and atmospheric drive systems
  • hyperdrive – Hyperdrive ratings
  • hdrange – Hyperdrive range (in light-years)
  • sensor – Types of sensor systems and range
  • Primary armament – List of primary weaponry equipped (e.g. the primary HTLs or main missile tubes)
  • Secondary armament – List of secondary weaponry equipped (typically the WEG/WotC weapons compliments)
  • Tertiary armament – List of point defense weaponry equipped
  • Other armament – ECM or additional systems (e.g. gravity well projectors, tractor beams
  • complement – Support craft carried aboard
  • bays – Number of hangar bays aboard ship
  • crew – Number of crew (with crew breakdown if known)
  • skeleton – Minimum crew required for operation
  • troops/passengers – Number and type of passengers carried
  • capacity – Cargo capacity (be careful, this may overlap with complement and passengers)
  • consumables – Duration of consumable goods stored aboard
  • EFPH – Effective Full Power Hours, the duration for which the reactor can run at peak power (typically unknown)
  • era – years in which the ship is used here
  • faction – List the governments and major organizations that use the ship here
  • modules – List of
background: #{{{imageBG}}}|{{#if:669|background: #669|background: #999999}}}}" |
background: #669|background: #999999}}; " | {{{name}}}

{{#if:||-||-

Production information}}

{{#if:|

background: #{{{3}}}|}}" | Manufacturer background: #{{{3}}}|}}; " |

}{{#if:|

|- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Product line | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Model | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Class | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Cost | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:||-||- ! class="infoboxsubheading" colspan="2" style="background: #bbd" | Technical specifications}} {{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Length | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Width | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Height/depth | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Maximum acceleration | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | MGLT | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Maximum speed (atmosphere) | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Engine unit(s) | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Hyperdrive rating | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Hyperdrive system | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Power output | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Power plant | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Shielding | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Hull | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Sensor systems | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Targeting systems | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Navigation system | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Avionics | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Countermeasures | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Armament | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Complement | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Crew | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Minimum crew | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Passengers | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Cargo capacity | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Consumables | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Other systems | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:||-||- ! class="infoboxsubheading" colspan="2" style="background: #bbd" | Usage}} {{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Year introduced | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Role(s) | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Era(s) | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}}{{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Affiliation | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |

|- |}} |}

infoboxes for each module of modular ships only

Display parameters

  • hidep (hides production information section header)
  • hidet (hides Tech. spec. section header)
  • hideu (hides Usage section header)