This is the template sandbox page for Template:Infobox oil refinery (diff). See also the companion subpage for test cases. |
This template uses Lua: |
[[File:{{{image}}}|235px|alt={{{image_alt}}}]] | |
Country | {{{country}}} |
---|---|
State | {{{state}}} |
City | {{{city}}} |
Coordinates | 0°N 0°E / 0°N 0°E{{{coordinates_ref}}} |
Refinery details | |
Operator | {{{operator}}} |
Owner(s) | {{{owner}}} |
Commissioned | {{{founded}}} |
Decommissioned | {{{closure}}} |
Area | {{{area}}} |
Capacity | {{{capacity}}} |
Complexity index | {{{complexity_index}}} |
No. of employees | {{{employees}}} |
Refining units | {{{ref units}}} |
No. of oil tanks | {{{oil tank}}} |
Oil refining center | {{{oil refining center}}} |
Website | {{{website}}} |
{{Infobox oil refinery
| name =
| image = <!-- or | photo = -->
| imagesize =
| image alt = <!-- See WP:Alternative text for images -->
| caption =
| location_map =
| coordinates =
| coordinates_ref =
| location_map =
| location_map_width =
| location_map_text =
| country =
| province = <!-- or | state = -->
| city =
| operator =
| owner =
| founded = <!-- {{Start date|YYYY}} -->
| closure = <!-- {{End date|YYYY}} -->
| area =
| capacity bbl/d = <!-- or | capacity = -->
| complexity_index =
| employees =
| ref units =
| oil tank =
| oil refining center =
| website =
}}
All fields used by this template are optional. The following fields are available:
Field Name | Description | Values |
name | name of refinery (if none is provided, article name will be used) | plain text |
image | photo of the refinery | filename of a photo (Image: marker is not needed) |
caption | caption of the photo | wikitext (can contain links) |
location_map | Name of a location map file. The coordinates must be specified as well (see below). | filename of a location map (Image: marker is not needed) |
location_map_width | Avoid using: Overrides the default 250px | |
location_map_text | Caption beneath the location map | wikitext (can contain links) |
relief | Any non-blank value (yes , 1 , etc.) will cause the template to display a relief map image, where available. For additional information, see Template:Location map#Relief parameter. |
|
coordinates | Longitude and latitude | Use {{Coord}} |
coordinates_ref | Use this field to add references to the coordinates. | |
country | declare the country where the refinery is located.Do not use flag icons, as this places an unnecessary emphasis on nationality; see MOS:FLAG for a detailed rationale. | wikitext |
province | declare the province where the refinery is located | wikitext |
state | declare the state where the refinery is located | wikitext |
city | declare the town or city where the refinery is located | wikitext |
operator | company operating the refinery | wikitext |
owner | company or companies owning the refinery | wikitext |
founded | year of commissioning | date, link |
closure | year of decommissioning | wikitext |
area | area of refinery | wikitext |
capacity | If metric tonnes per year | wikitext |
capacity bbl/d | If barrels per day | number (will be automatically converted to metric) |
complexity_index | Nelson complexity index | number |
employees | number of employees | wikitext |
ref units | number of refining units | wikitext |
oil tank | number of oil tanks | wikitext |
oil refining center | name of the refining center | wikitext |
website | website address | wikitext |
The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.
If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.
If it has a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
hCard uses HTML classes including:
Geo is produced by calling {{coord}}, and uses HTML classes:
Please do not rename or remove these classes nor collapse nested elements which use them.
When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.