Template:Infobox bus/doc: Difference between revisions
Starter TemplateData |
Replace or remove example values with relevant ones |
||
| 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 43: | Line 42: | ||
"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": { | ||
Revision as of 23:58, 6 October 2024
TemplateData
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 |
| 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 |