Difference between revisions of "Template:Infobox fictional vehicle/doc"

From blackwiki
Jump to navigation Jump to search
imported>Gonnym
imported>Gonnym
(→‎TemplateData: the visual editor adds all suggested fields even if someone editors something else. Marking them as false so articles won't have empty parameter lists)
Line 231: Line 231:
 
"type": "string",
 
"type": "string",
 
"required": false,
 
"required": false,
"suggested": true,
+
"suggested": false,
 
"deprecated": false,
 
"deprecated": false,
 
"description": "Vehicle name to display in top header (default = PAGENAME)."
 
"description": "Vehicle name to display in top header (default = PAGENAME)."
Line 239: Line 239:
 
"type": "string",
 
"type": "string",
 
"required": false,
 
"required": false,
"suggested": true,
+
"suggested": false,
 
"deprecated": false,
 
"deprecated": false,
 
"description": "Name of the series in which vehicle appears."
 
"description": "Name of the series in which vehicle appears."
Line 247: Line 247:
 
"type": "string",
 
"type": "string",
 
"required": false,
 
"required": false,
"suggested": true,
+
"suggested": false,
 
"deprecated": false,
 
"deprecated": false,
 
"description": "Name of the fictional world or story in which vehicle appears. Does not italicize title."
 
"description": "Name of the fictional world or story in which vehicle appears. Does not italicize title."
Line 263: Line 263:
 
"type": "string",
 
"type": "string",
 
"required": false,
 
"required": false,
"suggested": true,
+
"suggested": false,
 
"deprecated": false,
 
"deprecated": false,
 
"description": "Image of the vehicle. \"File:\" and wikilinking is not required. i.e. use {{para|image|Example.png}}."
 
"description": "Image of the vehicle. \"File:\" and wikilinking is not required. i.e. use {{para|image|Example.png}}."
Line 279: Line 279:
 
"type": "string",
 
"type": "string",
 
"required": false,
 
"required": false,
"suggested": true,
+
"suggested": false,
 
"deprecated": false,
 
"deprecated": false,
 
"description": "Alt text for image per [[WP:MOSALT]]."
 
"description": "Alt text for image per [[WP:MOSALT]]."
Line 287: Line 287:
 
"type": "string",
 
"type": "string",
 
"required": false,
 
"required": false,
"suggested": true,
+
"suggested": false,
 
"deprecated": false,
 
"deprecated": false,
 
"description": "A caption explaining the image."
 
"description": "A caption explaining the image."
Line 295: Line 295:
 
"type": "string",
 
"type": "string",
 
"required": false,
 
"required": false,
"suggested": true,
+
"suggested": false,
 
"deprecated": false,
 
"deprecated": false,
 
"description": "The title of the major work the fictional element first appeared in. Major works include TV series, films, books, albums and games."
 
"description": "The title of the major work the fictional element first appeared in. Major works include TV series, films, books, albums and games."
Line 303: Line 303:
 
"type": "string",
 
"type": "string",
 
"required": false,
 
"required": false,
"suggested": true,
+
"suggested": false,
 
"deprecated": false,
 
"deprecated": false,
 
"description": "The title of the minor work the fictional element first appeared in. Minor works include TV episodes, chapters, songs and game missions."
 
"description": "The title of the minor work the fictional element first appeared in. Minor works include TV episodes, chapters, songs and game missions."
Line 311: Line 311:
 
"type": "string",
 
"type": "string",
 
"required": false,
 
"required": false,
"suggested": true,
+
"suggested": false,
 
"deprecated": false,
 
"deprecated": false,
 
"description": "The number of the comic book issue the fictional element first appeared in."
 
"description": "The number of the comic book issue the fictional element first appeared in."
Line 319: Line 319:
 
"type": "string",
 
"type": "string",
 
"required": false,
 
"required": false,
"suggested": true,
+
"suggested": false,
 
"deprecated": false,
 
"deprecated": false,
 
"description": "The date of the publication/release of the minor work where the fictional element first appeared in."
 
"description": "The date of the publication/release of the minor work where the fictional element first appeared in."
Line 327: Line 327:
 
"type": "string",
 
"type": "string",
 
"required": false,
 
"required": false,
"suggested": true,
+
"suggested": false,
 
"deprecated": false,
 
"deprecated": false,
 
"description": "The title of the major work the fictional element last appeared in. Major works include TV series, films, books, albums and games."
 
"description": "The title of the major work the fictional element last appeared in. Major works include TV series, films, books, albums and games."
Line 335: Line 335:
 
"type": "string",
 
"type": "string",
 
"required": false,
 
"required": false,
"suggested": true,
+
"suggested": false,
 
"deprecated": false,
 
"deprecated": false,
 
"description": "The title of the minor work the fictional element last appeared in. Minor works include TV episodes, chapters, songs and game missions."
 
"description": "The title of the minor work the fictional element last appeared in. Minor works include TV episodes, chapters, songs and game missions."
Line 343: Line 343:
 
"type": "string",
 
"type": "string",
 
"required": false,
 
"required": false,
"suggested": true,
+
"suggested": false,
 
"deprecated": false,
 
"deprecated": false,
 
"description": "The number of the comic book issue the fictional element last appeared in."
 
"description": "The number of the comic book issue the fictional element last appeared in."
Line 351: Line 351:
 
"type": "string",
 
"type": "string",
 
"required": false,
 
"required": false,
"suggested": true,
+
"suggested": false,
 
"deprecated": false,
 
"deprecated": false,
 
"description": "The date of the publication/release of the minor work where the fictional element last appeared in."
 
"description": "The date of the publication/release of the minor work where the fictional element last appeared in."
Line 359: Line 359:
 
"type": "string",
 
"type": "string",
 
"required": false,
 
"required": false,
"suggested": true,
+
"suggested": false,
 
"deprecated": false,
 
"deprecated": false,
 
"description": "First appearance of the vehicle."
 
"description": "First appearance of the vehicle."
Line 367: Line 367:
 
"type": "string",
 
"type": "string",
 
"required": false,
 
"required": false,
"suggested": true,
+
"suggested": false,
 
"deprecated": false,
 
"deprecated": false,
 
"description": "Last appearance of the vehicle."
 
"description": "Last appearance of the vehicle."
Line 375: Line 375:
 
"type": "string",
 
"type": "string",
 
"required": false,
 
"required": false,
"suggested": true,
+
"suggested": false,
 
"deprecated": false,
 
"deprecated": false,
 
"description": "Name of the individuals who are credited with the creation of the vehicle."
 
"description": "Name of the individuals who are credited with the creation of the vehicle."
Line 383: Line 383:
 
"type": "string",
 
"type": "string",
 
"required": false,
 
"required": false,
"suggested": true,
+
"suggested": false,
 
"deprecated": false,
 
"deprecated": false,
 
"description": "Name of the original vehicle the fictional vehicle is based on. Use {{based on}} to add the title of original vehicle and the names of the original creators."
 
"description": "Name of the original vehicle the fictional vehicle is based on. Use {{based on}} to add the title of original vehicle and the names of the original creators."
Line 407: Line 407:
 
"type": "date",
 
"type": "date",
 
"required": false,
 
"required": false,
"suggested": true,
+
"suggested": false,
 
"deprecated": false,
 
"deprecated": false,
 
"description": "The date the vehicle was decommissioned."
 
"description": "The date the vehicle was decommissioned."
Line 415: Line 415:
 
"type": "string",
 
"type": "string",
 
"required": false,
 
"required": false,
"suggested": true,
+
"suggested": false,
 
"deprecated": false,
 
"deprecated": false,
 
"description": "The captain of the vehicle; Used primarily for ships and spaceships."
 
"description": "The captain of the vehicle; Used primarily for ships and spaceships."
Line 530: Line 530:
 
"type": "number",
 
"type": "number",
 
"required": false,
 
"required": false,
"suggested": true,
+
"suggested": false,
 
"deprecated": false,
 
"deprecated": false,
 
"description": "The vehicle's height."
 
"description": "The vehicle's height."

Revision as of 19:47, 4 May 2019

Infobox fictional vehicle is used to create an infobox for a fictional vehicle of any type - including automobiles, ships, spaceships and space stations.

Usage

The blank form immediately below shows the most commonly used fields, and complete instructions are listed further down the page.

Script error: No such module "If empty".
{{{series}}} vehicle
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright=1|{{{alt}}}]]
{{{caption}}}
First appearance
  • "{{{first_minor}}}"
  • {{{first_major}}}
  • {{{first_date}}}
