Jump to content

Template:Infobox personal vehicle: Difference between revisions

From the Vrienden Universe, a fictional wiki
Created page with "{{main other|{{Short description|Personal vehicle|2=noreplace}}}} <templatestyles src="Template:Infobox automobile/styles.css" /> {{Infobox | bodyclass = hproduct infobox-automobile infobox-personal-vehicle | aboveclass = fn | above = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | abovestyle = font-size:125%; background-color:#C0C0C0; color:inherit; padding:0.25em 1em; text-align:center; | headerstyle = background-color:#C0C0C0; color:inherit; | labelstyle = w..."
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
Page created
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 1: Line 1:
{{main other|{{Short description|Personal vehicle|2=noreplace}}}}
<templatestyles src="Template:Infobox automobile/styles.css" />
<templatestyles src="Template:Infobox automobile/styles.css" />


{{Infobox
{{#invoke:infobox|infoboxTemplate
| child = {{{child|{{{embed|}}}}}}
| bodyclass = hproduct infobox-automobile infobox-personal-vehicle
| bodyclass = hproduct infobox-automobile infobox-personal-vehicle
| aboveclass = fn
| aboveclass = fn
| above = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
| above = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}
| abovestyle = font-size:125%; background-color:#C0C0C0; color:inherit; padding:0.25em 1em; text-align:center;
| headerstyle = background-color:#C0C0C0; color:inherit;
| labelstyle = white-space:nowrap;
| autoheaders = yes


| image = {{#invoke:InfoboxImage|InfoboxImage
| image = {{#invoke:InfoboxImage|InfoboxImage
Line 15: Line 11:
  | size={{{image_size|}}}
  | size={{{image_size|}}}
  | sizedefault=frameless
  | sizedefault=frameless
| upright={{{image_upright|1.25}}}
  | alt={{{alt|}}}
  | alt={{{alt|}}}
| upright={{if empty|{{{upright|}}}|1.25}}
  | suppressplaceholder=yes
  | suppressplaceholder=yes
  }}
  }}
| caption = {{{caption|}}}
| caption = {{{caption|}}}


| header1 = Vehicle
| header1 = {{#ifeq:{{lc:{{{child|{{{embed|}}}}}}}}|yes|Personal vehicle|Vehicle}}
 
| label2 = Nickname
| label2 = Nickname
| data2 = {{{nickname|}}}
| data2 = {{{nickname|}}}
Line 32: Line 29:
| label4 = Manufacturer
| label4 = Manufacturer
| data4 = {{{manufacturer|}}}
| data4 = {{{manufacturer|}}}
| class4 = org


| label5 = Model
| label5 = Model
Line 46: Line 44:


| label9 = Colour
| label9 = Colour
| data9 = {{if empty|{{{colour|}}}|{{{color|}}}}}
| data9 = {{{colour|{{{color|}}}}}}


| header10 = Ownership
| header10 = Ownership
| label11 = Owner
| label11 = Owner
| data11 = {{{owner|}}}
| data11 = {{{owner|}}}
Line 68: Line 67:


| header17 = Powertrain
| header17 = Powertrain
| label18 = Engine
| label18 = Engine
| data18 = {{{engine|}}}
| data18 = {{{engine|}}}
Line 73: Line 73:
| label19 = Transmission
| label19 = Transmission
| data19 = {{{transmission|}}}
| data19 = {{{transmission|}}}
| class19 = category


| label20 = Drivetrain
| label20 = Drivetrain
Line 85: Line 84:


| header23 = History
| header23 = History
| label24 = Modifications
| label24 = Modifications
| data24 = {{{modifications|}}}
| data24 = {{{modifications|}}}
Line 107: Line 107:


{{#invoke:Check for unknown parameters|check
{{#invoke:Check for unknown parameters|check
| unknown={{main other|[[Category:Pages using infobox personal vehicle with unknown parameters|_VALUE_{{PAGENAME}}]]}}
| unknown = {{main other|[[Category:Pages using infobox personal vehicle with unknown parameters|_VALUE_{{PAGENAME}}]]}}
| preview=Page using [[Template:Infobox personal vehicle]] with unknown parameter "_VALUE_"
| preview = Page using [[Template:Infobox personal vehicle]] with unknown parameter "_VALUE_"
| ignoreblank=y
| ignoreblank = n
| acquired
| alt
| alt
| body_style
| body_style
| caption
| caption
| child
| color
| color
| colour
| colour
| drivetrain
| drivetrain
| embed
| engine
| engine
| era
| era
Line 123: Line 124:
| image
| image
| image_size
| image_size
| image_upright
| location
| location
| manufacturer
| manufacturer
Line 140: Line 142:
| trim
| trim
| type
| type
| upright
| use
| use
}}
}}


{{#invoke:Check for conflicting parameters|check
{{#invoke:Check for conflicting parameters|check
| nested = 1
| template = [[Template:Infobox personal vehicle]]
| template = [[Template:Infobox personal vehicle]]
| cat = {{main other|Category:Pages using infobox personal vehicle with conflicting parameters}}
| cat = {{main other|Category:Pages using infobox personal vehicle with conflicting parameters}}
| child; embed
| colour; color
| colour; color
}}
}}
Line 152: Line 155:
<noinclude>
<noinclude>
{{documentation|content=
{{documentation|content=
'''Infobox personal vehicle''' is used for a specific vehicle owned or used by a person or organization. Articles about a vehicle model or production series should use {{tl|Infobox automobile}}.
The template can also be embedded inside another infobox with <code>|embed = yes</code>.


== Usage ==
== Usage ==
This infobox is for a specific vehicle owned or used by a person or organization. For an article about a vehicle model or production series, use {{tl|Infobox automobile}}.
Fields should be omitted when the information is not known.


<pre>
<pre>
Line 163: Line 167:
| image =
| image =
| image_size =
| image_size =
| image_upright =
| alt =
| alt =
| caption =
| caption =
Line 192: Line 197:
}}
}}
</pre>
</pre>
== Embedded usage ==
The template may be placed in a supported <code>module</code> field of another infobox.
<pre>
| module = {{Infobox personal vehicle
| embed = yes
| nickname =
| manufacturer =
| model =
| model_year =
| colour =
| acquired =
| modifications =
| status =
}}
</pre>
When embedded in a person's infobox, fields already established by the outer infobox should normally be omitted. For example, the owner's name does not need to be repeated.


== Parameters ==
== Parameters ==


; name
; name
: Name used for the vehicle article. Defaults to the page title.
: Name displayed at the top of a standalone infobox. The page title is used when this parameter is omitted.


; image
; image
Line 203: Line 228:
; image_size
; image_size
: Optional image size.
: Optional image size.
; image_upright
: Optional image scaling value.


; alt
; alt
Line 211: Line 239:


; nickname
; nickname
: Personal name or nickname given to the vehicle.
: Personal name or nickname given to the specific vehicle.


; type
; type
: Vehicle type.
: Type of vehicle.


; manufacturer
; manufacturer
: Vehicle manufacturer.
: Manufacturer of the vehicle.


; model
; model
Line 232: Line 260:


; colour
; colour
: Vehicle colour. The parameter <code>color</code> is also supported.
: Colour of the vehicle. <code>color</code> is supported as an alternative parameter.


; owner
; owner
Line 241: Line 269:


; acquired
; acquired
: Date or year the owner acquired the vehicle.
: Date or year on which the vehicle was acquired.


; ownership_ended
; ownership_ended
: Date or year ownership ended.
: Date or year on which ownership ended.


; registration
; registration
: Registration or licence plate.
: Registration or licence plate assigned to the vehicle.


; registration_country
; registration_country
Line 253: Line 281:


; engine
; engine
: Engine fitted to the vehicle.
: Engine fitted to the specific vehicle.


; transmission
; transmission
Line 268: Line 296:


; modifications
; modifications
: Modifications made to the individual vehicle.
: Confirmed modifications made to the specific vehicle.


; use
; use
: The vehicle's documented personal or operational use.
: Documented use of the vehicle.


; status
; status
: Current status.
: Current status of the vehicle.


; fate
; fate
Line 283: Line 311:


; era
; era
: Applicable era. Link era names and use {{tl|hlist}} when more than one applies.
: Applicable era. Era names should be linked. Use {{tl|hlist}} when more than one era applies.
 
; embed
: Set to <code>yes</code> when the template is embedded inside another infobox.
 
; child
: Alternative child-infobox parameter used by the underlying infobox module.


[[Category:Infobox templates]]
[[Category:Infobox templates]]
}}
}}
</noinclude>
</noinclude>

Revision as of 19:35, 28 September 2026

Infobox personal vehicle
Vehicle
Ownership
Powertrain
History