Difference between revisions of "Template:Infobox oil refinery"
Jump to navigation
Jump to search
imported>JJMC89 (add coordinsert for type) |
imported>Beagel (fix location map) |
||
| Line 10: | Line 10: | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| − | | image2 = {{#if:{{{location_map|}}}|{{#if:{{ | + | | image2 = {{#if:{{{location_map|}}}|<!-- |
| − | + | -->{{#if:{{{coordinates|}}}{{both|{{{lat_d|}}}|{{{long_d|}}}}}|<!-- | |
| − | + | -->{{Location map|{{{location_map}}} | |
| − | + | |relief = {{{relief|}}} | |
| − | + | |coordinates = {{{coordinates|}}} | |
| − | + | |lat = {{#if:{{{lat_m|}}}{{{lat_NS|}}}| |{{{lat_d|}}} }} | |
| − | + | |long = {{#if:{{{long_m|}}}{{{long_EW|}}}| |{{{long_d|}}} }} | |
| − | + | |lat_deg={{#if:{{{lat_m|}}}{{{lat_NS|}}}|{{{lat_d|}}}| }} | |
| − | + | |lat_min={{#if:{{{lat_m|}}}{{{lat_NS|}}}|{{{lat_m|}}}| }} | |
| − | + | |lat_sec={{#if:{{{lat_s|}}}{{{lat_NS|}}}|{{{lat_s|}}}| }} | |
| − | + | |lat_dir={{#if:{{{lat_NS|}}}|{{{lat_NS|}}}| }} | |
| − | + | |lon_deg={{#if:{{{long_m|}}}{{{long_EW|}}}|{{{long_d|}}}| }} | |
| − | + | |lon_min={{#if:{{{long_m|}}}{{{long_EW|}}}|{{{long_m|}}}| }} | |
| − | + | |lon_sec={{#if:{{{long_s|}}}{{{long_EW|}}}|{{{long_s|}}}| }} | |
| − | + | |lon_dir={{#if:{{{long_EW|}}}|{{{long_EW|}}}| }} | |
| − | + | |float=center | |
| − | + | |width ={{#if:{{{location_map_width|}}}|{{{location_map_width}}}|235}} | |
| − | }} | + | |caption =}}{{#if:{{{location_map_text|}}}|{{{location_map_text}}}|Location of {{{name|{{PAGENAME}}}}}}}<!-- |
| + | -->}}<!-- | ||
| + | -->}} | ||
| label2 = Country | | label2 = Country | ||
Revision as of 19:53, 11 December 2016
[[Category:Infobox templates|Template:Remove first word]]
Contents
Usage
Template:Parameter names example
{{Infobox oil refinery
| name =
| image =
| image alt = <!-- See WP:Alternative text for images -->
| caption =
| location_map =
| coordinates =
| country =
| province = <!-- or | state = -->
| city =
| operator =
| owner =
| founded = <!-- {{Start date|YYYY}} -->
| closure = <!-- {{End date|YYYY}} -->
| capacity bbl/d = <!-- or | capacity = -->
| employees =
| ref units =
| oil tank =
| oil refining center =
}}
Fields
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 |
| capacity | If metric tonnes per year | wikitext |
| capacity bbl/d | If barrels per day | number (will be automatically converted to metric) |
| 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 |
Microformat
See also
| The above documentation is transcluded from Template:Infobox oil refinery/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |