Template:Infobox bus/doc: Difference between revisions
Starter TemplateData |
Fix suggested values for Fuelling |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
"label": "Image 1", | "label": "Image 1", | ||
"description": "File name for the first image on the infobox.", | "description": "File name for the first image on the infobox.", | ||
"example": " | "example": "Brisbane Metro 9001 under testing.jpg", | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"suggested": true | "suggested": true | ||
| Line 20: | Line 20: | ||
"label": "Image 2", | "label": "Image 2", | ||
"description": "File name for the second image on the infobox.", | "description": "File name for the second image on the infobox.", | ||
"type": "wiki-file-name" | "type": "wiki-file-name" | ||
}, | }, | ||
| Line 26: | Line 25: | ||
"label": "Image 3", | "label": "Image 3", | ||
"description": "File name for the third image on the infobox.", | "description": "File name for the third image on the infobox.", | ||
"type": "wiki-file-name" | "type": "wiki-file-name" | ||
}, | }, | ||
| Line 43: | Line 41: | ||
"description": "Alt text associated with image 1.", | "description": "Alt text associated with image 1.", | ||
"default": "{{{caption1}}}", | "default": "{{{caption1}}}", | ||
"type": "string" | "type": "string", | ||
"example": "9001 under test at [[King George Square busway station]]." | |||
}, | }, | ||
"alt2": { | "alt2": { | ||
| Line 66: | Line 65: | ||
"description": "Wikilink or wikilinks to the model best described as the successor to the infobox subject.", | "description": "Wikilink or wikilinks to the model best described as the successor to the infobox subject.", | ||
"example": "[[1003 (Transport for Brisbane)]]" | "example": "[[1003 (Transport for Brisbane)]]" | ||
}, | |||
"chassis": { | |||
"label": "Chassis", | |||
"description": "The mechanical chassis that this bus is based on.", | |||
"example": "[[MAN 18.310 Diesel]]", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"fuelling": { | |||
"label": "Fuelling", | |||
"description": "The type of fuel that the bus accepts.", | |||
"example": "Diesel", | |||
"type": "string", | |||
"autovalue": "", | |||
"required": true, | |||
"suggestedvalues": [ | |||
"Diesel", | |||
"CNG", | |||
"LPG", | |||
"Electric" | |||
] | |||
}, | |||
"engine": { | |||
"label": "Engine", | |||
"description": "The model of engine that the bus employs. Can be left blank only if fuelling is set to Electric.", | |||
"suggested": true | |||
}, | |||
"motor": { | |||
"label": "Motor", | |||
"description": "The model of any electric traction motor(s) that the bus employs.", | |||
"example": "Volvo EPT802", | |||
"type": "string" | |||
}, | |||
"gearbox": { | |||
"label": "Gearbox", | |||
"description": "The model of gearbox that the bus employs. If it does not employ one, write None here.", | |||
"example": "[[ZF Ecomat 4 6HP604C]]", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"body": { | |||
"label": "Body", | |||
"description": "The model of body that the bus has been built on. If the Chassis and Body are considered the same model (e.g. Bustech XDi), write \"Integral\" here.", | |||
"example": "[[Volgren CR228L]]", | |||
"type": "string", | |||
"required": true | |||
} | } | ||
}, | }, | ||
| Line 80: | Line 125: | ||
"caption3", | "caption3", | ||
"alt3", | "alt3", | ||
"chassis", | |||
"fuelling", | |||
"engine", | |||
"motor", | |||
"gearbox", | |||
"body", | |||
"previous", | "previous", | ||
"next" | "next" | ||
Latest revision as of 22:31, 20 April 2025
TemplateData[edit source]
Displays information on individual buses.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Image 1 | image1 | File name for the first image on the infobox.
| File | suggested |
| Image caption 1 | caption1 | An image caption to accompany image 1. Also acts as alt text if not explicity provided.
| Content | suggested |
| Alt text 1 | alt1 | Alt text associated with image 1.
| String | optional |
| Image 2 | image2 | File name for the second image on the infobox. | File | optional |
| Image caption 2 | caption2 | An image caption to accompany image 2. Also acts as alt text if not explicitly provided. | Content | optional |
| Alt text 2 | alt2 | Alt text associated with image 2.
| String | optional |
| Image 3 | image3 | File name for the third image on the infobox. | File | optional |
| Image caption 3 | caption3 | An image caption to accompany image 3. Also acts as alt text if not explicitly provided. | String | optional |
| Alt text 3 | alt3 | Alt text associated with image 3.
| String | optional |
| Chassis | chassis | The mechanical chassis that this bus is based on.
| String | required |
| Fuelling | fuelling | The type of fuel that the bus accepts.
| String | required |
| Engine | engine | The model of engine that the bus employs. Can be left blank only if fuelling is set to Electric. | Unknown | suggested |
| Motor | motor | The model of any electric traction motor(s) that the bus employs.
| String | optional |
| Gearbox | gearbox | The model of gearbox that the bus employs. If it does not employ one, write None here.
| String | required |
| Body | body | The model of body that the bus has been built on. If the Chassis and Body are considered the same model (e.g. Bustech XDi), write "Integral" here.
| String | required |
| Previous | previous | Wikilink or wikilinks to the bus best described as the predecessor to the infobox subject.
| Unknown | optional |
| Next | next | Wikilink or wikilinks to the model best described as the successor to the infobox subject.
| Unknown | optional |