Difference between revisions of "Template:Infobox storm/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Master of Time
(May try to add option so it doesn't use the word "outbreak" for duration of single tornado.)
imported>Master of Time
(Add outbreak option)
Line 39: Line 39:
 
|label8 = {{abbr|Max|Maximum}} rating<sup>1</sup>
 
|label8 = {{abbr|Max|Maximum}} rating<sup>1</sup>
 
  |data8 = {{#if:{{{fujitascale|}}}|[[{{#ifeq:{{{enhanced|}}}|yes|Enhanced Fujita scale|Fujita scale}}|{{{fujitascale}}}]] tornado}}
 
  |data8 = {{#if:{{{fujitascale|}}}|[[{{#ifeq:{{{enhanced|}}}|yes|Enhanced Fujita scale|Fujita scale}}|{{{fujitascale}}}]] tornado}}
|label9 = Duration of tornado outbreak<sup>2</sup>
+
|label9 = Duration of tornado{{#ifeq:{{{outbreak}}}|no||outbreak<sup>2</sup>}}
 
  |data9 = {{{tornado duration|}}}
 
  |data9 = {{{tornado duration|}}}
 
|label10 = Highest winds
 
|label10 = Highest winds
Line 67: Line 67:
 
|label20 = Current advisories
 
|label20 = Current advisories
 
  |data20 = {{{current advisories|}}}
 
  |data20 = {{{current advisories|}}}
|below = {{#if:{{{fujitascale|}}}|<sup>1</sup>Most severe tornado damage; see [[{{#ifeq:{{{enhanced|}}}|yes|Enhanced Fujita scale|Fujita scale}}]]}}
+
|below = {{#if:{{{fujitascale|}}}|<sup>1</sup>Most severe tornado damage; see [[{{#ifeq:{{{enhanced|}}}|yes|Enhanced Fujita scale|Fujita scale}}]]}}{{#ifeq:{{{outbreak}}}|no||
{{#if:{{{tornado duration|}}}|<sup>2</sup>Time from first tornado to last tornado}}<br>
+
{{#if:{{{tornado duration|}}}|<sup>2</sup>Time from first tornado to last tornado}}<br>}}
 
{{{notes|}}}
 
{{{notes|}}}
 
|belowstyle = border-top:1px solid #aaaaaa;
 
|belowstyle = border-top:1px solid #aaaaaa;
 
}}
 
}}

Revision as of 03:04, 17 August 2019