Template:Documentation subpage
Usage
This template can be used as a standardized sidebar on any starship page. The resulting layout can be seen in the example below.
The following code can be copied to the top of any starship article directly.
{{sidebar starship |name = |dt = |image = |caption = |class = |registry = |owner = |operator = |affiliation = |status = |datestatus = |image2 = |caption2 = |logo = }}
The template uses the following variables:
Variables
- name
- Name of the starship
- dt
- Formats the displayed title of the page if disambiguations are in use
- image
- Filename of an image, without "File:" namespace prefix.
- class
- Class or Type
- registry
- Registry number, if known. Leave blank otherwise, this field is optional
- owner
- Name of the entity that owns this vessel
- operator
- Name of the entity that operates this vessel
- affiliation
- Name of the entity that is affiliated with this vessel; only used if Owner and Operator are blank
- status
- Status of the vessel when last seen. No speculation about possible later status changes of the vessel!
- datestatus
- Year of the status given above.
- logo
- Assignment patch. Leave blank otherwise, this field is optional
Example
Template loop detected: Template:Sidebar starship
{{sidebar starship |name = ISS ''Avenger'' |image = ISS Avenger.jpg |caption = ISS Avenger |class = {{class|NX}} |registry = NX-09 |owner = [[Terran Empire]] |operator = {{mu|Starfleet}} |status = Destroyed |datestatus = 2155 |image2 = ISS Avenger explodes.jpg |caption2 = ISS Avenger destroyed |logo = ISS Avenger assignment patch.png }}