Template:ShipBox: Difference between revisions

From Shiptest Wiki
Jump to navigationJump to search
No edit summary
(removes size)
Line 29: Line 29:
"faction": {
"faction": {
"label": "Ship Faction",
"label": "Ship Faction",
"type": "line",
"suggested": true
},
"size": {
"label": "Ship Size",
"description": "The approximate size of the ship. No need to be specific.",
"type": "line",
"type": "line",
"suggested": true
"suggested": true
Line 78: Line 72:
  | manufacturer = Unknown
  | manufacturer = Unknown
  | faction      = Independent
  | faction      = Independent
| size        = Medium
  | crew        = 9
  | crew        = 9
  | propulsion  = Plasma Engines
  | propulsion  = Plasma Engines
Line 93: Line 86:
  | manufacturer = Unknown
  | manufacturer = Unknown
  | faction      = Independent
  | faction      = Independent
| size        = Medium
  | crew        = 9
  | crew        = 9
  | propulsion  = Plasma Engines
  | propulsion  = Plasma Engines
Line 120: Line 112:
|'''Faction:'''
|'''Faction:'''
| {{{faction|Independent}}}
| {{{faction|Independent}}}
|-
|'''Size:'''
| {{{size|Unknown}}}
|-
|-
|'''Crew Size:'''
|'''Crew Size:'''

Revision as of 04:42, 17 March 2023


A sidebar for showing ship info.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Namename

Name of the ship to show at the top of the box.

Linerequired
Short Nameshortname

The shortened name of the ship, usually lacking spaces.

Linerequired
Box Colorcolor

The hex code for the color of the box's accents.

Lineoptional
Ship Manufacturermanufacturer

no description

Linesuggested
Ship Factionfaction

no description

Linesuggested
Crew Sizecrew

Amount of crew members by default, specified in the JSON file.

Numbersuggested
Propulsion Typepropulsion

The propulsion type(s).

Linesuggested
Buyablebuyable

Is the ship buyable. Add extra information if it has odd requirements.

Linesuggested
Extra Traitstraits

Any extra traits to show. Leave first line blank.

Example
  • Trait 1
  • Trait 2
  • Etcetera
Stringsuggested

Example usage of the template:

{{ShipBox
 | name         = Box-class Hospital Ship
 | shortname    = Box-class
 | color        = 88cc99
 | manufacturer = Unknown
 | faction      = Independent
 | crew         = 9
 | propulsion   = Plasma Engines
 | buyable      = Yes
 | traits       = 
* Full medical bay
* Little weaponry
}}
Box-class Hospital Ship
[{{{url}}} {{{url}}}]
Basic Information
Short Name: Box-class
Manufacturer: Unknown
Faction: Independent
Crew Size: 9
Propulsion: Plasma Engines
Buyable: Yes

  • Full medical bay
  • Little weaponry




{{{name}}}
[{{{url}}} {{{url}}}]
Basic Information
Short Name: name
Manufacturer: Unknown
Faction: Independent
Crew Size: Unspecified
Propulsion: Unspecified
Buyable: Unspecified

No traits.