Template:InfoboxShip2

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search

fThis template defines the table "Starships2". View table.

{{{name}}}
[[{{{image}}}|250px]]
Type: {{{designation}}} [[{{{type}}}]]
Size 0 Tons
Hull Configuration [[{{{configuration}}}]]
Tech Level TL–{{{TL}}}
Engineering
Computer
Jump Jump-0
Maneuver 0 G
Armaments
Hardpoints 0
Accommodations
Staterooms 0
Personnel
Crew 0
High/Mid Passengers 0
Payload
Cargo Hold 0 Tons
Fuel tank 0 Tons
Construction
Origin Third Imperium
Price
Cost MCr0
Source
Canon Unpublished, non-canon design

This is a infobox template for starships, space ships, and other space capable vehicle designs.

This template also stores data in one or more Cargo tables. This means the format of the parameter values are more specific and picky. The parameters to the template are parsed and inserted into tables in the database for query through Cargo.

InfoboxShip2 Parameters
Parameter
name
Remarks Formatting Default Value Visibility
name Name of the ship or class of ships. For ship classes, include the word "class" (lower case) in the name. For individual ships Named Ships, enter only the name. Text, no formatting Required Visible
alsosee Link to an additional important reference or page. Page name with brackets Empty If value
architect The architect fee for the ship in MegaCredits. raw number 0 If value
blueprint Does this ship design have a blueprint or Deck Plans available in the wiki or in print? Yes or No No If value
bunks Number of bunk rooms allocated in the ship design for either crew, carried troops, or steerage passengers. raw number 0 If value
canon Is this ship from a canon source? Yes or No No Visible
caption A short description of the image displayed under image. Text Empty If value
cargo Size of the cargo hold in Tons. raw number 0 Visible
configuration Hull overall shape and design. text - no formatting or brackets None Visible
construction Time to construct the ship or design in Months raw number 0 If value
cost Cost of the ship in MegaCredits. raw number Required Visible
costQuantity Cost of the ship in MegaCredits when purchased in quantity. raw number 0 If value
craft Number and types of carried craft Text None If value
crew Number of expected crew: officers, enlisted, marines, frozen watch. raw number Required Visible
designation Ship Mission Code - the two to four letter code for the ship mission and designation. Text - no formatting or brackets Required Visible
designer Author and designer for this ship. Author page - no formatting or brackets None If value
designSystem Ship design system used to create this ship: Book 2, High Guard, MegTraveller, FF&S1, FF&S2, QSDS, GT:Starships, T20, MGT1, MGT2, T5, or Other. Text None If value
endservice End of Service, the year when the last ship of this class were retired from active service. Set to 0 for still in service. raw number 0 If value
enlisted Number of enlisted crew on the ship. raw number 0 If value
era See Timeline or Milieu for categories. Page - include brackets None If value
footnote extra note for the infobox, if needed. Displays at bottom of infobox. text None If value
frozenwatch Number of ship crew allocated to be in Frozen Watch. raw number 0 If Value
fuel Tons of Ship Fuel carried for Jump drive, Power plant, and (if needed) maneuver drive raw number 0 Visible
hardpoints Number of weapon hardpoints designated on the ships. raw number 0 Visible
image Image of the ship for the infobox. For best results format the image to be between 200 and 300 pixels both wide and high. File name - no formatting or brackets None If value
illustration Does this ship have additional illustrations in the wiki? Yes or No No If value
jump Jump drive rating of the ship. 0 if none installed raw number 0 Visible
lowberths Number of low berths installed for either the frozen watch or low passage passengers. raw number 0 If value
lowpassage Number of low passage passengers that could be carried raw number 0 If value
maneuver Maneuver drive or NAFAL drive rating. raw number 0 Visible
manufacturer Company or polity building this ship. Page - no formatting or brackets None If value
marines Number of Marines included in the ships complement raw number 0 If value
model Ship's Computer model and description text None Visible
officers Number of officers in the ships crew. raw number 0 If value
origin World or empire where this ship class originated. Page - no formatting or brackets Third Imperium Visible
passengers Number of passengers (High Passage or Middle Passage) expected to be carried raw number 0 Visible
pilots Number of pilots for the carried small craft raw number 0 If value
QSP Quick Ship Profile - The short encoded string of the ship's capability. text None If value
ref Published reference of the source of this ship design. Use Template:Ludography ref. text - Template:Ludography ref None If value
screens Comma separated list of the defensive systems installed. text None If value
seats Number of seats allocated for passengers. Seats are for short term passengers. raw number 0 If value
size Size of the ship in Tons. raw number Required Visible
sizeCategory Category of the ship size and capabilities - ACS, BCS, FCS, or WCS. Page - no formatting or brackets None If value
staterooms Number of full size staterooms allocated in the ship design. Can be used for crew or passengers. raw number 0 Visible
startservice Initial Operational Capability - year the ship design entered service. raw number 0 If value
steerage Number of passengers carried in bunk rooms or other similar conditions. raw number 0 If value
streamlining Streamlining hull shape or aerodynamics. text None If value
TL Technology Level of the ship design. text - no formatting or brackets Required Visible
type Ship type listed in either Military Starship Types or Civilian Starship Types based upon the Ship Mission Code. text - no formatting or brackets Required Visible
weapons Comma separated list of Starship Weapon installed on the ship's hardpoints. text None If value
USP Universal Ship Profile - The High Guard encoded description for the ship. text None If value

Parameter Formatting[edit]

Each parameter has an expected format of the entry as shown in the "Formatting" column. The values there have the following meanings:

  • Text - any text. Since this is for the Infobox, try to be really brief (6 words or less)
    • Text - No formatting. Avoid using any wiki formatting in the field as the template applies formatting
    • Page - No Formatting or brackets. Use the full name of the page as the field, but the template will apply the brackets to create links.
    • Page - Include brackets. This is expected to be a link to a page. Or two.
  • raw number - A simple number like 11 or 42.7. Do not include any other text for the parameter.
  • Yes or No - A Boolean field. Enter only "Yes" or "No".

Default Value[edit]

Some parameters have a default value. If you omit the parameter or leave it blank the parameter is automatically set to the default value.

  • Required - The parameter is a required value, you must supply a value.
  • Empty - The default value is nothing.
  • 0 - The default value is 0, only for the numeric fields.
  • "No" - the default Boolean value.

Visibility[edit]

Determines if the description and the value of a parameter appear in the Infobox.

  • Visible - The description and value always appear in the infobox. If the parameter is omitted or left blank, the default value is shown.
  • If value - The description and value appear in the infobox if parameter has a value. If the parameter has been omitted, left blank, or set to the default value the description and value won't be displayed.
  • Hidden - The parameter value is used internally and will never be displayed in the infobox.

Alphabetical Template[edit]

Copy and paste for inclusion


{{InfoboxShip2
|name         = <Name> class <REQUIRED>
|alsosee      = 
|architect    = 0
|blueprint    = No
|bunks        = 0
|canon        = No
|caption      = 
|cargo        = 0
|configuration= <REQUIRED>
|construction = 0
|cost         = 0 <REQUIRED>
|costQuantity = 0
|craft        = 0
|crew         = 0 <REQUIRED>
|designation  = <REQUIRED>
|designer     = 
|designSystem = 
|endservice   = 0
|enlisted     = 0
|era          = [[Milieu 1116]]
|footnote     =  
|frozenwatch  = 0
|fuel         = 0
|hardpoints   = 0
|image        = 
|illustration = No
|jump         = 0
|lowberths    = 0
|lowpassage   = 0
|maneuver     = 0
|manufacturer = 
|marines      = 0
|model        = 
|officers     = 0
|origin       = 
|passengers   = 0
|pilots       = 0
|QSP          = 
|ref          = 
|screens      = 
|seats        = 0
|size         = 0 <REQUIRED>
|sizeCategory = ACS
|staterooms   = 0
|startservice = 0
|steerage     = 0
|streamlining = 
|TL           = <REQUIRED>
|type         = <REQUIRED>
|weapons      = 
|USP          = 
}} 

Design Template[edit]

Copy and paste for inclusion

{{InfoboxShip2
|name         = <Name> class <REQUIRED>
|image        = 
|caption      = 
|designation  = <REQUIRED>
|type         = <REQUIRED>
|sizeCategory = ACS
|size         = 0 <REQUIRED>
|configuration= <REQUIRED>
|streamlining = 
|TL           = <REQUIRED>
|
|model        = 
|jump         = 0
|maneuver     = 0
|
|hardpoints   = 0
|weapons      = 
|screens      = 
|
|staterooms   = 0
|bunks        = 0
|seats        = 0
|lowberths    = 0
|
|crew         = 0 <REQUIRED>
|officers     = 0
|enlisted     = 0
|pilots       = 0
|marines      = 0
|frozenwatch  = 0
|passengers   = 0
|steerage     = 0
|lowpassage   = 0
|
|cargo        = 0
|fuel         = 0
|craft        = 
|
|construction = 0
|origin       = 
|manufacturer = 
|startservice = 0
|endservice   = 0
|
|cost         = 0 <REQUIRED>
|costQuantity = 0
|architect    = 0
|
|QSP          = 
|USP          = 
|
|blueprint    = No
|illustration = No
|
|alsosee      = 
|canon        = No
|designer     = 
|designSystem = 
|era          = [[Milieu 1116]]
|ref          = 
|
|footnote     = 
}}