Difference between revisions of "Template:Infobox fictional vehicle/sandbox"
imported>Thumperward |
imported>Frietjes |
||
| Line 1: | Line 1: | ||
| − | + | {{Infobox | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|above = {{ifempty|{{{name<includeonly>|</includeonly>}}}|{{PAGENAME}}}} | |above = {{ifempty|{{{name<includeonly>|</includeonly>}}}|{{PAGENAME}}}} | ||
|abovestyle = background: {{ifempty|{{{colour|{{{color|}}}}}}|lightsteelblue}}; | |abovestyle = background: {{ifempty|{{{colour|{{{color|}}}}}}|lightsteelblue}}; | ||
| − | |image | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|}}}|sizedefault=250px}} |
| − | |||
|caption = {{{caption<includeonly>|</includeonly>}}} | |caption = {{{caption<includeonly>|</includeonly>}}} | ||
|captionstyle = font-size: smaller; | |captionstyle = font-size: smaller; | ||
|headerstyle = background: {{ifempty|{{{colour|{{{color|}}}}}}|lightsteelblue}}; | |headerstyle = background: {{ifempty|{{{colour|{{{color|}}}}}}|lightsteelblue}}; | ||
| − | |||
| − | |||
| − | + | ||
|label1 = First appearance | |label1 = First appearance | ||
|data1 = {{{first<includeonly>|</includeonly>}}} | |data1 = {{{first<includeonly>|</includeonly>}}} | ||
| − | + | ||
|label2 = Latest appearance | |label2 = Latest appearance | ||
|data2 = {{{last<includeonly>|</includeonly>}}} | |data2 = {{{last<includeonly>|</includeonly>}}} | ||
| − | + | ||
|label3 = Fate | |label3 = Fate | ||
|data3 = {{{status<includeonly>|</includeonly>}}} | |data3 = {{{status<includeonly>|</includeonly>}}} | ||
| − | + | ||
|label4 = Affiliation | |label4 = Affiliation | ||
|data4 = {{{affiliation<includeonly>|</includeonly>}}} | |data4 = {{{affiliation<includeonly>|</includeonly>}}} | ||
| − | + | ||
|label5 = Launched | |label5 = Launched | ||
|data5 = {{{launched<includeonly>|</includeonly>}}} | |data5 = {{{launched<includeonly>|</includeonly>}}} | ||
| − | + | ||
|label6 = Decommissioned | |label6 = Decommissioned | ||
|data6 = {{{decommissioned<includeonly>|</includeonly>}}} | |data6 = {{{decommissioned<includeonly>|</includeonly>}}} | ||
| − | + | ||
|label7 = References | |label7 = References | ||
|data7 = {{{primeref<includeonly>|</includeonly>}}} | |data7 = {{{primeref<includeonly>|</includeonly>}}} | ||
|header8 = General characteristics | |header8 = General characteristics | ||
| − | + | ||
| − | |||
| − | |||
|label9 = Class | |label9 = Class | ||
|data9 = {{{class<includeonly>|</includeonly>}}} | |data9 = {{{class<includeonly>|</includeonly>}}} | ||
| − | + | ||
|label10 = Registry | |label10 = Registry | ||
|data10 = {{{registry<includeonly>|</includeonly>}}} | |data10 = {{{registry<includeonly>|</includeonly>}}} | ||
| − | + | ||
|label11 = Maximum speed | |label11 = Maximum speed | ||
|data11 = {{{maxspeed<includeonly>|</includeonly>}}} | |data11 = {{{maxspeed<includeonly>|</includeonly>}}} | ||
| − | + | ||
|label12 = Fighters | |label12 = Fighters | ||
| − | |data12 = | + | |data12 = |
| − | + | {{{fighters<includeonly>|</includeonly>}}} | |
| − | + | ||
|label13 = Auxiliary craft | |label13 = Auxiliary craft | ||
| − | |data13 = | + | |data13 = |
| − | + | {{{auxcraft<includeonly>|</includeonly>}}} | |
| − | + | ||
|label14 = Armaments | |label14 = Armaments | ||
| − | |data14 = | + | |data14 = |
| − | + | {{{armaments<includeonly>|</includeonly>}}} | |
| − | + | ||
|label15 = Defences | |label15 = Defences | ||
| − | |data15 = | + | |data15 = |
| − | + | {{{defence|{{{defense<includeonly>|</includeonly>}}}}}} | |
| − | + | ||
|label16 = Propulsion | |label16 = Propulsion | ||
|data16 = {{{propulsion<includeonly>|</includeonly>}}} | |data16 = {{{propulsion<includeonly>|</includeonly>}}} | ||
| − | + | ||
|label17 = Power | |label17 = Power | ||
|data17 = {{{power<includeonly>|</includeonly>}}} | |data17 = {{{power<includeonly>|</includeonly>}}} | ||
| − | + | ||
|label18 = Mass | |label18 = Mass | ||
|data18 = {{{mass<includeonly>|</includeonly>}}} | |data18 = {{{mass<includeonly>|</includeonly>}}} | ||
| − | + | ||
|label19 = Length | |label19 = Length | ||
|data19 = {{{length<includeonly>|</includeonly>}}} | |data19 = {{{length<includeonly>|</includeonly>}}} | ||
| − | + | ||
|label20 = Width | |label20 = Width | ||
|data20 = {{{width<includeonly>|</includeonly>}}} | |data20 = {{{width<includeonly>|</includeonly>}}} | ||
| − | + | ||
|label21 = Height | |label21 = Height | ||
|data21 = {{{height<includeonly>|</includeonly>}}} | |data21 = {{{height<includeonly>|</includeonly>}}} | ||
| − | |||
|below = | |below = | ||
}}<noinclude> | }}<noinclude> | ||
Revision as of 23:09, 24 February 2014
| Script error: No such module "If empty". | |
|---|---|
| First appearance | {{{first}}} |
| Latest appearance | {{{last}}} |
| Fate | {{{status}}} |
| Affiliation | {{{affiliation}}} |
| Launched | {{{launched}}} |
| Decommissioned | {{{decommissioned}}} |
| References | {{{primeref}}} |
| General characteristics | |
| Class | {{{class}}} |
| Registry | {{{registry}}} |
| Maximum speed | {{{maxspeed}}} |
| Fighters | {{{fighters}}} |
| Auxiliary craft | {{{auxcraft}}} |
| Armaments | {{{armaments}}} |
| Defences | {{{defense}}} |
| Propulsion | {{{propulsion}}} |
| Power | {{{power}}} |
| Mass | {{{mass}}} |
| Length | {{{length}}} |
| Width | {{{width}}} |
| Height | {{{height}}} |
| This is the template sandbox page for Template:Infobox fictional vehicle (diff). |
| This template uses Lua: |
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 |
|
| Last appearance |
|
| 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 | |
| Class | Script error: No such module "If empty". |
| Registry | {{{registry}}} |
| Armaments | {{{armaments}}} |
| Defenses | Script 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 personnel that are present on-board the vehicle. |
TemplateData
TemplateData
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
See the monthly parameter usage report for this template.
TemplateData for Infobox fictional vehicle Creates an infobox for a fictional vehicle of any type - including automobiles, ships, spaceships and space stations.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Tracking categories
- Category:Pages using infobox fictional vehicle with unknown parameters (0)
- Category:Articles using infoboxes for fictional elements with invalid color combination (8)
| The above documentation is transcluded from Template:Infobox fictional vehicle/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |