Difference between revisions of "Template:Infobox Ship"

From Imperial Wiki
Jump to navigation Jump to search
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div id="Ship" class="infobox hidable" style="padding: 0px; {{#if:{{{width|}}}|width:{{{width}}};|}}">
<includeonly>
{| class="infoboxtable hidable-content" cellspacing="0" cellpadding="4" style="border-width: 0px"
{| class="infobox" align="right" style="background-color:white; border:1px solid lightsteelblue; width:404px; text-align: left; font-size: 100%; padding:5px; margin-left: 10px; float: right"
|- style="background-color: lightsteelblue; font-size: 120%;"  
! colspan="2" align="center" | {{{name}}}
|-
|-
| class="infoboximage" colspan="2" style="{{#if:{{{imageBG|}}}|background: #{{{imageBG}}}|{{#if:669|background: #669|background: #999999}}}}" | {{{image|}}}
| colspan="2" | [[Image:{{{image}}}|center|thumb|400px|{{{caption}}}]]
|-  
|-
! class="infoboxheading" colspan="2" style="{{#if:669|background: #669|background: #999999}}; {{{css|}}}" | {{{{{{2|name}}}}}}
! Role:
{{#if:{{{hidep|}}}|{{!}}-|{{!}}-
| {{{role}}}
! class="infoboxsubheading" colspan="2" style="background: #bbd" {{!}} '''Production information'''}}
|-
{{#if:{{{manufacturer|}}}|
! Commissioned:
{{!}}-
| {{{commissioned}}}
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Manufacturer
|-
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
! Length:
{{{manufacturer|}}}
| {{{length}}}
{{!}}-
|-
|}}{{#if:{{{line|}}}|
! Width:
{{!}}-
| {{{width}}}
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Product line
|-
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
! Height:
{{{line|}}}
| {{{height}}}
{{!}}-
|-
|}}{{#if:{{{model|}}}|
! Mass:
{{!}}-
| {{{mass}}}
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Model
|-
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
! Decks:
{{{model|}}}
| {{{decks}}}
{{!}}-
|-
|}}{{#if:{{{class|}}}|
! Crew:
{{!}}-
| {{{crew}}}
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Class
|-
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
! Maximum capacity:
{{{class|}}}
| {{{maximum capacity}}}
{{!}}-
|-
|}}{{#if:{{{cost|}}}|
!Power Plant:
{{!}}-
| {{{power plant}}}
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Cost
|-
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
! Hyperdrive speed:
{{{cost|}}}
| {{{hyperdrive speed}}}
{{!}}-
|-
|}}{{#if:{{{modifier|}}}|
! Armament:
{{!}}-
| {{{armament}}}
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Modified by
|-
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
! Defenses:
{{{modifier|}}}
| {{{defenses}}}
{{!}}-
|-
|}}{{#if:{{{hidet|}}}|{{!}}-|{{!}}-
! Threat:
! class="infoboxsubheading" colspan="2" style="background: #bbd" {{!}} '''Technical specifications'''}}
| {{{threat}}}
{{#if:{{{sysmods|}}}|
|-
{{!}}-
! Estimated Ships:
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Modified systems
| {{{est ships}}}
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
|-
{{{sysmods|}}}
! Known Ships:
{{!}}-
| {{{known ships}}}
|}}{{#if:{{{length|}}}|
|}
{{!}}-
</includeonly>
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Length
<noinclude>
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{fix}}
{{{length|}}}
== Usage ==
{{!}}-
 
|}}{{#if:{{{width|}}}|
{| style="background: transparent;"
{{!}}-
|<pre>{{Infobox ship
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Width
| name          =
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
| image          =
{{{width|}}}
| caption        =
{{!}}-
| role      =
|}}{{#if:{{{height|}}}|
| commissioned  =
{{!}}-
| length        =
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Height/depth
| width          =
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
| height        =
{{{height|}}}
| mass          =
{{!}}-
| decks          =
|}}{{#if:{{{mass|}}}|
| crew          =
{{!}}-
| maximum capacity  =
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Mass
| power plant      =
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
| hyperdrive speed =
{{{mass|}}}
| armament          =
{{!}}-
| defenses          =
|}}{{#if:{{{max accel|}}}|
| threat            =
{{!}}-
| est ships        =
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Maximum acceleration
| known ships      =
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
}}</pre>
{{{max accel|}}}
{{!}}-
|}}{{#if:{{{mglt|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} [[Megalight|MGLT]]
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{mglt|}}}
{{!}}-
|}}{{#if:{{{max speed|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Maximum speed (atmosphere)
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{max speed|}}}
{{!}}-
|}}{{#if:{{{engine|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Engine unit(s)
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{engine|}}}
{{!}}-
|}}{{#if:{{{hyperdrive|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Hyperdrive rating
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{hyperdrive|}}}
{{!}}-
|}}{{#if:{{{hdrange|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Hyperdrive range
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{hdrange|}}}
{{!}}-
|}}{{#if:{{{hdsystem|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Hyperdrive system
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{hdsystem|}}}
{{!}}-
|}}{{#if:{{{poweroutput|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Power output
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{poweroutput|}}}
{{!}}-
|}}{{#if:{{{power|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Power plant
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{power|}}}
{{!}}-
|}}{{#if:{{{shield gen|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Shielding
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{shield gen|}}}
{{!}}-
|}}{{#if:{{{hull|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Hull
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{hull|}}}
{{!}}-
|}}{{#if:{{{sensor|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Sensor systems
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{sensor|}}}
{{!}}-
|}}{{#if:{{{target|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Targeting systems
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{target|}}}
{{!}}-
|}}{{#if:{{{navigation|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Navigation system
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{navigation|}}}
{{!}}-
|}}{{#if:{{{avionics|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Avionics
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{avionics|}}}
{{!}}-
|}}{{#if:{{{maincomp|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Main computer
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{maincomp|}}}
{{!}}-
|}}{{#if:{{{countermeasures|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Countermeasures
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{countermeasures|}}}
{{!}}-
|}}{{#if:{{{armament|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Armament
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{armament|}}}
{{!}}-
|}}{{#if:{{{complement|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Complement
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{complement|}}}
{{!}}-
|}}{{#if:{{{bays|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Docking bays
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{bays|}}}
{{!}}-
|}}{{#if:{{{escapepods|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Escape craft
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{escapepods|}}}
{{!}}-
|}}{{#if:{{{crew|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Crew
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{crew|}}}
{{!}}-
|}}{{#if:{{{skeleton|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Minimum crew
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{skeleton|}}}
{{!}}-
|}}{{#if:{{{passengers|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Passengers
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{passengers|}}}
{{!}}-
|}}{{#if:{{{capacity|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Cargo capacity
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{capacity|}}}
{{!}}-
|}}{{#if:{{{cargohandling|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Cargo handling systems
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{cargohandling|}}}
{{!}}-
|}}{{#if:{{{consumables|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Consumables
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{consumables|}}}
{{!}}-
|}}{{#if:{{{lifesupport|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Life support
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{lifesupport|}}}
{{!}}-
|}}{{#if:{{{communications|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Communication systems
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{communications|}}}
{{!}}-
|}}{{#if:{{{othersystems|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Other systems
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{othersystems|}}}
{{!}}-
|}}{{#if:{{{hideu|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="background: #bbd" {{!}} '''Usage'''}}
{{#if:{{{availability|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Availability
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{availability|}}}
{{!}}-
|}}{{#if:{{{role|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Role(s)
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{role|}}}
{{!}}-
|}}{{#if:{{{firstuse|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Year introduced
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{firstuse|}}}
{{!}}-
|}}{{#if:{{{retired|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Retired
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{retired|}}}
{{!}}-
|}}{{#if:{{{era|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Era(s)
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{era|}}}
{{!}}-
|}}{{#if:{{{affiliation|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Affiliation
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{affiliation|}}}
{{!}}-
|}}{{#if:{{{modules|}}}|
{{!}}-
{{!}} colspan="2" {{!}}
<table border="0" cellpadding="0" cellspacing="0" style="padding:0; width:242px; margin:0 auto 0 auto; background:none;"><tr><td>
{{{modules|}}}
</td></tr></table>
{{!}}-
|}}
|}
|}
<div class="infoboxfooter plainlinks" style="text-align: center; {{#if:669|background: #669|background: #999999}}"><span class="hidable-button"></span>[[{{{srclink|Template:Ship}}}|[Source]]]</div>
 
{{#if:669|{{rb|#669}}|{{rb|#999999}}}}</div><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><noinclude>__NOTOC__
[[Category:Templates|Ship, Template:Infobox]]
[[Category:Infobox templates|Ship, Template:Infobox]]

Latest revision as of 01:01, 27 February 2009


Usage

{{Infobox ship
| name           =
| image          =
| caption        =
| role       =
| commissioned   =
| length         =
| width          =
| height         =
| mass           =
| decks          =
| crew           =
| maximum capacity  =
| power plant      =
| hyperdrive speed =
| armament          =
| defenses          =
| threat            =
| est ships         =
| known ships       =
}}