Difference between revisions of "Template:Infobox oil spill"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>MB |
imported>Frietjes (regenerate unknown parameter tracking through Category:Pages using infobox oil spill with unknown parameters using Module:check for unknown parameters) |
||
| Line 71: | Line 71: | ||
|label11 = Shoreline impacted | |label11 = Shoreline impacted | ||
|data11 = {{{coast<includeonly>|</includeonly>}}} | |data11 = {{{coast<includeonly>|</includeonly>}}} | ||
| − | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox oil spill with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox oil spill]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | area | caption | casualties | cause | coast | coordinates | image | image_caption | image_size | location | name | operator | spill_date | spill_name | volume }}<noinclude> | + | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox oil spill with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox oil spill]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | area | Backgroundcolor | border | caption | casualties | cause | child | coast | coordinates | image | image size | image_alt | Image_Caption | image_caption | image_map | image_size | image_upright | location | location_map | location_map_caption | location_map_geomask | location_map_zoom | map | map dot label | map_alt | map_caption | map_dot_label | map_dot_mark | map_size | map_type | name | operator | pushpin_label | pushpin_map | pushpin_map_alt | pushpin_map_caption | pushpin_mapsize | pushpin_relief | qid | relief | spill_date | spill_name | subbox | volume }}<noinclude> |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 14:14, 7 September 2020
| Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value). | |
| Location | {{{location}}} |
|---|---|
| Coordinates | {{{coordinates}}} |
| Date | {{{spill_date}}} |
| Cause | |
| Cause | {{{cause}}} |
| Casualties | {{{casualties}}} |
| Operator | {{{operator}}} |
| Spill characteristics | |
| Volume | {{{volume}}} |
| Area | {{{area}}} |
| Shoreline impacted | {{{coast}}} |
[[Category:Infobox templates|Template:Remove first word]]
| This template uses Lua: |
Usage
{{Infobox oil spill
| name =
| image =
| image_size =
| image_caption =
| location =
| coordinates =
| spill_date =
| cause =
| operator =
| casualties =
| volume =
| area =
| coast =
}}
Required: name, location, spill_date, and at least one of volume/area/coast.
Unused parameters do not need to be stated (i.e. it isn't necessary to put "casualties = none" or "coast = n/a").
| Exxon Valdez oil spill | |
|---|---|
![]() 3 days after Exxon Valdez ran aground | |
| Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value). | |
| Location | Prince William Sound, Alaska |
| Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
| Date | 24 March 1989 |
| Cause | |
| Cause | Grounding of the Exxon Valdez oil tanker |
| Operator | Exxon |
| Spill characteristics | |
| Volume | 260,000 barrels (41,000 m3) - 750,000 barrels (119,000 m3) |
| Area | 11,000 sq mi (28,000 km2) |
| Shoreline impacted | 1,300 mi (2,100 km) |
| Parameter | Description | Example |
|---|---|---|
| name | should match article name, wiki markup OK | ''Exxon Valdez'' oil spill |
| image | do not include "File:" | Exval.jpeg |
| image_size | value in pixels, uses default image size if not set. | 250px |
| image_caption | description appears centered below image | 3 days after ''[[Exxon Valdez]]'' ran aground |
| location | general description of site, preferably with wikilinks | [[Prince William Sound]], [[Alaska]] |
| coordinates | specific location using Coord template (can also be used to cause coordinates to appear in article title by setting "display=title,inline") | {{Coord|60.83333|-146.86667|region:US-AK_type:landmark|display=inline}} |
| location_map_zoom | Zoom level for the location map (0-19) | 7 |
| spill_date | start of spill event (or range of dates, for extended spills) | 24 March 1989 |
| cause | general description of event that initiated the spill | Grounding of the ''[[Exxon Valdez]]'' oil tanker |
| operator | company that is financially responsible for spill event (if applicable) | [[Exxon]] |
| casualties | deaths or injuries associated with initial spill event (if applicable) | |
| volume | amount of oil spilled (or range of best estimates) Note: some spills are listed as mass (tonnes) instead of volume. See list of oil spills for typical conversions. |
{{convert|260000|oilbbl|m3}} - {{convert|750000|oilbbl|m3}} |
| area | area affected by oil (i.e. seafloor or land) | {{convert|11000|mi2|abbr=on}} |
| coast | linear length of coastline affected | {{convert|1300|mi|abbr=on}} |
Tracking category
| The above documentation is transcluded from Template:Infobox oil spill/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. |
