Difference between revisions of "Template:Motorcycle"

Jump to navigation Jump to search
2,052 bytes added ,  14:53, 2 August 2021
no edit summary
(6 intermediate revisions by the same user not shown)
Line 31: Line 31:
<tr>
<tr>
<th> [[Types of motorcycle|Class]]</th>
<th> [[Types of motorcycle|Class]]</th>
<td> {{#switch: {{class}}
<td> {{#switch: {{{class|}}}
| "Scooter"
| Scooter
| "ATV" = [[:Category:{{{class}}}|{{{class}}}]] [[Category:{{{class}}}]]
| ATV = [[:Category:{{{class}}}s|{{{class}}}]] [[Category:{{{class}}}s]]
| #default = [[:Category:{{{class}}} motorcycles|{{{class}}}]] [[Category:{{{class}}} motorcycles]]
| #default = [[:Category:{{{class}}} motorcycles|{{{class}}}]] [[Category:{{{class}}} motorcycles]]
}}</td>
}}</td>
Line 294: Line 294:
<tr>
<tr>
<th> Manuals </th>
<th> Manuals </th>
<td>{{{manuals|[https://www.amazon.com/s?tag=cc10e-20&i=automotive&k={{urlencode:{{PAGENAME}}}}%20Service%20Manual Service Manual]}}}</td>
<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>
</tr>
</tr>
<tr>
<tr>
Line 305: Line 305:
{{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": {},
"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": {},
"bore_stroke": {},
"compression": {},
"top_speed": {},
"quarter_mile": {},
"zero_to_60": {
"description": "Zero to sixty time",
"type": "string"
},
"power": {},
"torque": {},
"fuel_system": {},
"air_filter": {},
"ignition": {},
"spark_plug": {},
"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