Template:ShipBox
<templatedata>
{
"description": "A sidebar for showing ship info.",
"params": {
"name": {
"label": "Name",
"description": "Name of the ship to show at the top of the box.",
"type": "line",
"required": true
},
"shortname": {
"label": "Short Name",
"description": "The shortened name of the ship, usually lacking spaces.",
"type": "line",
"required": true
},
"color": {
"label": "Box Color",
"description": "The hex code for the color of the box's accents.",
"type": "line"
},
"manufacturer": {
"label": "Ship Manufacturer",
"type": "line",
"suggested": true
},
"faction": {
"label": "Ship Faction",
"type": "line",
"suggested": true
},
"crew": {
"label": "Crew Size",
"description": "Amount of crew members by default, specified in the JSON file.",
"type": "number",
"suggested": true
},
"propulsion": {
"label": "Propulsion Type",
"description": "The propulsion type(s).",
"type": "line",
"suggested": true
},
"buyable":{
"label": "Buyable",
"description": "Is the ship buyable. Add extra information if it has odd requirements.",
"type": "line", "suggested": true
},
"traits": { "label": "Extra Traits", "description": "Any extra traits to show. Leave first line blank.", "example": "\n* Trait 1\n* Trait 2\n* Etcetera", "type": "string", "suggested": true }
}
}
</templatedata>
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
}}
| Short Name: | Box-class |
| Manufacturer: | Unknown |
| Faction: | Independent |
| Crew Size: | 9 |
| Propulsion: | Plasma Engines |
| Buyable: | Yes |
- Full medical bay
- Little weaponry