Difference between revisions of "Template:Infobox tornado year"

From blackwiki
Jump to navigation Jump to search
imported>David Levy
m (type=infobox)
imported>Master of Time
(Implementing major upgrade to infobox: It now uses {{Infobox}} and the format is significantly less complicated.)
Line 1: Line 1:
 
{{Tfm/dated|page=Infobox Tornado Year|otherpage=Infobox Tornado year (EF scale)|link=Wikipedia:Templates for discussion/Log/2014 December 21#Template:Infobox Tornado Year|help=off|type=infobox}}
 
{{Tfm/dated|page=Infobox Tornado Year|otherpage=Infobox Tornado year (EF scale)|link=Wikipedia:Templates for discussion/Log/2014 December 21#Template:Infobox Tornado Year|help=off|type=infobox}}
{| class="infobox" style="width:30em; font-size:95%;" cellspacing="4"
+
{{Infobox
|+ style="font-size:125%;"| '''{{{name}}}'''
+
|bodyclass      = vevent
|-
+
|title          = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
{{#if:{{{image<includeonly>|</includeonly>}}}
+
 
   | <tr><td colspan="2" style="text-align:center;"><!--
+
|image   = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{image location|}}}}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1.2|alt={{{alt|{{{image alt|}}}}}}|suppressplaceholder=yes}}
            -->[[File:{{{image}}}{{!}}240px{{!}}center{{!}}{{{caption|}}}]]<!--
+
 
            --><div style="line-height:1.2em;"><!--
+
|caption = {{{caption|{{{image|}}}}}}
                    --><small>{{{caption<includeonly>|</includeonly>}}}</small><!--
+
|captionstyle = border-bottom:1px solid #aaaaaa;
            --></div></td></tr>
+
 
}}
+
|label1 = Timespan
|-
+
|data1  = {{{timespan|}}}
|style="line-height:1.3em;"| '''Timespan'''
+
|label2 = Maximum rated&nbsp;tornado
|style="line-height:1.3em;"| {{{timespan<includeonly>|</includeonly>}}}
+
|data2  = [[Fujita Scale|{{{max_F<includeonly>|</includeonly>}}}]] tornado<br/><!--
|-
 
|style="line-height:1.1em;"| '''Maximum rated&nbsp;tornado'''
 
|style="line-height:1.3em; vertical-align:middle;"| <!--
 
-->[[Fujita Scale|{{{max_F<includeonly>|</includeonly>}}}]] tornado<br/><!--
 
 
-->{{{max_location<includeonly>|</includeonly>}}} <!--
 
-->{{{max_location<includeonly>|</includeonly>}}} <!--
 
-->on {{{max_date<includeonly>|</includeonly>}}}<br /><!--  
 
-->on {{{max_date<includeonly>|</includeonly>}}}<br /><!--  
Line 33: Line 29:
 
-->{{#if: {{{max_location8|}}} | {{{max_location8<includeonly>|</includeonly>}}}|}} <!--
 
-->{{#if: {{{max_location8|}}} | {{{max_location8<includeonly>|</includeonly>}}}|}} <!--
 
-->{{#if: {{{max_date8|}}} | on {{{max_date8<includeonly>|</includeonly>}}}|}}
 
-->{{#if: {{{max_date8|}}} | on {{{max_date8<includeonly>|</includeonly>}}}|}}
|-
+
|label3 = Tornadoes in&nbsp;US
|style="line-height:1.1em;"| '''Tornadoes in&nbsp;US'''
+
|data3  = {{{tornadoes_usa|}}}
|style="line-height:1.1em; vertical-align:middle;"| {{{tornadoes_usa<includeonly>|</includeonly>}}}
+
|label4 = Damages&nbsp;(US)
|-
+
|data4  = {{{total_damages_usa|}}}
|style="line-height:1.3em;"| '''Damages&nbsp;(US)'''
+
|label5 = Fatalities&nbsp;(US)
|style="line-height:1.3em; vertical-align:middle;"| {{{total_damages_usa<includeonly>|</includeonly>}}}
+
|data5  = {{{total_fatalities_usa|}}}
|-
+
|label6 = Fatalities (worldwide)
|style="line-height:1.3em;"| '''Fatalities&nbsp;(US)'''
+
|data6  = {{{total_fatalities_world|}}}
|style="line-height:1.3em; vertical-align:middle;"| {{{total_fatalities_usa<includeonly>|</includeonly>}}}
+
|below = '''Tornado seasons'''<br>{{{five_seasons|}}}
|-
+
|belowstyle = border-top:1px solid #aaaaaa;
|style="line-height:1.1em;"| '''Fatalities (worldwide)'''
+
}}<noinclude>
|style="line-height:1.1em; vertical-align:middle;"| {{{total_fatalities_world<includeonly>|</includeonly>}}}
 
|-
 
{{#if:{{{five_seasons<includeonly>|</includeonly>}}}
 
  | <tr><td colspan="2" style="padding-top:0.5em; border-top:1px solid #AAA; line-height:1.3em; text-align:center;"><!--
 
        --><div style="padding:0.5em; background:#F0F0F0;"><!--
 
                -->'''Tornado seasons'''<br/>{{{five_seasons}}}<!--
 
        --></div></td></tr>
 
}}
 
|}<noinclude>
 
  
 
[[Category:Tornado templates|{{PAGENAME}}]]
 
[[Category:Tornado templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 22:01, 6 January 2015

Template:Tfm/dated

Maximum rated tornado{{{max_F}}} tornado
{{{max_location}}} on {{{max_date}}}
Tornado seasons

[[Category:Infobox templates|Template:Remove first word]]