Difference between revisions of "Template:Aviation accidents and incidents"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Izkala
(Add semantic list alternative)
Line 1: Line 1:
{{Navbox with columns
+
{{Navbox {{#if:{{{col1<includeonly>|</includeonly>}}}{{{col2|}}}{{{col3|}}}|with columns}}
|name = Aviation accidents and incidents {{{years|in {{{year}}}}}}
+
| name       = Aviation accidents and incidents {{{years|in {{{year}}}}}}
|state = {{{state|<includeonly>{{{1|autocollapse}}}</includeonly>}}}
+
| state     = {{{state|<includeonly>{{{1|autocollapse}}}</includeonly>}}}
|bodyclass = {{{bodyclass|}}}
+
| navbar    = <noinclude>plain</noinclude>
|titleclass = hlist vevent
+
 
|title =  
+
| bodyclass = {{{bodyclass|}}}
 +
 
 +
| title     =  
 
* {{#ifexist: Template:Aviation accidents and incidents in {{#expr:{{{year}}}-1}}
 
* {{#ifexist: Template:Aviation accidents and incidents in {{#expr:{{{year}}}-1}}
  | {{small|[[Template:Aviation accidents and incidents in {{#expr:{{{year}}}-1}}|<span style="font-weight:normal;">←</span> {{#expr:{{{year}}}-1}}]]}}
+
| {{Small|[[Template:Aviation accidents and incidents in {{#expr:{{{year}}}-1}}|<span style="font-weight: normal;">←</span> {{#expr:{{{year}}}-1}}]]}}
  }}
+
}}
 
* <span class="summary">[[Aviation accidents and incidents]] {{{years|in {{Start date|{{{year}}}}} }}}</span>
 
* <span class="summary">[[Aviation accidents and incidents]] {{{years|in {{Start date|{{{year}}}}} }}}</span>
 
* {{#ifexist: Template:Aviation accidents and incidents in {{#expr:{{{year}}}+1}}
 
* {{#ifexist: Template:Aviation accidents and incidents in {{#expr:{{{year}}}+1}}
  | {{small|[[Template:Aviation accidents and incidents in {{#expr:{{{year}}}+1}}|{{#expr:{{{year}}}+1}} <span style="font-weight:normal;">→</span>]]}}
+
| {{Small|[[Template:Aviation accidents and incidents in {{#expr:{{{year}}}+1}}|{{#expr:{{{year}}}+1}} <span style="font-weight: normal;">→</span>]]}}
  }}
+
}}
|titlestyle = white-space:nowrap;
+
| titleclass = hlist vevent
|navbar = <noinclude>plain</noinclude>
+
| titlestyle = white-space: nowrap;
|listclass = plainlist
 
  
|colstyle = white-space:nowrap; padding-left:1em;
+
| col1      = {{{col1|<noinclude>''(col1)''</noinclude>}}}
|col1width = {{{col1width|{{#expr:100/(1+{{#if:{{{col2<includeonly>|</includeonly>}}}|1|0}}+{{#if:{{{col3<includeonly>|</includeonly>}}}|1|0}}) round 1}}%}}}
+
| col2      = {{{col2|<noinclude>''(col2)''</noinclude>}}}
|col2width = {{{col2width|{{#expr:100/(1+{{#if:{{{col2<includeonly>|</includeonly>}}}|1|0}}+{{#if:{{{col3<includeonly>|</includeonly>}}}|1|0}}) round 1}}%}}}
+
| col3      = {{{col3|<noinclude>''(col3)''</noinclude>}}}
|col3width = {{{col2width|{{#expr:100/(1+{{#if:{{{col2<includeonly>|</includeonly>}}}|1|0}}+{{#if:{{{col3<includeonly>|</includeonly>}}}|1|0}}) round 1}}%}}}
+
| colstyle   = white-space: nowrap; padding-left: 1em;
 
+
| col1width = {{{col1width|{{#expr:100/(1+{{#if:{{{col2<includeonly>|</includeonly>}}}|1|0}}+{{#if:{{{col3<includeonly>|</includeonly>}}}|1|0}}) round 1}}%}}}
|col1 = {{{col1|<noinclude>''(col1)''</noinclude>}}}
+
| col2width = {{{col2width|{{#expr:100/(1+{{#if:{{{col2<includeonly>|</includeonly>}}}|1|0}}+{{#if:{{{col3<includeonly>|</includeonly>}}}|1|0}}) round 1}}%}}}
|col2 = {{{col2|<noinclude>''(col2)''</noinclude>}}}
+
| col3width = {{{col2width|{{#expr:100/(1+{{#if:{{{col2<includeonly>|</includeonly>}}}|1|0}}+{{#if:{{{col3<includeonly>|</includeonly>}}}|1|0}}) round 1}}%}}}
|col3 = {{{col3|<noinclude>''(col3)''</noinclude>}}}
 
 
 
|belowclass = hlist
 
|below =
 
  
 +
| list1      = {{#if:{{{list|}}}|{{Div col begin|colwidth={{{listwidth|20em}}}}}
 +
{{{list}}}
 +
{{Div col end}}
 +
}}
 +
| listclass  = plainlist
 +
| liststyle  = text-align: left; white-space: nowrap;
 
}}<noinclude>
 
}}<noinclude>
 
+
{{Documentation}}</noinclude>
{{documentation}}
 
</noinclude>
 

Revision as of 18:18, 9 September 2015