Template:YearNav: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
no edit summary
(adding in pipe tricks for the years)
No edit summary
Line 5: Line 5:
|{{#ifexpr:{{dda}} > 9999|<center>'''[[Far future]]'''</center>|<center>[[{{nth|{{#expr:(({{dda}}-({{dda}} mod 100))/100)+1}}}} century]] {{#ifeq:{{PAGESIZE:{{#expr:({{dda}} - ({{dda}} mod 10))}}s}}|0| |{{!}} [[{{#expr: {{dda}} - ({{dda}} mod 10)}}s]]|}}}}
|{{#ifexpr:{{dda}} > 9999|<center>'''[[Far future]]'''</center>|<center>[[{{nth|{{#expr:(({{dda}}-({{dda}} mod 100))/100)+1}}}} century]] {{#ifeq:{{PAGESIZE:{{#expr:({{dda}} - ({{dda}} mod 10))}}s}}|0| |{{!}} [[{{#expr: {{dda}} - ({{dda}} mod 10)}}s]]|}}}}
|-align="center"
|-align="center"
|{{#ifexpr:{{dda}} > 9999| |<hr>{{#ifexpr:{{PAGESIZE:{{#expr:{{#sub:{{dda}}|0|4}}-6}}|R}}=0| |[[{{#expr:{{#sub:{{dda}}|0|4}}-6}} {{daydab}}|{{#expr:{{#sub:{{dda}}|0|4}}-6}}]]}} {{#ifeq:{{PAGESIZE:{{#expr:{{#sub:{{dda}}|0|4}}-5}} {{daydab}}|R}}|0| |•&nbsp;[[{{#expr:{{#sub:{{dda}}|0|4}}-5}} {{daydab}}|{{#expr:{{#sub:{{dda}}|0|4}}-5}}]]}} {{#ifeq:{{PAGESIZE:{{#expr:{{#sub:{{dda}}|0|4}}-4}}|R}}|0| |•&nbsp;[[{{#expr:{{#sub:{{dda}}|0|4}}-4}} {{daydab}}|{{#expr:{{#sub:{{dda}}|0|4}}-4}}]]}} {{#ifeq:{{PAGESIZE:{{#expr:{{#sub:{{dda}}|0|4}}-3}}|R}}|0| |•&nbsp;[[{{#expr:{{#sub:{{dda}}|0|4}}-3}} {{daydab}}|{{#expr:{{#sub:{{dda}}|0|4}}-3}}]]}} {{#ifeq:{{PAGESIZE:{{#expr:{{#sub:{{dda}}|0|4}}-2}}|R}}|0| |•&nbsp;[[{{#expr:{{#sub:{{dda}}|0|4}}-2|{{#expr:{{#sub:{{dda}}|0|4}}-2}}}} {{daydab}}]]}} {{#ifeq:{{PAGESIZE:{{#expr:{{#sub:{{dda}}|0|4}}-1}}|R}}|0| |•&nbsp;[[{{#expr:{{#sub:{{dda}}|0|4}}-1}} {{daydab}}|{{#expr:{{#sub:{{dda}}|0|4}}-1}}]]}} {{#ifeq:{{PAGESIZE:{{#expr:{{#sub:{{dda}}|0|4}}+1}}|R}}|0| |•&nbsp;[[{{#expr:{{#sub:{{dda}}|0|4}}+1}} {{daydab}}|{{#expr:{{#sub:{{dda}}|0|4}}+1}}]]}} {{#ifeq:{{PAGESIZE:{{#expr:{{#sub:{{dda}}|0|4}}+2}}|R}}|0| |•&nbsp;[[{{#expr:{{#sub:{{dda}}|0|4}}+2}} {{daydab}}|{{#expr:{{#sub:{{dda}}|0|4}}+2}}]]}} {{#ifeq:{{PAGESIZE:{{#expr:{{#sub:{{dda}}|0|4}}+3}}|R}}|0| |•&nbsp;[[{{#expr:{{#sub:{{dda}}|0|4}}+3}} {{daydab}}|{{#expr:{{#sub:{{dda}}|0|4}}+3}}]]}} {{#ifeq:{{PAGESIZE:{{#expr:{{#sub:{{dda}}|0|4}}+4}}|R}}|0| |•&nbsp;[[{{#expr:{{#sub:{{dda}}|0|4}}+4}} {{daydab}}|{{#expr:{{#sub:{{dda}}|0|4}}+4}}]]}} {{#ifeq:{{PAGESIZE:{{#expr:{{#sub:{{dda}}|0|4}}+5}}|R}}|0| |•&nbsp;[[{{#expr:{{#sub:{{dda}}|0|4}}+5}} {{daydab}}|{{#expr:{{#sub:{{dda}}|0|4}}+5}}]]}} {{#ifeq:{{PAGESIZE:{{#expr:{{#sub:{{dda}}|0|4}}+6}}|R}}|0| |•&nbsp;[[{{#expr:{{#sub:{{dda}}|0|4}}+6}} {{daydab}}|{{#expr:{{#sub:{{dda}}|0|4}}+6}}]]}}}}
|{{#ifexpr:{{dda}} > 9999| |<hr>{{#ifexpr:{{PAGESIZE:{{#expr:{{#sub:{{dda}}|0|4}}-6}}|R}}=0| |[[{{#expr:{{#sub:{{dda}}|0|4}}-6}} {{daydab}}|{{#expr:{{#sub:{{dda}}|0|4}}-6}}]]}} {{#ifeq:{{PAGESIZE:{{#expr:{{#sub:{{dda}}|0|4}}-5}} {{daydab}}|R}}|0| |•&nbsp;[[{{#expr:{{#sub:{{dda}}|0|4}}-5}} {{daydab}}|{{#expr:{{#sub:{{dda}}|0|4}}-5}}]]}} {{#ifeq:{{PAGESIZE:{{#expr:{{#sub:{{dda}}|0|4}}-4}}|R}}|0| |•&nbsp;[[{{#expr:{{#sub:{{dda}}|0|4}}-4}} {{daydab}}|{{#expr:{{#sub:{{dda}}|0|4}}-4}}]]}} {{#ifeq:{{PAGESIZE:{{#expr:{{#sub:{{dda}}|0|4}}-3}}|R}}|0| |•&nbsp;[[{{#expr:{{#sub:{{dda}}|0|4}}-3}} {{daydab}}|{{#expr:{{#sub:{{dda}}|0|4}}-3}}]]}} {{#ifeq:{{PAGESIZE:{{#expr:{{#sub:{{dda}}|0|4}}-2}}|R}}|0| |•&nbsp;[[{{#expr:{{#sub:{{dda}}|0|4}}-2}} {{daydab}}|{{#expr:{{#sub:{{dda}}|0|4}}-2}}]]}} {{#ifeq:{{PAGESIZE:{{#expr:{{#sub:{{dda}}|0|4}}-1}}|R}}|0| |•&nbsp;[[{{#expr:{{#sub:{{dda}}|0|4}}-1}} {{daydab}}|{{#expr:{{#sub:{{dda}}|0|4}}-1}}]]}} {{#ifeq:{{PAGESIZE:{{#expr:{{#sub:{{dda}}|0|4}}+1}}|R}}|0| |•&nbsp;[[{{#expr:{{#sub:{{dda}}|0|4}}+1}} {{daydab}}|{{#expr:{{#sub:{{dda}}|0|4}}+1}}]]}} {{#ifeq:{{PAGESIZE:{{#expr:{{#sub:{{dda}}|0|4}}+2}}|R}}|0| |•&nbsp;[[{{#expr:{{#sub:{{dda}}|0|4}}+2}} {{daydab}}|{{#expr:{{#sub:{{dda}}|0|4}}+2}}]]}} {{#ifeq:{{PAGESIZE:{{#expr:{{#sub:{{dda}}|0|4}}+3}}|R}}|0| |•&nbsp;[[{{#expr:{{#sub:{{dda}}|0|4}}+3}} {{daydab}}|{{#expr:{{#sub:{{dda}}|0|4}}+3}}]]}} {{#ifeq:{{PAGESIZE:{{#expr:{{#sub:{{dda}}|0|4}}+4}}|R}}|0| |•&nbsp;[[{{#expr:{{#sub:{{dda}}|0|4}}+4}} {{daydab}}|{{#expr:{{#sub:{{dda}}|0|4}}+4}}]]}} {{#ifeq:{{PAGESIZE:{{#expr:{{#sub:{{dda}}|0|4}}+5}}|R}}|0| |•&nbsp;[[{{#expr:{{#sub:{{dda}}|0|4}}+5}} {{daydab}}|{{#expr:{{#sub:{{dda}}|0|4}}+5}}]]}} {{#ifeq:{{PAGESIZE:{{#expr:{{#sub:{{dda}}|0|4}}+6}}|R}}|0| |•&nbsp;[[{{#expr:{{#sub:{{dda}}|0|4}}+6}} {{daydab}}|{{#expr:{{#sub:{{dda}}|0|4}}+6}}]]}}}}
|-
|-
|{{#ifexpr:{{dda}} <= {{#expr:{{CURRENTYEAR}}+10}}|{{wikipediainfo}}| |}}
|{{#ifexpr:{{dda}} <= {{#expr:{{CURRENTYEAR}}+10}}|{{wikipediainfo}}| |}}
|-
|-
|}{{#ifexpr:{{dda}} >9999|[[Category:Far future]]|[[Category:{{nth|{{#expr:(({{dda}}-({{dda}} mod 100))/100)+1}}}} century years]][[Category:{{#expr: {{dda}} - ({{dda}} mod 10)}}s]]|}} </includeonly><noinclude>[[Category:Timeline templates]]{{Documentation}}</noinclude>
|}{{#ifexpr:{{dda}} >9999|[[Category:Far future]]|[[Category:{{nth|{{#expr:(({{dda}}-({{dda}} mod 100))/100)+1}}}} century years]][[Category:{{#expr: {{dda}} - ({{dda}} mod 10)}}s]]|}} </includeonly><noinclude>[[Category:Timeline templates]]{{Documentation}}</noinclude>
85,404

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.