Difference between revisions of "Template:Disasters in India/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Paine Ellsworth
(test)
imported>Paine Ellsworth
m (normalize)
Line 1: Line 1:
{{Navbox with columns
+
<!--
|name = Disasters in India {{{years|in {{{year}}}}}}
 
|state = {{{state|<includeonly>{{{1|expanded}}}</includeonly>}}}
 
|bodyclass = {{{bodyclass|}}}
 
|titleclass = hlist vevent
 
|title =
 
* {{#ifexist: Template:Disasters in India in {{#expr:{{{year}}}-1}}
 
  | [[Template:Disasters in India in {{#expr:{{{year}}}-1}}|<span style="font-size:110%;font-weight:normal;">←</span> {{#expr:{{{year}}}-1}}]]
 
  }}
 
* <span class="summary">Disasters in India {{{years|in {{Start date|{{{year}}}}} }}}</span>
 
* {{#ifexist: Template:Disasters in India in {{#expr:{{{year}}}+1}}
 
  | [[Template:Disasters in India in {{#expr:{{{year}}}+1}}|{{#expr:{{{year}}}+1}} <span style="font-size:110%;font-weight:normal;">→</span>]]
 
  }}
 
|titlestyle = white-space:nowrap;
 
|navbar = <noinclude>plain</noinclude>
 
|listclass = plainlist
 
  
|colstyle = white-space:nowrap; padding-left:1em;
+
  Add your experimental template code here.
|col1width = {{{col1width|{{#expr:100/(1+{{#if:{{{col2<includeonly>|</includeonly>}}}|1|0}}+{{#if:{{{col3<includeonly>|</includeonly>}}}|1|0}}) round 1}}%}}}
 
|col2width = {{{col2width|{{#expr:100/(1+{{#if:{{{col2<includeonly>|</includeonly>}}}|1|0}}+{{#if:{{{col3<includeonly>|</includeonly>}}}|1|0}}) round 1}}%}}}
 
|col3width = {{{col2width|{{#expr:100/(1+{{#if:{{{col2<includeonly>|</includeonly>}}}|1|0}}+{{#if:{{{col3<includeonly>|</includeonly>}}}|1|0}}) round 1}}%}}}
 
  
|col1 = {{{col1<noinclude>|''col1''</noinclude>}}}
+
--><noinclude>
|col2 = {{{col2|<noinclude>''(col2)''</noinclude>}}}
+
{{Documentation}}
|col3 = {{{col3|<noinclude>''(col3)''</noinclude>}}}
 
 
 
|belowclass = hlist
 
|below =
 
* Incidents resulting in at least 50 deaths shown in ''italics'' &nbsp;
 
* &nbsp; Deadliest incident shown in <span style="font-weight:bold; font-variant:small-caps">Bold smallcaps</span>
 
 
 
}}<noinclude>
 
{{documentation}}
 
 
</noinclude>
 
</noinclude>

Revision as of 14:58, 28 December 2017

Template documentation[view] [edit] [history] [purge]

Usage

This is a meta-template used in other templates, for example,

{{Disasters in India in 2026}} yields:

Template:Disasters in India in 2026

also,

{{Disasters in India in 2017}} yields:

and,

{{Disasters in India in 2011}} yields: