Difference between revisions of "Template:Aviation accidents and incidents"
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> |
− | + | ||
− | |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}}]]}} | |
− | + | }} | |
* <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>]]}} | |
− | + | }} | |
− | |titlestyle = white-space:nowrap; | + | | titleclass = hlist vevent |
− | + | | titlestyle = white-space: nowrap; | |
− | |||
− | |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}}%}}} | |
− | + | | 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}}%}}} | |
− | |||
− | |||
− | |||
− | |||
+ | | 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> | |
− | {{ | ||
− | </noinclude> |
Revision as of 18:18, 9 September 2015
![]() | This template uses Lua: |
Usage
See Template:Aviation accidents and incidents in 2011 for an example.
Microformat
Tracking category
The above documentation is transcluded from Template:Aviation accidents and incidents/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |