Template:YearNav: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
doing a bt more of the far future switcharound
(testing making the page work for far future)
(doing a bt more of the far future switcharound)
Line 4: Line 4:
| style="margin-left: 0px;margin-top:2px;line-height:110%;text-align:center; font-size:150%;"|[[Timeline]]
| style="margin-left: 0px;margin-top:2px;line-height:110%;text-align:center; font-size:150%;"|[[Timeline]]
|-
|-
|{{#ifexpr:{{PAGENAME}} > 9999|'''[[Far future]]'''|century: [[{{nth|{{#expr:(({{PAGENAME}}-({{PAGENAME}} mod 100))/100)+1}}}} century]] decade: [[{{#expr: {{PAGENAME}} - ({{PAGENAME}} mod 10)}}s]]|}}
|{{#ifexpr:{{PAGENAME}} > 9999|<center>'''[[Far future]]'''</center>|century: [[{{nth|{{#expr:(({{PAGENAME}}-({{PAGENAME}} mod 100))/100)+1}}}} century]] decade: [[{{#expr: {{PAGENAME}} - ({{PAGENAME}} mod 10)}}s]]|}}
|-
|-
|previous year: [[{{{1|{{#expr:{{PAGENAME}}-1}}}}}]]  next year: [[{{{2|{{#expr:{{PAGENAME}}+1}}}}}]]
|{{#ifexpr:{{PAGENAME}} > 9999| |previous year: [[{{{1|{{#expr:{{PAGENAME}}-1}}}}}]]  next year: [[{{{2|{{#expr:{{PAGENAME}}+1}}}}}]]
|}[[category:{{nth|{{#expr:(({{PAGENAME}}-({{PAGENAME}} mod 100))/100)+1}}}} century years]][[category:{{#expr: {{PAGENAME}} - ({{PAGENAME}} mod 10)}}s]] </includeonly><noinclude>[[Category:Template sandbox]]</noinclude>
}}
|}{{#ifexpr:{{PAGENAME}}>9999|[[category:Far future]]|[[category:{{nth|{{#expr:(({{PAGENAME}}-({{PAGENAME}} mod 100))/100)+1}}}} century years]][[category:{{#expr: {{PAGENAME}} - ({{PAGENAME}} mod 10)}}s]]|}} </includeonly><noinclude>[[Category:Template sandbox]]</noinclude>
85,404

edits

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