Difference between revisions of "Template:Derechobox"

From blackwiki
Jump to navigation Jump to search
imported>SounderBruce
(per WP:CAPFRAG, no special formatting)
imported>Gwennie-nyan
(snugged up ref tag areas for better wiki styling and appearance)
 
Line 25: Line 25:
 
{{#if:{{{duration|}}}|
 
{{#if:{{{duration|}}}|
 
! Duration
 
! Duration
{{!}} {{{duration}}} {{#if:{{{durationref|}}}|{{{durationref}}}}}
+
{{!}} {{{duration}}}{{#if:{{{durationref|}}}|{{{durationref}}}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if:{{{track|}}}|
 
{{#if:{{{track|}}}|
 
! Track length
 
! Track length
{{!}} {{convert|{{{track}}}|mi|km|abbr=on|sigfig=3}} {{#if:{{{trackref|}}}|{{{trackref}}}}}
+
{{!}} {{convert|{{{track}}}|mi|km|abbr=on|sigfig=3}}{{#if:{{{trackref|}}}|{{{trackref}}}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if:{{{wind|}}}|
 
{{#if:{{{wind|}}}|
 
! Peak wind gust (measured)
 
! Peak wind gust (measured)
{{!}} {{convert|{{{wind}}}|mph|km/h+m/s|abbr=on|sigfig=3}} {{#if:{{{windloc|}}}|({{{windloc}}})}} {{#if:{{{windref|}}}|{{{windref}}}}}
+
{{!}} {{convert|{{{wind}}}|mph|km/h+m/s|abbr=on|sigfig=3}} {{#if:{{{windloc|}}}|({{{windloc}}})}}{{#if:{{{windref|}}}|{{{windref}}}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if:{{{windest|}}}|
 
{{#if:{{{windest|}}}|
 
! Peak wind gust ({{Estimation}})
 
! Peak wind gust ({{Estimation}})
{{!}} {{convert|{{{windest}}}|mph|km/h+m/s|abbr=on|sigfig=3}} {{#if:{{{windestloc|}}}|({{{windestloc}}})}} {{#if:{{{windestref|}}}|{{{windestref}}}}}
+
{{!}} {{convert|{{{windest}}}|mph|km/h+m/s|abbr=on|sigfig=3}} {{#if:{{{windestloc|}}}|({{{windestloc}}})}}{{#if:{{{windestref|}}}|{{{windestref}}}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if:{{{hail|}}}|
 
{{#if:{{{hail|}}}|
 
! Largest hail
 
! Largest hail
{{!}} {{convert|{{{hail}}}|in|cm|abbr=on|sigfig=2}} {{#if:{{{hailloc|}}}|({{{hailloc}}})}} {{#if:{{{hailref|}}}|{{{hailref}}}}}
+
{{!}} {{convert|{{{hail}}}|in|cm|abbr=on|sigfig=2}} {{#if:{{{hailloc|}}}|({{{hailloc}}})}}{{#if:{{{hailref|}}}|{{{hailref}}}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if:{{{tornadoes|}}}|
 
{{#if:{{{tornadoes|}}}|
 
! Tornadoes caused
 
! Tornadoes caused
{{!}} {{{tornadoes}}} {{#if:{{{torloc|}}}|({{{torloc}}})}} {{#if:{{{torref|}}}|{{{torref}}}}}
+
{{!}} {{{tornadoes}}} {{#if:{{{torloc|}}}|({{{torloc}}})}}{{#if:{{{torref|}}}|{{{torref}}}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 60: Line 60:
 
{{#if:{{{casualties|}}}|
 
{{#if:{{{casualties|}}}|
 
! Casualties
 
! Casualties
{{!}} class="note" {{!}} {{{casualties}}} {{#if:{{{casualtiesref|}}}|{{{casualtiesref}}}}}
+
{{!}} class="note" {{!}} {{{casualties}}}{{#if:{{{casualtiesref|}}}|{{{casualtiesref}}}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if:{{{fatalities|}}}|
 
{{#if:{{{fatalities|}}}|
 
! Fatalities
 
! Fatalities
{{!}} class="note" {{!}} {{{fatalities}}} {{#if:{{{fatalref|}}}|{{{fatalref}}}}}
+
{{!}} class="note" {{!}} {{{fatalities}}}{{#if:{{{fatalref|}}}|{{{fatalref}}}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if:{{{damage|}}}|
 
{{#if:{{{damage|}}}|
 
! Damage Costs
 
! Damage Costs
{{!}} {{{damage}}} {{#if:{{{damageref|}}}|{{{damageref}}}}}
+
{{!}} {{{damage}}}{{#if:{{{damageref|}}}|{{{damageref}}}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if:{{{damagetype|}}}|
 
{{#if:{{{damagetype|}}}|
 
! Types of Damage
 
! Types of Damage
{{!}} {{{damagetype}}} {{#if:{{{dmgtyperef|}}}|{{{dmgtyperef}}}}}
+
{{!}} {{{damagetype}}}{{#if:{{{dmgtyperef|}}}|{{{dmgtyperef}}}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if:{{{areas|}}}|
 
{{#if:{{{areas|}}}|
 
! Areas affected
 
! Areas affected
{{!}} class="location" {{!}} {{{areas}}} {{#if:{{{areasref|}}}|{{{areasref}}}}}
+
{{!}} class="location" {{!}} {{{areas}}}{{#if:{{{areasref|}}}|{{{areasref}}}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if:{{{worstareas|}}}|
 
{{#if:{{{worstareas|}}}|
 
! Hardest-hit or notably-affected areas
 
! Hardest-hit or notably-affected areas
{{!}} class="location" {{!}} {{{worstareas}}} {{#if:{{{worstareasref|}}}|{{{worstareasref}}}}}
+
{{!}} class="location" {{!}} {{{worstareas}}}{{#if:{{{worstareasref|}}}|{{{worstareasref}}}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}

Latest revision as of 23:30, 17 October 2020

Template documentation[view] [edit] [history] [purge]
{{Derechobox
| name = 
| image location = 
| alt = 
| image name =
| radar =
| radaralt =
| radar name =  
| date = 
| duration= 
| durationref =
| track = 
| trackref = 
| wind = 
| windloc = 
| windref = 
| windest= 
| windestloc =
| windestref =
| hail = 
| hailloc = 
| hailref = 
| tornadoes = 
| torloc = 
| torref = 
| fscale = 
| ef = 
| casualties = 
| casualtiesref =
| fatalities = 
| fatalref = 
| damage = 
| damageref = 
| damagetype = 
| dmgtyperef = 
| areas = 
| areasref = 
| worstareas = 
| worstareasref = 
| series = 
| related = 
}}

Description of fields

  • name - name, if different from article title
  • image location - main article image (without [[File:]])
  • alt - text alternative for image
  • image name - caption for image
  • radar - image, animated gif, or video of storm radar track (without [[File:]])
  • radaralt - text alternative for radar image
  • radar name - caption for radar image
  • date - date(s) of storm
  • duration - length of the storm (in hours, minutes, or days, depending)
  • durationref - reference for duration
  • track - track length (in miles) <automatically converts to show equivalent in kilometers>
  • trackref - reference for track length
  • wind - strongest measured wind speed (in miles per hour) <automatically converts to show equivalent in kilometers per hour and meters per second>
  • windloc - location of strongest measured wind speed
  • windref - reference for strongest measured wind speed
  • windest - strongest estimated wind speeds (in miles per hour) <automatically converts to show equivalent in kilometers per hour and meters per second>
  • windestloc - location of strongest estimated wind speeds
  • windestref - reference for strongest estimated wind speeds
  • hailref - reference for wind speed and/or location
  • hail - largest reported hailstone(s) (in inches) <automatically converts to show equivalent in centimeters>
  • hailloc - location or largest hailstone
  • hailref - reference for hail size and/or location
  • tornadoes - if any tornadoes, insert number here. Otherwise omit.
  • torloc - If only one tornado, location of tornado
  • torref - reference for tornado numbers and/or location
  • fscale - highest rating for a confirmed tornado (make sure not derecho straight-line damage)
  • ef - set to "yes" to use the Enhanced Fujita scale
  • casualties - number of non-fatal injured individuals or animals
  • casualtiesref - reference for casualties
  • fatalities - number of those killed
  • fatalref - reference for fatalities
  • damage - monetary amount of related damages in USD
  • damageref - reference for damage
  • damagetype - specific types of damage caused by the event
  • dmgtyperef - reference for damagetype
  • areas - affected areas
  • areasref - reference for affected areas
  • worstareas - the hardest-hit or notably-damaged areas of the derecho
  • worstareasref - reference for worst areas
  • series - derecho series if applicable, otherwise omit
  • related - related articles