Template:ShipBox: Difference between revisions
From Shiptest Wiki
Jump to navigationJump to search
m (Adds template data) |
m (Readjusts) |
||
Line 24: | Line 24: | ||
"manufacturer": { | "manufacturer": { | ||
"label": "Ship Manufacturer", | "label": "Ship Manufacturer", | ||
"type": "line" | "type": "line", | ||
"suggested": true | |||
}, | }, | ||
"faction": { | "faction": { | ||
"label": "Ship Faction", | "label": "Ship Faction", | ||
"type": "line" | "type": "line", | ||
"suggested": true | |||
}, | }, | ||
"size": { | "size": { | ||
Line 39: | Line 41: | ||
"label": "Crew Size", | "label": "Crew Size", | ||
"description": "Amount of crew members by default, specified in the JSON file.", | "description": "Amount of crew members by default, specified in the JSON file.", | ||
"type": "number" | "type": "number", | ||
"suggested": true | |||
}, | }, | ||
"propulsion": { | "propulsion": { | ||
"label": "Propulsion Type", | "label": "Propulsion Type", | ||
"description": "The propulsion type(s).", | "description": "The propulsion type(s).", | ||
"type": "line" | "type": "line", | ||
"suggested": true | |||
}, | }, | ||
"traits": { | "traits": { | ||
Line 50: | Line 54: | ||
"description": "Any extra traits to show. Leave first line blank.", | "description": "Any extra traits to show. Leave first line blank.", | ||
"example": "\n* Trait 1\n* Trait 2\n* Etcetera", | "example": "\n* Trait 1\n* Trait 2\n* Etcetera", | ||
"type": "string" | "type": "string", | ||
"suggested": true | |||
} | } | ||
} | } |
Revision as of 21:51, 22 January 2023
A sidebar for showing ship info.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Name of the ship to show at the top of the box. | Line | required |
Short Name | shortname | The shortened name of the ship, usually lacking spaces. | Line | required |
Box Color | color | The hex code for the color of the box's accents. | Line | optional |
Ship Manufacturer | manufacturer | no description | Line | suggested |
Ship Faction | faction | no description | Line | suggested |
Ship Size | size | The approximate size of the ship. No need to be specific. | Line | suggested |
Crew Size | crew | Amount of crew members by default, specified in the JSON file. | Number | suggested |
Propulsion Type | propulsion | The propulsion type(s). | Line | suggested |
Extra Traits | traits | Any extra traits to show. Leave first line blank.
| String | suggested |
Example usage of the template:
{{ShipBox | name = Box-class Hospital Ship | shortname = Box-class | color = 88cc99 | manufacturer = Unknown | faction = Independent | size = Medium | crew = 9 | propulsion = Plasma Engines | traits = * Full medical bay * Little weaponry }}
[{{{url}}} {{{url}}}]
Short Name: | Box-class |
Manufacturer: | Unknown |
Faction: | Independent |
Size: | Medium |
Crew Size: | 9 |
Propulsion: | Plasma Engines |
- Full medical bay
- Little weaponry
[{{{url}}} {{{url}}}]
Short Name: | name |
Manufacturer: | Unknown |
Faction: | Independent |
Size: | Unknown |
Crew Size: | Unspecified |
Propulsion: | Unspecified |
No traits.