Difference between revisions of "Template:Vehicle"
(Created page with "{{infobox|title={{{title|{{PAGENAME}}|}}}| {{row/kv|Type|{{{type|''unknown''}}}|}} {{row/kv|World|[[{{{world}}}]]}} {{row/kv|Books|{{{books}}}|}} }}<noinclude> This is used fo...") |
(rm featured in) |
||
(31 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{infobox |
{{infobox |
||
|title={{{name|{{PAGENAME}}}}}|id=vehicle| |
|||
{{row/kv|Type|{{{type|''unknown''}}}|}} |
|||
{{row/kv|World|[[{{{world}}}]]}} |
|||
{{row/kv|Books|{{{books}}}|}} |
|||
}}<noinclude> |
|||
This is used for vehicles like boats, trains, spaceships and other modes of transport. |
|||
{{#if:{{{image|}}} |{{row/image+artist | {{{image}}} }} }} |
|||
[[Category: Infoboxes]] |
|||
<!-- -->{{row/kv| Type | {{{type|''Unknown''}}} }} {{#if:{{{type|}}}| {{info/type}} }} |
|||
{{#if:{{{creator|}}} |{{row/kv| Creator | {{{creator}}} }} {{info/creator}} }} |
|||
{{#if:{{{creators|}}} |{{row/kv| Creators | {{{creators}}} }} {{info/creators}} }} |
|||
{{#if:{{{owner|}}} |{{row/kv| Owner | {{{owner}}} }} {{info/owner}} }} |
|||
{{#if:{{{owners|}}} |{{row/kv| Owners | {{{owners}}} }} {{info/owners}} }} |
|||
{{#if:{{{captain|}}} |{{row/kv| Captain | {{{captain}}} }} {{info/creator}} }} |
|||
<!-- world & universe --> |
|||
{{#if:{{{earth|}}} |{{row/kv| World of Origin | [[Earth ({{{earth}}})]]<!-- REF:-->{{{^world|}}} }} {{info/earth}} }} |
|||
{{#if:{{{world|}}} |{{row/kv| World of Origin | {{toponym link|{{{world}}}}}<!-- REF:-->{{{^world|}}} }} {{info/world}} }} |
|||
{{#if:{{{'world|}}} |{{row/kv| World of Origin | {{{'world}}}<!-- REF:-->{{{^world|}}} }} {{raw/world}} }} |
|||
{{#if:{{{universe|}}} |{{row/kv| Universe | {{{universe}}} }} {{info/universe}} }} |
|||
{{#if:<!-- -->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{world-raw|}}}<!-- -->{{{universe|}}}<!-- |
|||
---->|<!-- there is a location row present |
|||
---->| <includeonly>{{missing/world}}</includeonly> <!-- tag with missing world-location |
|||
-->}} |
|||
<!-- REF PARAMETER: -->{{#if:{{{^world|}}}| {{info/^ref}} }} |
|||
<!-- |
|||
CATS: |
|||
-->{{cat ns|Objects and Materials|only=0}}<!-- |
|||
END: |
|||
-->}}<noinclude>[[category: infoboxes]] |
|||
The {{t|vehicle}} template is used on articles describing boats, trains, spaceships and other modes of transport. |
|||
== Parameters == |
|||
<pre class=mw-code> |
|||
{{vehicle|title= |
|||
|image= |
|||
|type= |
|||
|creator= |
|||
|creators |
|||
|owner= |
|||
|owners= |
|||
|captain= |
|||
|earth= |
|||
|world= |
|||
|universe= |
|||
}} |
|||
</pre> |
|||
=== Required === |
|||
; <code>|type=</code>: provide a [[:category: link macros|tag]] indicating what kind of vehicle it is: |
|||
* Carriages and other road vehicles are tagged with {{t|cat tag|roadcraft}} |
|||
* Trains and other rail craft are tagged with {{t|cat tag|railcraft|Traincar}} |
|||
* Aircraft are tagged with {{t|cat tag|Aircraft}} or {{t|cat tag|aircraft|Airship}} for example |
|||
* Watercraft are tagged with {{t|cat tag|watercraft|Ship}} or {{t|cat tag|watercraft|Boat}} |
|||
* Spacecraft are tagged with {{t|cat tag|Spacecraft}} |
|||
: Any more specialised vehicles should be {{t|tag}}d to the specific page and then added to one of the above too |
|||
: If the vehicle is present in {{t|tag+}}, that template should add one of the above categories automatically |
|||
: If no <code>type</code> is provided, it will show as <code>'''Type:''' ''Unknown''</code> as can be seen above |
|||
=== Location & Setting === |
|||
; <code>|world=</code>: provide the name of the planet and it will be linked to |
|||
; <code>|earth=</code>: provide the name of the series to link to the appropriate alternative earth page |
|||
; <code>|universe=</code>: if either of the above are too specific a generalised universe link or tag can be passed |
|||
If none of the above properties are given, it will show as <code>'''World:''' ''Unknown''</code> as can be seen above |
|||
=== Optional === |
|||
; <code>|creator=</code> or <code>|creators=</code>: provide links to the people or groups who created the vehicle |
|||
; <code>|owner=</code> or <code>|owners=</code>: provide links to the people or groups who own or have owned the vehicle |
|||
; <code>|captain=</code>: provide a link to the person in charge of the vehicles operations |
|||
=== Advanced === |
|||
; <code>|title=</code>: override the infobox title to the name passed |
|||
; <code>|cats=</code>: override the default categorisation of [[:category: Objects and Materials]] |
|||
: the template will remove the default category when used on any page not in the [[help: namespaces|main namespace]] |
|||
<!-- <templatedata> |
|||
{ |
|||
"params": { |
|||
"title": { |
|||
"label": "Title", |
|||
"description": "override the template title", |
|||
"deprecated": true |
|||
}, |
|||
"type": { |
|||
"label": "Type", |
|||
"description": "what kind of vehicle is this, use tag templates", |
|||
"type": "content", |
|||
"required": true |
|||
}, |
|||
"creator": { |
|||
"aliases": [ |
|||
"creators" |
|||
], |
|||
"label": "Creator", |
|||
"description": "link to the people or groups who created the vehicle", |
|||
"type": "content", |
|||
"suggested": true |
|||
}, |
|||
"owner": { |
|||
"aliases": [ |
|||
"owners" |
|||
], |
|||
"label": "Owner", |
|||
"description": "link to the people or groups who own the vehicle", |
|||
"type": "content", |
|||
"suggested": true |
|||
}, |
|||
"captain": { |
|||
"label": "Captain", |
|||
"description": "link to the lead operator of the vehicle", |
|||
"type": "content", |
|||
"suggested": true |
|||
}, |
|||
"earth": {}, |
|||
"world": {}, |
|||
"universe": {}, |
|||
"cats": { |
|||
"label": "Categories", |
|||
"description": "override the default category", |
|||
"default": "[[Category: Objects and Materials]]" |
|||
}, |
|||
"image-artist": { |
|||
"description": "provide attribution for any art", |
|||
"deprecated": "{{row/image+artist}} template automatically attributes art in infoboxes" |
|||
} |
|||
}, |
|||
"paramOrder": [ |
|||
"type", |
|||
"creator", |
|||
"owner", |
|||
"captain", |
|||
"earth", |
|||
"world", |
|||
"universe", |
|||
"title", |
|||
"cats", |
|||
"image-artist" |
|||
], |
|||
"format": "block" |
|||
} |
|||
</templatedata> |
|||
--> |
|||
== Articles using Template == |
|||
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages.}} |
|||
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}} |
Latest revision as of 18:49, 15 March 2024
Vehicle | |
---|---|
Type | Unknown |
The {{vehicle}}
template is used on articles describing boats, trains, spaceships and other modes of transport.
Parameters
{{vehicle|title= |image= |type= |creator= |creators |owner= |owners= |captain= |earth= |world= |universe= }}
Required
|type=
- provide a tag indicating what kind of vehicle it is:
- Carriages and other road vehicles are tagged with
{{cat tag|roadcraft}}
- Trains and other rail craft are tagged with
{{cat tag|railcraft|Traincar}}
- Aircraft are tagged with
{{cat tag|Aircraft}}
or{{cat tag|aircraft|Airship}}
for example - Watercraft are tagged with
{{cat tag|watercraft|Ship}}
or{{cat tag|watercraft|Boat}}
- Spacecraft are tagged with
{{cat tag|Spacecraft}}
- Any more specialised vehicles should be
{{tag}}
d to the specific page and then added to one of the above too - If the vehicle is present in
{{tag+}}
, that template should add one of the above categories automatically - If no
type
is provided, it will show asType: Unknown
as can be seen above
Location & Setting
|world=
- provide the name of the planet and it will be linked to
|earth=
- provide the name of the series to link to the appropriate alternative earth page
|universe=
- if either of the above are too specific a generalised universe link or tag can be passed
If none of the above properties are given, it will show as World: Unknown
as can be seen above
Optional
|creator=
or|creators=
- provide links to the people or groups who created the vehicle
|owner=
or|owners=
- provide links to the people or groups who own or have owned the vehicle
|captain=
- provide a link to the person in charge of the vehicles operations
Advanced
|title=
- override the infobox title to the name passed
|cats=
- override the default categorisation of category: Objects and Materials
- the template will remove the default category when used on any page not in the main namespace
Articles using Template
- Wind's Pleasure (transclusion) (← links | edit)
- Wandersail (transclusion) (← links | edit)
- Red Panther (transclusion) (← links | edit)
- Ironsights (transclusion) (← links | edit)
- Breaknaught (transclusion) (← links | edit)
- Ironhull (transclusion) (← links | edit)
- Voidhawk (transclusion) (← links | edit)
- Barrington carriage (transclusion) (← links | edit)
- Dragonaut (transclusion) (← links | edit)
- Hawkwind (transclusion) (← links | edit)
- Colorfly (transclusion) (← links | edit)
- Brunstell (transclusion) (← links | edit)
- Wilg (transclusion) (← links | edit)
- First Dreams (transclusion) (← links | edit)
- Honor's Path (transclusion) (← links | edit)
- Wandersail (1174 ship) (transclusion) (← links | edit)
- Defiant (starship) (transclusion) (← links | edit)
- Yeong-Gwang (transclusion) (← links | edit)
- Antioch (transclusion) (← links | edit)
- Poco (transclusion) (← links | edit)
- Largo (transclusion) (← links | edit)
- Fresa (transclusion) (← links | edit)
- Sigo (transclusion) (← links | edit)
- Val (transclusion) (← links | edit)
- Camdon (transclusion) (← links | edit)
- Slatra (transclusion) (← links | edit)
- Weights and Measures (transclusion) (← links | edit)
- Swims Upstream (transclusion) (← links | edit)
- Pewternaut (transclusion) (← links | edit)
- Ico's ship (transclusion) (← links | edit)
- Fourth Bridge (transclusion) (← links | edit)
- Penguinator (transclusion) (← links | edit)
- Dulo (transclusion) (← links | edit)
- Wandering Leaf (transclusion) (← links | edit)
- Not-ilus (transclusion) (← links | edit)
- Crashing Wave (transclusion) (← links | edit)
- Crow's Song (transclusion) (← links | edit)
- Oot's Dream (transclusion) (← links | edit)
- Two Cups (transclusion) (← links | edit)
- Whistlebow (transclusion) (← links | edit)
- Sorceress's tower (transclusion) (← links | edit)
- Perpetual (transclusion) (← links | edit)
- Space bus (transclusion) (← links | edit)
- Dawnchaser (transclusion) (← links | edit)
- Sporta (transclusion) (← links | edit)
- Defiant (DDF flagship) (transclusion) (← links | edit)
- Stormrunners (transclusion) (← links | edit)
- Admiral Daal’s warship (transclusion) (← links | edit)
- Scadrian research facility (transclusion) (← links | edit)
- Prospector (transclusion) (← links | edit)
- Hovercycle (transclusion) (← links | edit)