Difference between revisions of "Template:Infobox oil spill"

From blackwiki
Jump to navigation Jump to search
imported>MB
(Undid revision 976954081 by MB (talk))
imported>Frietjes
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]]

Template documentation[view] [edit] [history] [purge]

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
Exval.jpeg
3 days after Exxon Valdez ran aground
Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value).
LocationPrince William Sound, Alaska
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
Date24 March 1989
Cause
CauseGrounding of the Exxon Valdez oil tanker
OperatorExxon
Spill characteristics
Volume260,000 barrels (41,000 m3) - 750,000 barrels (119,000 m3)
Area11,000 sq mi (28,000 km2)
Shoreline impacted1,300 mi (2,100 km)
[[Category:Infobox templates|Template:Remove first word]]
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