Difference between revisions of "Template:Motorcycle"

Jump to navigation Jump to search
6,836 bytes added ,  18:45, 12 May 2022
no edit summary
 
(132 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| border=0 cellspacing=0 cellpadding=4 class="infobox2 h-product"  
<table  class="infobox h-product hproduct motorcycle">
|- style="text-align:center;"
{{#if:{{{photo|}}}|
| colspan=2 style="padding:0;" | {{{image}}}
<td  colspan=2 style="padding:0;">  [[File:{{{photo}}}|frameless|class=u-photo photo]]</td>
|- style="color:#fff; background:#996; font-size:larger;"
</tr>
! colspan=2 | {{{name}}}
{{#if:{{{image|}}}|
|- style="vertical-align:top; background:#f0f0f0;"
<tr> <td colspan=2 style="padding:0;"> {{{image}}}</td></tr>
| Manufacturer
|}}
| {{{manufacturer}}} {{#if:{{{country|}}}|({{{country}}})|}}  
}}
|- style="vertical-align:top; background:#f0f0f0;"
<tr style="color:#fff; background:#996; font-size:larger;">
| Production period
<td colspan=2 class="fn p-name"> '''{{{name}}}''' </td>
| {{{production}}}
</tr>
|- style="vertical-align:top; background:#f0f0f0;"
{{#if:{{{manufacturer|}}}|
| Number produced
<tr>
| {{{number}}}
<th> Manufacturer</th>
|-
<td> <div class="brand p-brand"> [[{{{manufacturer}}}]] </div> {{#if:{{{country|}}}|({{{country}}})|}} </td>
| Predecessor
</tr>
| {{{predecessor}}}
|}}
|-
{{#if:{{{aka|}}}|
| Successor
<tr>
| {{{successor}}}
<th> Also called</th>
|- style="color:#fff; background:#996; font-size:larger;"
<td> {{{aka}}}</td>
! colspan=2 | General&nbsp;characteristics
</tr>
|- style="vertical-align:top;"
|}}
| Length
{{#if:{{{production|}}}|
| {{{length}}}&nbsp;mm
<tr style="vertical-align:top; background:#f0f0f0;">
|- style="vertical-align:top; background:#f0f0f0;"
<th> Production </th>
| Width
<td> {{{production}}}</td>
| {{{width}}}&nbsp;mm
</tr>
|- style="vertical-align:top;"
|}}
| Height
{{#if:{{{class|}}}|
| {{{height}}}&nbsp;mm
<tr>
|- style="vertical-align:top; background:#f0f0f0;"
<th> [[Types of motorcycle|Class]]</th>
| Weight
<td> {{#switch: {{{class|}}}
| {{{weight}}}&nbsp;kg
| Scooter
|- style="vertical-align:top;"
| ATV = [[:Category:{{{class}}}s|{{{class}}}]] [[Category:{{{class}}}s]]
| Suspension
| #default = [[:Category:{{{class}}} motorcycles|{{{class}}}]] [[Category:{{{class}}} motorcycles]]
| {{{suspension}}}
}}</td>
|- style="color:#fff; background:#996; font-size:larger;"
</tr>
! colspan=2 | Engine
|}}
|- style="vertical-align:top;"
{{#if:{{{predecessor|}}}|
| Power plant
<tr>
| {{{engine}}}<br>{{{hp}}}&nbsp;[[horsepower|hp]] ({{{kW}}}&nbsp;kW)
<th>Predecessor</th>
|- style="vertical-align:top;"
<td> {{{predecessor}}}</td>
| Displacement
</tr>
| {{{cc}}} ccm
|}}
|- style="vertical-align:top;"
{{#if:{{{successor|}}}|
| Compression ratio
<tr>
| {{{compression}}}
<th>Successor</th>
|- style="vertical-align:top;"
<td>{{{successor}}}</td>
| Capacity
</tr>
| {{{fuel}}} <br>{{{oil}}}
|}}
|- style="vertical-align:top;"
{{#if:{{{engine|}}}|
| Spark Plug
<tr>
| {{{sparkplug}}}
<th> [[Motorcycle engine|Engine]]</th>
|- style="vertical-align:top;"
<td><div class="description e-description"> {{{engine}}} </div></td>
| Battery
</tr>
| {{{battery}}}
|}}
{{#if:{{{bore_stroke|}}}|
<tr>
<th> [[Bore]] / [[Stroke]]</th>
<td>{{{bore_stroke}}}</td>
</tr>
|}}
{{#if:{{{compression|}}}|
<tr>
<th> [[Compression ratio]]</th>
<td>{{{compression}}}</td>
</tr>
|}}
{{#if:{{{top_speed|}}}|
{{#if:{{{top_speed|}}}|
{{!}}- style="vertical-align:top; background:#f0f0f0;"
<tr>
{{!}} Top speed
<th> Top Speed</th>
{{!}} {{{top_speed}}}
<td>{{{top_speed}}}</td>
</tr>
|}}
 
{{#if:{{{quarter_mile|}}}|
<tr>
<th>1/4 mile</th>
<td>{{{quarter_mile}}}</td>
</tr>
|}}
{{#if:{{{zero_to_60|}}}|
<tr>
<th> 0-60</th>
<td>{{{zero_to_60}}}</td>
</tr>
|}}
{{#if:{{{power|}}}|
<tr>
<th> [[Horsepower]]</th>
<td>{{{power}}}</td>
</tr>
|}}
{{#if:{{{torque|}}}|
<tr>
<th> [[Torque]]</th>
<td>{{{torque}}}</td>
</tr>
|}}
{{#if:{{{fuel_system|}}}|
<tr>
<th>Fuel System</th>
<td>{{{fuel_system}}}</td>
</tr>
|}}
{{#if:{{{air_filter|}}}|
<tr>
<th>Air Filter</th>
<td>{{{air_filter}}}</td>
</tr>
|}}
{{#if:{{{ignition|}}}|
<tr>
<th>Ignition</th>
<td>{{{ignition}}}</td>
</tr>
|}}
{{#if:{{{spark_plug|}}}|
<tr>
<th>Spark Plug</th>
<td>{{{spark_plug}}}</td>
</tr>
|}}
{{#if:{{{battery|}}}|
<tr>
<th> Battery</th>
<td>{{{battery}}}</td>
</tr>
|}}
{{#if:{{{transmission|}}}|
<tr>
<th> [[Transmission]]</th>
<td>{{{transmission}}}</td>
</tr>
|}}
{{#if:{{{final_drive|}}}|
<tr>
<th> Final Drive</th>
<td>{{{final_drive}}}</td>
</tr>
|}}
{{#if:{{{front_sprocket|}}}|
<tr>
<th> Front Sprocket</th>
<td>{{{front_sprocket}}}</td>
</tr>
|}}
{{#if:{{{rear_sprocket|}}}|
<tr>
<th> Rear Sprocket</th>
<td>{{{rear_sprocket}}}</td>
</tr>
|}}
{{#if:{{{frame|}}}|
<tr>
<th>[[Frame]]</th>
<td>{{{frame}}}</td>
</tr>
|}}
{{#if:{{{suspension|}}}|
<tr>
<th>[[Suspension]]</th>
<td>{{{suspension}}}</td>
</tr>
|}}
{{#if:{{{brakes|}}}|
<tr>
<th> [[Brake|Brakes]]</th>
<td>{{{brakes}}}</td>
</tr>
|}}
{{#if:{{{front_tire|}}}|
<tr>
<th>[[Tire|Front Tire]]</th>
<td>{{{front_tire}}}</td>
</tr>
|}}
{{#if:{{{rear_tire|}}}|
<tr>
<th>[[Tire|Rear Tire]]</th>
<td>{{{rear_tire}}}</td>
</tr>
|}}
{{#if:{{{front_tire_psi|}}}|
<tr>
<th>Recommended Tire Pressure</th>
<td>Front: {{{front_tire_psi}}} psi<br />Rear: {{{rear_tire_psi}}} psi</td>
</tr>
|}}
 
{{#if:{{{rake_trail|}}}|
<tr>
<th>Rake / Trail</th>
<td> {{{rake_trail}}}</td>
</tr>
|}}
{{#if:{{{wheelbase|}}}|
<tr>
<th>[[Wheelbase]]</th>
<td> {{{wheelbase}}}</td>
</tr>
|}}
{{#if:{{{length|}}}|
<tr>
<th> Length</th>
<td> {{{length}}}</td>
</tr>
|}}
{{#if:{{{width|}}}|
<tr>
<th> Width</th>
<td> {{{width}}}</td>
</tr>
|}}
{{#if:{{{height|}}}|
<tr>
<th> Height</th>
<td> {{{height}}}</td>
</tr>
|}}
{{#if:{{{ground_clearance|}}}|
<tr>
<th>Ground Clearance</th>
<td> {{{ground_clearance}}}</td>
</tr>
|}}
{{#if:{{{seat_height|}}}|
<tr>
<th>Seat Height</th>
<td> {{{seat_height}}}</td>
</tr>
|}}
<tr>
<th>Weight</th>
<td>{{#if:{{{dry_weight|}}}|{{{dry_weight}}} ([[Motorcycle_weight#Dry_weight|dry]]),|}} {{#if:{{{wet_weight|}}}|{{{wet_weight}}} ([[Motorcycle_weight#Wet_weight|wet]])|}}</td>
</tr>
 
{{#if:{{{oil_capacity|}}}|
<tr>
<th>Oil Capacity</th>
<td> {{{oil_capacity}}}</td>
</tr>
|}}
{{#if:{{{oil_filter|}}}|
<tr>
<th>Oil Filter</th>
<td> {{{oil_filter}}}</td>
</tr>
|}}
{{#if:{{{recommended_oil|}}}|
<tr>
<th>[[Recommended Oil]]</th>
<td> [https://www.amazon.com/s?tag=cc10e-20&i=automotive&k={{urlencode:{{{recommended_oil}}}}} {{{recommended_oil}}}]</td>
</tr>
|}}
{{#if:{{{fuel_capacity|}}}|
<tr>
<th>Fuel Capacity</th>
<td>{{{fuel_capacity}}}</td>
</tr>
|}}
{{#if:{{{fuel_consumption|}}}|
<tr>
<th>Fuel Consumption</th>
<td>{{{fuel_consumption}}}</td>
</tr>
|}}
 
{{#if:{{{related|}}}|
<tr>
<th>Related</th>
<td>{{{related}}}</td>
</tr>
|}}
{{#if:{{{competition|}}}|
<tr>
<th> Competition </th>
<td>{{{competition}}}</td>
</tr>
|}}
{{#if:{{{value|}}}|
<tr>
<th> Value</th>
<td>{{{value}}}</td>
</tr>
|}}
{{#if:{{{msrp|}}}|
<tr>
<th> MSRP</th>
<td>{{{msrp}}}</td>
</tr>
|}}
|}}
|- style="vertical-align:top; background:#f0f0f0;"
<tr>
| 1/4 Mile
<th> Manuals </th>
| {{{speed}}} km/h
<td>{{#if:{{{manuals|}}}|{{{manuals}}}<br />[https://www.amazon.com/s?tag=cc10e-20&i=automotive&k={{urlencode:{{PAGENAME}}}}%20Service%20Manual More Manuals]|{{{manuals|[https://www.amazon.com/s?tag=cc10e-20&i=automotive&k={{urlencode:{{PAGENAME}}}}%20Service%20Manual Service Manual]}}}}}</td>
|- style="vertical-align:top; background:#f0f0f0;"
</tr>
| 0-60
<tr>
| {{{speed}}} km/h
<td colspan="2" style="text-align:center;">
|}
{{#ifexist:{{PAGENAME}}/tech_specs|[[{{PAGENAME}}/tech_specs|Tech Specs]]{{·}}|}}{{#ifexist:{{PAGENAME}}/brochures|[[{{PAGENAME}}/brochures|Brochures]]{{·}}|}}{{#ifexist:{{PAGENAME}}/reviews|[[{{PAGENAME}}/reviews|Reviews]]{{·}}|}}{{#ifexist:{{PAGENAME}}/ads|[[{{PAGENAME}}/ads|Ads]]{{·}}|}}{{#ifexist:{{PAGENAME}}/videos|[[{{PAGENAME}}/videos|Videos]]{{·}}|}}{{#ifexist:{{PAGENAME}}/photos|[[{{PAGENAME}}/photos|Photos]]{{·}}|}}
</td>
</tr>
</table>
<noinclude>
<noinclude>
{{Motorcycle/doc}}
{{Motorcycle/doc}}
<!-- Please add interwikis to the /doc page, not here - thanks! -->
<!-- Please add interwikis to the /doc page, not here - thanks! -->
</noinclude>
<templatedata>
{
"params": {
"photo": {
"aliases": [
"image"
],
"type": "wiki-file-name",
"suggested": true
},
"image": {},
"name": {
"description": "Full model name",
"example": "Yamaha FZ6",
"type": "string",
"required": true
},
"manufacturer": {
"description": "Name of company that produced the motorcycle",
"example": "Yamaha",
"type": "string",
"required": true
},
"country": {
"description": "Country of origin",
"example": "Japan",
"type": "string"
},
"aka": {
"label": "Also known as",
"description": "Common names this model is also referred to as."
},
"production": {
"description": "Years of production",
"example": "2004 - 2018",
"type": "string"
},
"class": {},
"predecessor": {
"description": "Model which preceded this model.",
"example": "Yamaha FZ6S",
"type": "string",
"suggested": true
},
"successor": {
"description": "Model which superseded this model.",
"example": "Yamaha FZ6S",
"type": "string",
"suggested": true
},
"engine": {
"label": "Engine Type",
"description": "A description of the engine type.",
"example": "Four stroke, single cylinder, Pushrod, 2 valve",
"type": "string"
},
"bore_stroke": {
"label": "Bore x Stroke",
"description": "Bore x Stroke in millimeters",
"example": "53.8mm x 53.8mm",
"type": "string"
},
"compression": {
"label": "Compression Ratio",
"description": "The ratio the stroke compresses the displacement of the engine.",
"example": "8.5:1 (141.9psi)",
"type": "string"
},
"top_speed": {},
"quarter_mile": {},
"zero_to_60": {
"description": "Zero to sixty time",
"type": "string"
},
"power": {},
"torque": {},
"fuel_system": {
"label": "Fuel System",
"type": "string"
},
"air_filter": {
"label": "Air Filter"
},
"ignition": {
"label": "Ignition",
"description": "Type of ignition system used",
"example": "CDI, Points",
"type": "string"
},
"spark_plug": {
"label": "Spark Plug",
"description": "Type of spark plug used, NGK numbers generally preferred."
},
"battery": {},
"transmission": {},
"final_drive": {},
"front_sprocket": {},
"rear_sprocket": {},
"frame": {},
"suspension": {},
"brakes": {},
"front_tire": {},
"rear_tire": {},
"front_tire_psi": {},
"rear_tire_psi": {},
"rake_trail": {},
"wheelbase": {},
"length": {},
"width": {},
"height": {},
"ground_clearance": {},
"seat_height": {},
"dry_weight": {},
"wet_weight": {},
"oil_capacity": {},
"oil_filter": {},
"recommended_oil": {},
"fuel_capacity": {},
"fuel_consumption": {},
"related": {},
"competition": {},
"value": {},
"msrp": {},
"manuals": {}
}
}
</templatedata></noinclude>

Navigation menu