Last appearance
  • "{{{last_minor}}}"
  • {{{last_major}}}
  • {{{last_date}}}
Created by{{{creator}}}
Based on{{{based_on}}}
Information
Affiliation{{{affiliation}}}
Launched{{{launched}}}
Decommissioned{{{decommissioned}}}
Captain{{{captain}}}
Combat vehicles{{{fighters}}}
Auxiliary vehicles{{{aux_vehicle}}}
General characteristics
ClassScript error: No such module "If empty".
Registry{{{registry}}}
Armaments{{{armaments}}}
DefensesScript error: No such module "If empty".
Maximum speed{{{max_speed}}}
Propulsion{{{propulsion}}}
Chassis{{{chassis}}}
Power{{{power}}}
Mass{{{mass}}}
Length{{{length}}}
Width{{{width}}}
Height{{{height}}}
Population volume{{{population_volume}}}
{{Infobox fictional vehicle
| name                =
| other_names         =
| series              = <!-- or |franchise=; use without the italic on the outside -->
| image               =
| alt                 =
| caption             =
| first_major         = <!-- per [[MOS:MAJORWORK]] - major works include TV series, films, books, albums and games -->
| first_minor         = <!-- or |first_issue=; Per [[MOS:MINORWORK]] - minor works include TV episodes, chapters, songs and game missions -->
| first_date          =
| last_major          =
| last_minor          = <!-- or |last_issue= -->
| last_date           =
| creator             =
| based_on            = <!-- if not an original creation, use {{based on|vehicle|author}} -->
| affiliation         =
| launched            =
| decommissioned      =
| captain             =
| fighters            =
| aux_vehicle         =
| class               =
| registry            =
| armaments           =
| defense             = <!-- or |defence= -->
| max_speed           =
| propulsion          =
| chassis             =
| power               =
| mass                =
| length              =
| width               =
| height              =
| population_volume   =
}}

Parameters

All parameters are optional. Separate multiple entries using {{Plainlist}}.

Parameter Notes
color Background color for header bars (default = #DEDEE2). The text color is automatically computed. Must meet AAA compliance standards outlines on WP:COLOR.
name Vehicle name to display in top header (default = PAGENAME).
series Name of the series in which vehicle appears.
franchise Name of the fictional world or story in which vehicle appears. Does not italicize title.
multiple Set to yes if the infobox describes more than one vehicle.
image Image of the vehicle. "File:" and wikilinking is not required. i.e. use |image=Example.png.
image_upright The image size defaults to frameless (220px). The size should not be set to a value that would result in an image width greater than 270px. See help below for guidance on determining the value to be used.
alt Alt text for image per WP:MOSALT.
caption A caption explaining the image.
first_major The title of the major work the fictional element first appeared in. Major works include TV series, films, books, albums and games.
first_minor The title of the minor work the fictional element first appeared in. Minor works include TV episodes, chapters, songs and game missions.
first_issue The number of the comic book issue the fictional element first appeared in.
first_date The date of the publication/release of the minor work where the fictional element first appeared in.
last_major The title of the major work the fictional element last appeared in. Major works include TV series, films, books, albums and games.
last_minor The title of the minor work the fictional element last appeared in. Minor works include TV episodes, chapters, songs and game missions.
last_issue The number of the comic book issue the fictional element last appeared in.
last_date The date of the publication/release of the minor work where the fictional element last appeared in.
first First appearance of the vehicle.
last Last appearance of the vehicle.
creator Name of the individuals who are credited with the creation of the vehicle.
based_on Name of the original vehicle the fictional vehicle is based on. Use to add the title of original vehicle and the names of the original creators.
affiliation The groups or teams the vehicle belongs to.
launched The date the vehicle went operational.
decommissioned The date the vehicle was decommissioned.
captain The captain of the vehicle; Used primarily for ships and spaceships.
fighters The ship or station's combat vehicles.
aux_vehicle The vehicle's auxiliary vehicles.
class The vehicle's class type.
registry The vehicle's register number.
armaments The vehicle's weapons.
defense The vehicle's defenses.
max_speed The vehicle's max speed.
propulsion
chassis The material that the vehicle is made from.
power The type of power the vehicle runs on.
mass The vehicle's mass.
length The vehicle's length.
width The vehicle's width.
height The vehicle's height.
population_volume The number of personal that are present on-board the vehicle.

TemplateData

TemplateData
See the monthly parameter usage report for this template.

TemplateData for Infobox fictional vehicle

Syntax error in JSON.

Tracking categories