Difference between revisions of "Template:Infobox hurricane impact/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Thumperward
(general code cleanup. collapse inner table. rm "maximum rainfall" conditional: not only is the conditional never closed, but it never seems to have worked anyway)
 
imported>Thumperward
(re-add season)
Line 44: Line 44:
 
! Damage
 
! Damage
 
| {{#ifeq:{{{Damages}}}|None|None|{{#ifeq:{{{Damages}}}|Minimal|Minimal|{{#if:{{{Damages|}}}|{{#if:{{{Damagespre|}}}|{{{Damagespre}}}|}} ${{#ifexpr:{{{Damages}}}<1|{{#expr:{{{Damages}}}*1000}},000|{{#ifexpr:{{{Damages}}}<1000|{{{Damages}}} million|{{#expr:{{{Damages}}}/1000}} billion}}}} ({{{Year}}} [[United States dollar|USD]])|Unknown}}}}{{#if:{{{Inflated|}}}|<br />{{#if:{{{Damagespre|}}}|{{{Damagespre}}}|}} ${{#ifexpr:({{{Damages}}}*{{US Inflation|Year={{{Year}}}}})<1|{{#expr:({{{Damages}}}*{{US Inflation|Year={{{Year}}}}})*1000 round {{{Inflated}}}}},000|{{#ifexpr:({{{Damages}}}*{{US Inflation|Year={{{Year}}}}})<1000|{{#expr:({{{Damages}}}*{{US Inflation|Year={{{Year}}}}}) round {{{Inflated}}}}} million|{{#expr:({{{Damages}}}*{{US Inflation|Year={{{Year}}}}})/1000 round {{{Inflated}}}}} billion}}}} ({{#time:Y}} USD)|}}{{#if:{{{Damagespost|}}}|<br /><small>({{{Damagespost}}})</small>}} }}
 
| {{#ifeq:{{{Damages}}}|None|None|{{#ifeq:{{{Damages}}}|Minimal|Minimal|{{#if:{{{Damages|}}}|{{#if:{{{Damagespre|}}}|{{{Damagespre}}}|}} ${{#ifexpr:{{{Damages}}}<1|{{#expr:{{{Damages}}}*1000}},000|{{#ifexpr:{{{Damages}}}<1000|{{{Damages}}} million|{{#expr:{{{Damages}}}/1000}} billion}}}} ({{{Year}}} [[United States dollar|USD]])|Unknown}}}}{{#if:{{{Inflated|}}}|<br />{{#if:{{{Damagespre|}}}|{{{Damagespre}}}|}} ${{#ifexpr:({{{Damages}}}*{{US Inflation|Year={{{Year}}}}})<1|{{#expr:({{{Damages}}}*{{US Inflation|Year={{{Year}}}}})*1000 round {{{Inflated}}}}},000|{{#ifexpr:({{{Damages}}}*{{US Inflation|Year={{{Year}}}}})<1000|{{#expr:({{{Damages}}}*{{US Inflation|Year={{{Year}}}}}) round {{{Inflated}}}}} million|{{#expr:({{{Damages}}}*{{US Inflation|Year={{{Year}}}}})/1000 round {{{Inflated}}}}} billion}}}} ({{#time:Y}} USD)|}}{{#if:{{{Damagespost|}}}|<br /><small>({{{Damagespost}}})</small>}} }}
 +
|- style="background-color: #f0f0f0; border-bottom: 1px solid #aaa"
 +
| colspan=2 style="text-align: center" | Part of the '''{{{Hurricane season}}}'''
 
|-
 
|-
 
{{#if:{{{Series|}}}|
 
{{#if:{{{Series|}}}|

Revision as of 10:22, 2 December 2011

Infobox hurricane impact/sandbox
colspan=2 style="text-align: center; background-color: #Template:Storm colour" | Unknown strength{{{Type}}} (SSHS)
Areas affected {{{Areas}}}
Date {{{Date}}}
Highest winds Template:Ubl
Fatalities {{{Fatalities}}}
Damage Unknown
Part of the {{{Hurricane season}}}