Template talk:InfoboxVehicle

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search

Notes (2018)[edit]

{{InfoboxVehicle
|name     = TBD
|alsosee  = TBD
|architect= TBD
|arms     = TBD
|canon    = TBD
|caption  = TBD
|cargo    = TBD
|cr       = TBD
|crew     = TBD
|footnote = TBD
|image    = [[File: Wiki Navy.png]]
|IOC      = TBD
|mode     = TBD
|origin   = Third Imperium
|pass     = TBD
|QVP      = TBD
|ref      = TBD
|size     = TBD
|speed    = TBD
|TL       = TBD
|uvp      = TBD
|volume   = TBD
|manufacturer= Various
}}

{{InfoboxVehicle
|name    = {common name}
|arms    = {Weapons carried}
|caption = {image caption}
|cargo   = {Cargo volume of the craft}
|cost    = {cost in credits, usually imperial credit}
|crew    = {number of crew members}
|footnote= {Additional note}
|image   = [[File: Imperial Sunburst-Sun-IISS-Traveller.gif]]
|mode    = {mode of transport, usually one of ground, flight, water, underwater}
|pass    = {number of carried passengers}
|QSP     = {T5 Core Rules Code, pgs. 314, 349}
|size    = {mass in kg or tons}
|speed   = {top speed velocity in kph}
|TL      = [[TL-?]]
}}

Change parameter cr to cost[edit]

To match the Template:InfoboxShip and Template:InfoboxGoods, I would like to change the "cr" parameter to "cost". This requires updating all the templates currently in use. This can be automated. Tjoneslo (talk) 07:48, 21 June 2020 (EDT)

Agree...I need to touch them all anyway to add type data so can review the results of the automation.BackworldTraveller (talk) 07:50, 21 June 2020 (EDT)

Automation complete. 241 articles updated. If you find problems please let me know. Tjoneslo (talk) 09:48, 21 June 2020 (EDT)

Addition of type category[edit]

If the category is defined as a link, the category appears as text not as a category definition

so |type=Armoured Personnel Carrier works while |type=Armoured Personnel Carrier doesn't.

Can |Type needs to be displayed as a link (i.e. in double-square-brackets) and used in category?

BackworldTraveller (talk) 08:34, 21 June 2020 (EDT)

Fixed.Please enter type as plain text, not a link. The template will automatically convert it to a link and set the category correctly. Tjoneslo (talk) 09:50, 21 June 2020 (EDT)