Difference between revisions of "Template:Ship"

From Discovery Wiki
Jump to navigationJump to search
m (Ship backgrounds CSS3-ed a bit)
 
(163 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude><!--</noinclude>
+
<noinclude><!--</noinclude>__NOTOC__ __NOEDITSECTION__
{| class="weaponmainbox" style="float: right; margin-left: 1em; margin-bottom: 10px; width: 270px; font-size: 11px; line-height: 14px; border: 1px solid #aaa;" cellpadding="3"
+
{| class="infobox bordered" style="float: right; width: 270px; font-size: 90%; line-height: 110%; margin-left: 1em; margin-bottom: 1em; border: 1px solid #aaa;" cellpadding="3"
 
|-
 
|-
| colspan="2" class="infobox-name"|<H3>{{{full-name}}}</H3>
+
| colspan="2" class="infobox-name" style="font-family: Agency FB,​Verdana,​Arial,​sans-serif; font-size: 185%; font-weight: 500; text-decoration: underline; text-align: center; background-color: #14193F; line-height: 1.5em;"|{{{full-name}}}
 
|-
 
|-
| colspan="2" style="padding: 0; text-align: center; padding: 5px 0px;"|{{#if: {{{image|}}}
+
| colspan="2" class="shipDisplay" style="text-align: center; background-color: #14193F;"|{{#ifexist:File:{{{image}}}
| [[image:{{{image}}}|center|220px]]|}}
+
| [[Image:{{{image}}}|center|220px]]
 +
| Please [[File:{{{image}}}|upload]] the {{{image}}} file.}}
 
|-
 
|-
| colspan="2" class="infobox-section"|<H3>Ship</H3>
+
| colspan="2" class="infobox-section" style="font-family: Agency FB,​Verdana,​Arial,​sans-serif; font-size: 150%; font-weight: 500; text-decoration: underline; text-align: center; background-color: #14193F; line-height: 1.5em;"|Ship
|-title "Faction that owns this technology"
+
|- title "Faction that owns this technology"
|class="infobox-data-title" | '''Owner Faction'''
+
| class="infobox-data-title" | '''Owner Faction'''
 
|| {{{faction|''unknown''}}}
 
|| {{{faction|''unknown''}}}
 +
|- title "Ship classification"
 +
| class="infobox-data-title" | '''Ship Class'''
 +
|| {{#if: {{{ship-type|}}}|[[{{{ship-type}}}]]|''unknown''}}
 
|- title="Damage the ship can take before being destroyed"
 
|- title="Damage the ship can take before being destroyed"
|class="infobox-data-title" | '''Hit-Points'''
+
| class="infobox-data-title" | '''Hit-Points'''
|| {{{hit-points|''unknown''}}}
+
|| {{{hit-points|''<span style="color:green;">unknown</span>''}}}
 
|- title="Number of nanobots the ship can carry"
 
|- title="Number of nanobots the ship can carry"
|class="infobox-data-title" | '''Nanobots'''
+
| class="infobox-data-title" | '''Nanobots'''
 
|| {{{nanobots|''unknown''}}}
 
|| {{{nanobots|''unknown''}}}
 
|- title="Number of shield batteries the ship can carry"
 
|- title="Number of shield batteries the ship can carry"
|class="infobox-data-title" | '''Shield Batteries'''
+
| class="infobox-data-title" | '''Shield Batteries'''
 
|| {{{batteries|''unknown''}}}
 
|| {{{batteries|''unknown''}}}
 
|- title="Maximum power capacity of the ship's power plant"
 
|- title="Maximum power capacity of the ship's power plant"
|class="infobox-data-title" | '''Power Capacity'''
+
| class="infobox-data-title" | '''Power Capacity'''
 
|| {{{power-capacity|''unknown''}}}
 
|| {{{power-capacity|''unknown''}}}
 
|- title="Units of power generated per second"
 
|- title="Units of power generated per second"
|class="infobox-data-title" | '''Power Regen'''
+
| class="infobox-data-title" | '''Power Regen'''
 
|| {{{power-regen|''unknown''}}}
 
|| {{{power-regen|''unknown''}}}
 +
|- title="Cargo capacity of the ship"
 +
| class="infobox-data-title" | '''Cargo Space'''
 +
|| {{{cargo-space|''unknown''}}}
 
|-
 
|-
|class="infobox-data-title" | '''Ship Hull Price'''
+
| class="infobox-data-title" | '''Ship Hull Price'''
|| {{#if: {{{ship-price|}}}
+
|| {{#if: {{{ship-price|}}}|{{formatnum:{{{ship-price}}}}}|''Unknown''}}
| ${{formatnum:{{{ship-price}}}}}
 
| ''unknown''}}
 
 
|-
 
|-
 
|class="infobox-data-title" | '''Package Price'''
 
|class="infobox-data-title" | '''Package Price'''
|| {{#if: {{{package-price|}}}
+
|| {{#if: {{{package-price|}}}|{{formatnum:{{{package-price}}}}}|''Unknown''}}
| ${{formatnum:{{{package-price}}}}}
+
{{#if: {{{vanilla-stats|}}}|{{!}}-
| ''unknown''}}
+
{{!}}colspan="2"{{!}}<span style="color:red;">'''''Note:'''''</span> ''This ship is essentially identical to the same ship from the original Freelancer, and is not competetive against ships from the Discovery mod.''}}
 
|}
 
|}
{{#if:{{{description|}}}|{{{description}}}|''description missing''}}
+
{{#if: {{{description|}}}|{{{description}}}|''No description available.''}}
 
 
 
==Performance Data==
 
==Performance Data==
 
+
* Vertical Turn-Rate: {{{turn-rate-pitch}}}
* Turn Rate: {{{turn-rate|}}} deg/s
+
* Lateral Turn-Rate: {{{turn-rate-yaw}}}
* Responsiveness: {{{responsiveness|}}} deg/s
+
* Rolling Turn-Rate: {{{turn-rate-roll}}}
 
+
* Sensitivity: {{{turn-accel}}}
 
* Impulse Speed: {{{engine-speed}}} m/s
 
* Impulse Speed: {{{engine-speed}}} m/s
* Max Thrust Speed: {{{thruster-speed}}} m/s
+
* Max Thrust Speed: {{#if: {{{thruster-speed|}}}|{{{thruster-speed}}} m/s|''This ship does not have a thruster hard-point.''}}
 
* Cruise Speed: {{{cruise-speed}}} m/s
 
* Cruise Speed: {{{cruise-speed}}} m/s
 
* Reverse Speed: {{{reverse-speed}}} m/s
 
* Reverse Speed: {{{reverse-speed}}} m/s
 
* Strafing Speed: {{{strafe-speed}}} m/s
 
* Strafing Speed: {{{strafe-speed}}} m/s
 
 
==Hard-Points==
 
==Hard-Points==
 +
{{{hard-points}}}
 +
==Cloak Data==
 +
{{#if: {{{cloak-type|}}}|* Cloak Type: {{{cloak-type}}}|: This ship is not able to use a cloaking device.}}
 +
{{#if: {{{cloak-type|}}}|* Max Duration: {{{cloak-time}}} (empty ship)}}
 +
==Ship Package==
 +
: The ship package includes the hull plus the following items:
 +
{{{add-ons}}}
 +
{{Clear}}
 +
==Buy/Sell Locations==
 +
{{#if:{{{places-sold|}}}|: The following bases are known to carry this ship, although sales may be restricted to pilots with a high positive reputation.
 +
{{{places-sold}}}|: This ship is not sold on any known bases. It may only be given by the administrators.}}
 +
==Owner Reviews==
 +
: To add a review, locate the ''owner-reviews'' variable at the bottom of the raw page data, and create a new entry using [[:Template:Review]].
 +
{{{owner-reviews|}}}
  
{{{hard-points}}}
+
{{Clear}}
 +
{{Ship list navigation}}
 +
<includeonly>[[Category:Ships]]{{#if:{{{ship-type|}}}|[[Category:{{{ship-type}}}s]]}}{{#if:{{{faction-raw|}}}|[[Category:{{{faction-raw}}}]]}}</includeonly>
 +
<noinclude>-->
 +
'''Template:Ship''' is for Ships.
  
==Cloak Data==
+
Recognized attributes are shown in the ''Usage'' section below. Of particular note:
  
{{#if: {{{cloak-type|}}}|{{{cloak-type}}}|''This ship cannot use a cloaking device'''}}
+
* ''full-name'' is the item's full name, as extracted from the infocard data, and is used for the name that is shown in the infobox. It should also be used for the page title.
  
{{#if: {{{cloak-type|}}}|{{{cloak-time}}}}}
+
* ''description'' is used for the text block at the top of the page.
  
{{#if:{{{places-sold|}}}|==Places Sold==
+
* ''image'' is used for the image of the ship. This name is extracted from the 3D model name, and should point to the current ship model rather than the ship. This allows multiple ships to use the same model, and also allows a ship to change to another model without breaking other ships that use the same model.
{{{places-sold}}}}}
 
  
{{Clear}}
+
* ''faction'' (singular) contains a linked version of the Owner Faction name (necessary for efficient redirection of Guard factions), while ''faction-raw'' contains the unlinked target faction name (necessary for Category links).
{{#if:{{{examplepage|}}}||[[Category:Ships]]{{#if:{{{ship-type|}}}
 
| [[Category:{{{ship-type}}}]]|}}}}
 
__NOTOC__ __NOEDITSECTION__<noinclude>-->{{clear}}
 
  
'''Template:Ship''' is for Ships.
+
The remaining attributes are used to populate fields throughout the page.
  
 
==Usage==
 
==Usage==
 
<pre><nowiki>
 
<pre><nowiki>
{{version|4.86}}
 
 
{{Ship
 
{{Ship
 
| full-name = CTE 750AE Civilian Starflier
 
| full-name = CTE 750AE Civilian Starflier
 
| short-name = Starflier
 
| short-name = Starflier
 
| nickname = gf1_package
 
| nickname = gf1_package
| description = The wonderful starflea.
+
| description = Manufactured in the heartland of Liberty, the 750 is the most
 +
economical ship of its class. With ample cargo space and improved handling
 +
over previous models, this ship distinguishes itself as the veritable
 +
"workhorse for the working man."
 
| image = cv_starflier.png
 
| image = cv_starflier.png
 
| icon = cv_starflier.jpg
 
| icon = cv_starflier.jpg
| ship-type = [[Light Fighter]]
+
| ship-type = Light Fighter
 
| faction = [[Sirius Civilian]]
 
| faction = [[Sirius Civilian]]
| hit-points = 1100
+
| faction-raw = Sirius Civilian
 +
| hit-points = 1,100
 
| nanobots = 10
 
| nanobots = 10
 
| batteries = 10
 
| batteries = 10
| power-capacity = 1000
+
| power-capacity = 1,000u
| power-regen = 95
+
| power-regen = 95 u/s
 
| cargo-space = 20
 
| cargo-space = 20
| ship-price = 10900
+
| ship-price = 10,900
| package-price = 12400
+
| package-price = 12,400
| turn-rate = 1.66
+
| turn-rate-avg = 95.49 deg/sec (1.67 rad/sec)
| responsiveness = 23.72
+
| turn-rate-pitch = 95.49 deg/sec (1.67 rad/sec)
 +
| turn-rate-yaw = 95.49 deg/sec (1.67 rad/sec)
 +
| turn-rate-roll = 94.95 deg/sec (1.66 rad/sec)
 +
| turn-accel = 6.58
 
| engine-speed = 80
 
| engine-speed = 80
 
| thruster-speed = 200
 
| thruster-speed = 200
Line 101: Line 124:
 
* 1 [[Mine Droppers]]
 
* 1 [[Mine Droppers]]
 
* 1 [[Countermeasures]]
 
* 1 [[Countermeasures]]
* [[Light Fighter Shields|Class 3 LF Shield]]
+
* 1 [[Light Fighter Shields|Class 3 LF Shield]]
| add-ons = {{{!}} class="wikitable sortable
+
| add-ons = {{{!}} class="wikitable sortable" style="margin-left: 3em;"
 
{{!}}-
 
{{!}}-
!Equipment!!Price
+
!style="padding: 3px; text-align: left;"{{!}}Equipment
{{!-}}
+
!style="padding: 3px; text-align: right;"{{!}}Price
{{!}}Scanner{{!}}500
+
{{!}}-
{{!-}}
+
{{!}}[[Scanner]]
{{!}}Sentry L. F. Shield{{!}}1000
+
{{!}}style="padding: 3px; text-align: right;"{{!}}$500
 +
{{!}}-
 +
{{!}}[[SG-a "Sentry" Light Fighter Graviton Shield]]
 +
{{!}}style="padding: 3px; text-align: right;"{{!}}$1,000
 
{{!}}}
 
{{!}}}
 
| places-sold =  
 
| places-sold =  
{{{!}} class="wikitable collapsible collapsed"
+
{{{!}} class="wikitable collapsible collapsed" style="margin-left: 3em;"
 
!Spoiler: Buying Locations
 
!Spoiler: Buying Locations
 
{{!}}-
 
{{!}}-
 
{{!}}
 
{{!}}
{{{!}} class="wikitable sortable"
+
{{{!}} class="wikitable sortable" style="margin: 4px;"
 
{{!}}-
 
{{!}}-
 
!Base!!Owner!!System!!Region
 
!Base!!Owner!!System!!Region
Line 128: Line 154:
  
 
==Result==
 
==Result==
{{version|4.86}}
 
 
{{Ship
 
{{Ship
 
| full-name = CTE 750AE Civilian Starflier
 
| full-name = CTE 750AE Civilian Starflier
 
| short-name = Starflier
 
| short-name = Starflier
 
| nickname = gf1_package
 
| nickname = gf1_package
| description = The wonderful starflea.
+
| description = Manufactured in the heartland of Liberty, the 750 is the most
 +
economical ship of its class. With ample cargo space and improved handling
 +
over previous models, this ship distinguishes itself as the veritable
 +
"workhorse for the working man."
 
| image = cv_starflier.png
 
| image = cv_starflier.png
 
| icon = cv_starflier.jpg
 
| icon = cv_starflier.jpg
| ship-type = [[Light Fighter]]
+
| ship-type = Light Fighter
 
| faction = [[Sirius Civilian]]
 
| faction = [[Sirius Civilian]]
| hit-points = 1100
+
| faction-raw = Sirius Civilian
 +
| hit-points = 1,100
 
| nanobots = 10
 
| nanobots = 10
 
| batteries = 10
 
| batteries = 10
| power-capacity = 1000
+
| power-capacity = 1,000u
| power-recharge = 95
+
| power-regen = 95 u/s
 
| cargo-space = 20
 
| cargo-space = 20
| ship-price = 10900
+
| ship-price = 10,900
| package-price = 12400
+
| package-price = 12,400
| turn-rate = 1.66
+
| turn-rate-avg = 95.49 deg/sec (1.67 rad/sec)
| responsiveness = 23.72
+
| turn-rate-pitch = 95.49 deg/sec (1.67 rad/sec)
 +
| turn-rate-yaw = 95.49 deg/sec (1.67 rad/sec)
 +
| turn-rate-roll = 94.95 deg/sec (1.66 rad/sec)
 +
| turn-accel = 6.58
 
| engine-speed = 80
 
| engine-speed = 80
 
| thruster-speed = 200
 
| thruster-speed = 200
Line 157: Line 189:
 
* 1 [[Mine Droppers]]
 
* 1 [[Mine Droppers]]
 
* 1 [[Countermeasures]]
 
* 1 [[Countermeasures]]
* [[Light Fighter Shields|Class 3 LF Shield]]
+
* 1 [[Light Fighter Shields|Class 3 LF Shield]]
| add-ons = {{{!}} class="wikitable sortable
+
| add-ons = {{{!}} class="wikitable sortable" style="margin-left: 3em;"
 +
{{!}}-
 +
!style="padding: 3px; text-align: left;"{{!}}Equipment
 +
!style="padding: 3px; text-align: right;"{{!}}Price
 +
{{!}}-
 +
{{!}}[[Scanner]]
 +
{{!}}style="padding: 3px; text-align: right;"{{!}}$500
 
{{!}}-
 
{{!}}-
!Equipment!!Price
+
{{!}}[[SG-a "Sentry" Light Fighter Graviton Shield]]
{{!-}}
+
{{!}}style="padding: 3px; text-align: right;"{{!}}$1,000
{{!}}Scanner{{!}}500
 
{{!-}}
 
{{!}}Sentry L. F. Shield{{!}}1000
 
 
{{!}}}
 
{{!}}}
 
| places-sold =  
 
| places-sold =  
{{{!}} class="wikitable collapsible collapsed"
+
{{{!}} class="wikitable collapsible collapsed" style="margin-left: 3em;"
 
!Spoiler: Buying Locations
 
!Spoiler: Buying Locations
 
{{!}}-
 
{{!}}-
 
{{!}}
 
{{!}}
{{{!}} class="wikitable sortable"
+
{{{!}} class="wikitable sortable" style="margin: 4px;"
 
{{!}}-
 
{{!}}-
 
!Base!!Owner!!System!!Region
 
!Base!!Owner!!System!!Region
Line 181: Line 216:
 
{{!}}}
 
{{!}}}
 
}}
 
}}
[[Category:Templates]]
+
 
</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 21:31, 11 February 2015

Template:Ship is for Ships.

Recognized attributes are shown in the Usage section below. Of particular note:

  • full-name is the item's full name, as extracted from the infocard data, and is used for the name that is shown in the infobox. It should also be used for the page title.
  • description is used for the text block at the top of the page.
  • image is used for the image of the ship. This name is extracted from the 3D model name, and should point to the current ship model rather than the ship. This allows multiple ships to use the same model, and also allows a ship to change to another model without breaking other ships that use the same model.
  • faction (singular) contains a linked version of the Owner Faction name (necessary for efficient redirection of Guard factions), while faction-raw contains the unlinked target faction name (necessary for Category links).

The remaining attributes are used to populate fields throughout the page.

Usage

{{Ship
| full-name = CTE 750AE Civilian Starflier
| short-name = Starflier
| nickname = gf1_package
| description = Manufactured in the heartland of Liberty, the 750 is the most 
economical ship of its class. With ample cargo space and improved handling
over previous models, this ship distinguishes itself as the veritable
"workhorse for the working man." 
| image = cv_starflier.png
| icon = cv_starflier.jpg
| ship-type = Light Fighter
| faction = [[Sirius Civilian]]
| faction-raw = Sirius Civilian
| hit-points = 1,100
| nanobots = 10
| batteries = 10
| power-capacity = 1,000u
| power-regen = 95 u/s
| cargo-space = 20
| ship-price = 10,900
| package-price = 12,400
| turn-rate-avg = 95.49 deg/sec (1.67 rad/sec)
| turn-rate-pitch = 95.49 deg/sec (1.67 rad/sec)
| turn-rate-yaw = 95.49 deg/sec (1.67 rad/sec)
| turn-rate-roll = 94.95 deg/sec (1.66 rad/sec)
| turn-accel = 6.58
| engine-speed = 80
| thruster-speed = 200
| cruise-speed = 350
| strafe-speed = 33
| reverse-speed = 16
| hard-points = * 1 [[Class 3 Guns]]
* 2 [[Class 2 Guns]]
* 1 [[Mine Droppers]]
* 1 [[Countermeasures]]
* 1 [[Light Fighter Shields|Class 3 LF Shield]]
| add-ons = {{{!}} class="wikitable sortable" style="margin-left: 3em;"
{{!}}-
!style="padding: 3px; text-align: left;"{{!}}Equipment
!style="padding: 3px; text-align: right;"{{!}}Price
{{!}}-
{{!}}[[Scanner]]
{{!}}style="padding: 3px; text-align: right;"{{!}}$500
{{!}}-
{{!}}[[SG-a "Sentry" Light Fighter Graviton Shield]]
{{!}}style="padding: 3px; text-align: right;"{{!}}$1,000
{{!}}}
| places-sold = 
{{{!}} class="wikitable collapsible collapsed" style="margin-left: 3em;"
!Spoiler: Buying Locations
{{!}}-
{{!}}
{{{!}} class="wikitable sortable" style="margin: 4px;"
{{!}}-
!Base!!Owner!!System!!Region
{{!}}-
{{!}}Base A{{!}}{{!}}Faction A{{!}}{{!}}System A{{!}}{{!}}Region A
{{!}}-
{{!}}Base B{{!}}{{!}}Faction B{{!}}{{!}}System B{{!}}{{!}}Region B
{{!}}}
{{!}}}
}}

Result

CTE 750AE Civilian Starflier
Cv starflier.png
Ship
Owner Faction Sirius Civilian
Ship Class Light Fighter
Hit-Points 1,100
Nanobots 10
Shield Batteries 10
Power Capacity 1,000u
Power Regen 95 u/s
Cargo Space 20
Ship Hull Price 10,900
Package Price 12,400

Manufactured in the heartland of Liberty, the 750 is the most economical ship of its class. With ample cargo space and improved handling over previous models, this ship distinguishes itself as the veritable "workhorse for the working man."

Performance Data

  • Vertical Turn-Rate: 95.49 deg/sec (1.67 rad/sec)
  • Lateral Turn-Rate: 95.49 deg/sec (1.67 rad/sec)
  • Rolling Turn-Rate: 94.95 deg/sec (1.66 rad/sec)
  • Sensitivity: 6.58
  • Impulse Speed: 80 m/s
  • Max Thrust Speed: 200 m/s
  • Cruise Speed: 350 m/s
  • Reverse Speed: 16 m/s
  • Strafing Speed: 33 m/s

Hard-Points

Cloak Data

This ship is not able to use a cloaking device.

Ship Package

The ship package includes the hull plus the following items:
Equipment Price
Scanner $500
SG-a "Sentry" Light Fighter Graviton Shield $1,000


Buy/Sell Locations

The following bases are known to carry this ship, although sales may be restricted to pilots with a high positive reputation.

Owner Reviews

To add a review, locate the owner-reviews variable at the bottom of the raw page data, and create a new entry using Template:Review.