Difference between revisions of "Template:Infobox wildfire/doc"
Jump to navigation
Jump to search
imported>Zyxw (add category, misc formatting) |
imported>Zyxw (update blank template and {{Parameter names example}}, add missing parameter names, list parameters in order displayed) |
||
| Line 4: | Line 4: | ||
== Usage == | == Usage == | ||
| − | {{Parameter names example | title | image | alt | caption | location | coordinates | reference | references | | + | |
| + | === Individual fire === | ||
| + | {{Parameter names example | title | image | image_size | alt | caption | location | coordinates={{Coord|0|0}} | reference | references | cost | date | time | time-begin | time-end | timezone | area | acres | cause | landuse | buildings | structures | injuries | fatalities | perps | motive | image_map | pushpin_map=World | image_map_alt | image_map_caption | name | pushpin_map_alt | pushpin_map_caption }} | ||
| + | |||
| + | <pre style="overflow: auto;"> | ||
| + | {{Infobox wildfire | ||
| + | | title = | ||
| + | | image = | ||
| + | | image_size = | ||
| + | | alt = | ||
| + | | caption = | ||
| + | | location = | ||
| + | | coordinates = | ||
| + | | reference = <!-- or: | references = --> | ||
| + | | cost = | ||
| + | | date = | ||
| + | | time = | ||
| + | | time-begin = | ||
| + | | time-end = | ||
| + | | timezone = | ||
| + | | area = | ||
| + | | acres = | ||
| + | | cause = | ||
| + | | landuse = | ||
| + | | buildings = | ||
| + | | structures = | ||
| + | | injuries = | ||
| + | | fatalities = | ||
| + | | perps = | ||
| + | | motive = | ||
| + | | image_map = | ||
| + | | image_map_alt = | ||
| + | | image_map_caption = <!-- or: | name = --> | ||
| + | | pushpin_map = | ||
| + | | pushpin_map_alt = | ||
| + | | pushpin_map_caption = | ||
| + | }} | ||
| + | </pre> | ||
| + | {{clear}} | ||
| + | |||
| + | === Season === | ||
| + | {{Parameter names example | title | image | image_size | alt | caption | reference | references | total_fires | total_area | cost | acres | structures | injuries | fatalities | is_season | prev | year | season_name | next }} | ||
<pre style="overflow: auto;"> | <pre style="overflow: auto;"> | ||
{{Infobox wildfire | {{Infobox wildfire | ||
| − | | title | + | | title = |
| − | | image | + | | image = |
| − | | image_size | + | | image_size = |
| − | | | + | | alt = |
| − | | | + | | caption = |
| − | + | | reference = <!-- or: | references = --> | |
| − | + | | total_fires = | |
| − | | reference | + | | total_area = |
| − | + | | cost = | |
| − | + | | acres = | |
| − | + | | structures = | |
| − | + | | injuries = | |
| − | | | + | | fatalities = |
| − | | | + | | is_season = |
| − | | | + | | prev = |
| − | + | | year = | |
| − | | | + | | season_name = |
| − | | | + | | next = |
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | |||
| − | |||
| − | | year | ||
| − | | season_name | ||
| − | | | ||
| − | |||
}} | }} | ||
</pre> | </pre> | ||
{{clear}} | {{clear}} | ||
| − | == Examples | + | == Examples == |
| − | === | + | === Individual fire === |
{{Infobox wildfire | {{Infobox wildfire | ||
| − | | title | + | | title = Jesusita Fire |
| − | | image | + | | image = JesusitaFire1.jpg |
| − | | caption | + | | caption = Jesusita Fire, May 7, 2009, climbing the [[Santa Ynez Mountains]] behind Santa Barbara. |
| − | | reference | + | | location = [[Santa Barbara, California|Santa Barbara]], [[California]], [[United States]] |
| − | | cost | + | | coordinates = {{Coord|34.45|-119.717|region:US-CA|display=inline<!--,title-->}} |
| − | | injuries | + | | reference = <ref name=CDF>{{cite web|title=Jesusita Fire|url=http://cdfdata.fire.ca.gov/incidents/incidents_details_info?incident_id=310|website=[[CAL FIRE]]|accessdate=20 August 2015}}</ref> |
| − | | fatalities | + | | cost = $12 million |
| − | + | | date = May 5, 2009 — May 18, 2009 | |
| − | + | | area = {{convert|8733|acre|km2|0}} | |
| − | | | + | | cause = Sparks off of trail clearing equipment |
| − | | | + | | landuse = Residential; Open space |
| + | | buildings = {{ubl|80 homes|79 outbuildings|1 commercial property}} | ||
| + | | injuries = {{ubl|1 civilians|2 firefighters}} | ||
| + | | fatalities = {{ubl|3 civilians|4 firefighters}} | ||
| + | | perps = John Smith | ||
| + | | motive = Accidental | ||
| pushpin_map = USA California Southern | | pushpin_map = USA California Southern | ||
| pushpin_map_caption = Location of Jesusita Fire in Southern California | | pushpin_map_caption = Location of Jesusita Fire in Southern California | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
<pre style="overflow: auto;"> | <pre style="overflow: auto;"> | ||
{{Infobox wildfire | {{Infobox wildfire | ||
| − | | title | + | | title = Jesusita Fire |
| − | | image | + | | image = JesusitaFire1.jpg |
| − | | caption | + | | caption = Jesusita Fire, May 7, 2009, climbing the [[Santa Ynez Mountains]] behind Santa Barbara. |
| − | | reference | + | | location = [[Santa Barbara, California|Santa Barbara]], [[California]], [[United States]] |
| − | | cost | + | | coordinates = {{Coord|34.45|-119.717|region:US-CA|display=inline,title}} |
| − | | injuries | + | | reference = <ref name=CDF>{{cite web|title=Jesusita Fire|url=http://cdfdata.fire.ca.gov/incidents/incidents_details_info?incident_id=310|website=[[CAL FIRE]]|accessdate=20 August 2015}}</ref> |
| − | | fatalities | + | | cost = $12 million |
| − | + | | date = May 5, 2009 — May 18, 2009 | |
| − | | | + | | area = {{convert|8733|acre|km2|0}} |
| − | + | | cause = Sparks off of trail clearing equipment | |
| − | | | + | | landuse = Residential; Open space |
| + | | buildings = {{ubl|80 homes|79 outbuildings|1 commercial property}} | ||
| + | | injuries = {{ubl|1 civilians|2 firefighters}} | ||
| + | | fatalities = {{ubl|3 civilians|4 firefighters}} | ||
| + | | perps = John Smith | ||
| + | | motive = Accidental | ||
| pushpin_map = USA California Southern | | pushpin_map = USA California Southern | ||
| pushpin_map_caption = Location of Jesusita Fire in Southern California | | pushpin_map_caption = Location of Jesusita Fire in Southern California | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
</pre> | </pre> | ||
| + | ; References | ||
| + | {{reflist}} | ||
{{clear}} | {{clear}} | ||
| Line 94: | Line 125: | ||
| title = 2014 California wildfires | | title = 2014 California wildfires | ||
| image = | | image = | ||
| + | | alt = | ||
| caption = | | caption = | ||
| − | |||
| total_fires = 1,234 | | total_fires = 1,234 | ||
| total_area = {{convert|123456|acre|km2|0}} | | total_area = {{convert|123456|acre|km2|0}} | ||
| + | | cost = $20 million | ||
| injuries = {{ubl|12 civilians|15 firefighters}} | | injuries = {{ubl|12 civilians|15 firefighters}} | ||
| fatalities = {{ubl|12 civilians|15 firefighters}} | | fatalities = {{ubl|12 civilians|15 firefighters}} | ||
| Line 109: | Line 141: | ||
| title = 2014 California wildfires | | title = 2014 California wildfires | ||
| image = | | image = | ||
| + | | alt = | ||
| caption = | | caption = | ||
| − | |||
| total_fires = 1,234 | | total_fires = 1,234 | ||
| total_area = {{convert|123456|acre|km2|0}} | | total_area = {{convert|123456|acre|km2|0}} | ||
| + | | cost = $20 million | ||
| injuries = {{ubl|12 civilians|15 firefighters}} | | injuries = {{ubl|12 civilians|15 firefighters}} | ||
| fatalities = {{ubl|12 civilians|15 firefighters}} | | fatalities = {{ubl|12 civilians|15 firefighters}} | ||
| Line 120: | Line 153: | ||
}} | }} | ||
</pre> | </pre> | ||
| − | |||
| − | |||
| − | |||
{{clear}} | {{clear}} | ||
Revision as of 16:54, 3 March 2017
| 40px | This is a documentation subpage for Template:Infobox wildfire. It contains usage information, categories and other content that is not part of the original template page. |
| 30px | This template uses Lua: |
Contents
Usage
Individual fire
Template:Parameter names example
{{Infobox wildfire
| title =
| image =
| image_size =
| alt =
| caption =
| location =
| coordinates =
| reference = <!-- or: | references = -->
| cost =
| date =
| time =
| time-begin =
| time-end =
| timezone =
| area =
| acres =
| cause =
| landuse =
| buildings =
| structures =
| injuries =
| fatalities =
| perps =
| motive =
| image_map =
| image_map_alt =
| image_map_caption = <!-- or: | name = -->
| pushpin_map =
| pushpin_map_alt =
| pushpin_map_caption =
}}
Season
Template:Parameter names example
{{Infobox wildfire
| title =
| image =
| image_size =
| alt =
| caption =
| reference = <!-- or: | references = -->
| total_fires =
| total_area =
| cost =
| acres =
| structures =
| injuries =
| fatalities =
| is_season =
| prev =
| year =
| season_name =
| next =
}}
Examples
Individual fire
| Jesusita Fire | |
|---|---|
![]() Jesusita Fire, May 7, 2009, climbing the Santa Ynez Mountains behind Santa Barbara. | |
| Location | Santa Barbara, California, United States |
| Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
| Statistics[1] | |
| Cost | $12 million |
| Date(s) | May 5, 2009 — May 18, 2009 |
| Burned area | 8,733 acres (35 km2) |
| Cause | Sparks off of trail clearing equipment |
| Land use | Residential; Open space |
| Buildings destroyed | Template:Ubl |
| Deaths | Template:Ubl |
| Non-fatal injuries | Template:Ubl |
| Perpetrator(s) | John Smith |
| Motive | Accidental |
| Map | |
| Lua error in Module:Location_map at line 399: Malformed coordinates value. | |
{{Infobox wildfire
| title = Jesusita Fire
| image = JesusitaFire1.jpg
| caption = Jesusita Fire, May 7, 2009, climbing the [[Santa Ynez Mountains]] behind Santa Barbara.
| location = [[Santa Barbara, California|Santa Barbara]], [[California]], [[United States]]
| coordinates = {{Coord|34.45|-119.717|region:US-CA|display=inline,title}}
| reference = <ref name=CDF>{{cite web|title=Jesusita Fire|url=http://cdfdata.fire.ca.gov/incidents/incidents_details_info?incident_id=310|website=[[CAL FIRE]]|accessdate=20 August 2015}}</ref>
| cost = $12 million
| date = May 5, 2009 — May 18, 2009
| area = {{convert|8733|acre|km2|0}}
| cause = Sparks off of trail clearing equipment
| landuse = Residential; Open space
| buildings = {{ubl|80 homes|79 outbuildings|1 commercial property}}
| injuries = {{ubl|1 civilians|2 firefighters}}
| fatalities = {{ubl|3 civilians|4 firefighters}}
| perps = John Smith
| motive = Accidental
| pushpin_map = USA California Southern
| pushpin_map_caption = Location of Jesusita Fire in Southern California
}}
- References
- ↑ "Jesusita Fire". CAL FIRE. Retrieved 20 August 2015.
Season
| 2014 California wildfires | |
|---|---|
| Statistics | |
| Total fires | 1,234 |
| Total area | 123,456 acres (500 km2) |
| Cost | $20 million |
| Deaths | Template:Ubl |
| Non-fatal injuries | Template:Ubl |
| Season | |
← 2013
2015 → | |
{{Infobox wildfire
| title = 2014 California wildfires
| image =
| alt =
| caption =
| total_fires = 1,234
| total_area = {{convert|123456|acre|km2|0}}
| cost = $20 million
| injuries = {{ubl|12 civilians|15 firefighters}}
| fatalities = {{ubl|12 civilians|15 firefighters}}
| is_season = yes
| year = 2014
| season_name = California wildfires
}}
Maps
This infobox implements Template:Location map giving two options for displaying a map. You can either supply an image that is a map, such as a briefing map, via {{{image_map}}} OR you can supply a pushpin map that will have a pushpin dropped on it based on the coordinates of the fire (use {{Coord}} in the |coordinates= parameter). This is done by using {{{pushpin_map}}}. For a full list of available pushpin maps, see: Category:Location map templates.
Tracking categories
This template also creates a number of tracking categories:
- Category:Wildfire articles needing maps (0)
- Category:Wildfire articles needing images (0)
- Category:Pages using infobox wildfire with unknown parameters (0)
