Difference between revisions of "Template:Aviation accidents and incidents"
Jump to navigation
Jump to search
imported>Jay D. Easy (collapsed) |
imported>Gonnym (added custom title options) |
||
Line 7: | Line 7: | ||
| title = | | title = | ||
− | * {{#ifexist:Template:Aviation accidents and incidents in {{#expr:{{{year}}}-1}} | + | * {{#if: {{{custom_prev_year|}}} |
+ | | {{Small|[[Template:Aviation accidents and incidents in {{{custom_prev_year|}}}|<span style="font-weight:normal;">←</span> {{{custom_prev_year|}}}]]}} | ||
+ | | {{#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}} | + | * {{#if: {{{custom_next_year|}}} |
+ | | {{Small|[[Template:Aviation accidents and incidents in {{{custom_next_year|}}}|{{{custom_next_year|}}} <span style="font-weight:normal;">→</span>]]}} | ||
+ | | {{#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>]]}} | ||
− | }} | + | }} }} |
| titleclass = hlist vevent | | titleclass = hlist vevent | ||
Revision as of 21:32, 29 April 2019
![]() | 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. |