Template:Infobox building/doc: Difference between revisions
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 5: | Line 5: | ||
<pre> | <pre> | ||
{{infobox building | {{infobox building | ||
|image = | |||
|purpose = | |purpose = | ||
|department = <!-- list the department(s) (and other administrative university divisions) that primarily use the building --> | |department = <!-- list the department(s) (and other administrative university divisions) that primarily use the building --> | ||
|contains = | |contains = | ||
|floors = <!-- include unaccessible floors, with a note --> | |floors = <!-- include unaccessible floors, with a note --> | ||
|year opened = | |||
|estates code = | |estates code = | ||
|campus = Usually "[[Main Campus]]", "[[Westwood Campus]]" or "[[Gibbet Hill Campus]]" | |campus = Usually "[[Main Campus]]", "[[Westwood Campus]]" or "[[Gibbet Hill Campus]]" | ||
| Line 20: | Line 22: | ||
<pre> | <pre> | ||
{{infobox building | {{infobox building | ||
|image = | |||
|purpose = | |purpose = | ||
|department = | |department = | ||
|floors = | |floors = | ||
|year opened = | |||
|estates code = | |estates code = | ||
|campus = | |campus = | ||
| Line 121: | Line 125: | ||
"example": "52°23.0380'N, 1°33.5748'W", | "example": "52°23.0380'N, 1°33.5748'W", | ||
"type": "content" | "type": "content" | ||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "An image of the building.", | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"year opened": { | |||
"label": "Year opened", | |||
"description": "The year that the building was opened.", | |||
"example": "2003", | |||
"type": "content", | |||
"suggested": true | |||
} | } | ||
}, | }, | ||
| Line 126: | Line 143: | ||
"format": "block", | "format": "block", | ||
"paramOrder": [ | "paramOrder": [ | ||
"image", | |||
"purpose", | "purpose", | ||
"department", | "department", | ||
| Line 135: | Line 153: | ||
"coordinates", | "coordinates", | ||
"campus map", | "campus map", | ||
"map" | "map", | ||
"year opened" | |||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
<includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | <includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | ||
Latest revision as of 20:34, 16 August 2025
{{Infobox building}} is an infobox to be used for all buildings that are on one of Warwick's campuses, or that are otherwise linked to Warwick.
Full parameter list
With notes:
{{infobox building
|image =
|purpose =
|department = <!-- list the department(s) (and other administrative university divisions) that primarily use the building -->
|contains =
|floors = <!-- include unaccessible floors, with a note -->
|year opened =
|estates code =
|campus = Usually "[[Main Campus]]", "[[Westwood Campus]]" or "[[Gibbet Hill Campus]]"
|address =
|coordinates =
|campus map = <!-- link to https://campus.warwick.ac.uk -->
|map = <!-- the address of the building in enough detail for it to show up on a map widget -->
}}
Without notes:
{{infobox building
|image =
|purpose =
|department =
|floors =
|year opened =
|estates code =
|campus =
|address =
|coordinates =
|campus map =
|map =
}}
TemplateData
An infobox to be used for all buildings that are on one of Warwick's campuses, or that are otherwise linked to Warwick.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Image | image | An image of the building. | File | suggested |
| Purpose | purpose | The purpose of the building
| Content | required |
| Department(s) | department | The department(s) that control or use some or all of the building.
| Content | suggested |
| Contains | contains | An overview of the rooms or type of rooms that this building contains.
| Content | suggested |
| Floors | floors | The floors that the building has. Include floors that are only accessible to Estates (when they're known about), but mark them with "(innacessible)" and bold accessible floors.
| Content | suggested |
| Estates building code | estates code | The Estates code for the building. You can find this by going to the interactive campus map, clicking on any region without a proper name (like a corridor), and taking the first two blocks of numbers. It will look like "XX.XXX" where each X is a digit.
| Line | suggested |
| Campus | campus | The campus that the building is on.
| Content | suggested |
| Address | address | The address of the building. Line breaks can be entered with "<br/>".
| Content | suggested |
| Coordinates | coordinates | The coordinates of the building.
| Content | optional |
| Campus map link | campus map | A link to the building on the campus map, https://campus.warwick.ac.uk.
| URL | suggested |
| Map | map | The address of the building in a format that will locate it on a map widget. | Line | suggested |
| Year opened | year opened | The year that the building was opened.
| Content | suggested |