Template:YearNav: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
no edit summary
No edit summary
No edit summary
Line 6: Line 6:
|{{#ifexpr:{{PAGENAME}} > 9999|<center>'''[[Far future]]'''</center>|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]]|}}
|-
|-
|{{#ifexpr:{{PAGENAME}} > 9999| |<hr>[[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-5}}]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-4}}]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-3}}]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-2}}]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-1}}]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}+0}}]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}+1}}]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}+2}}]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}+3}}]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}+4}}]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}+5}}]]}}
|{{#ifexpr:{{PAGENAME}} > 9999| |<hr>[[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-6}}]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-5}}]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-4}}]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-3}}]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-2}}]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-1}}]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}+1}}]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}+2}}]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}+3}}]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}+4}}]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}+5}}]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}+6}}]]}}
|-
|-
|{{#ifexpr:{{PAGENAME}} <= {{#expr:{{CURRENTYEAR}}+10}}|<hr><div style="float: left; margin .5em .5em .5em .5em;margin-right:10px;">[[Image:Smallwikipedialogo.png|30px|Wikipedia|link=[[wikipedia:Main Page]]]]</div><div style="margin-left: 0px;padding:0px;margin-top:8px;line-height:110%;text-align:left; font-size:80%;">'''Wikipedia''' has  '''[[Wikipedia:{{{1|{{PAGENAME}}}}}|a more detailed and comprehensive article on {{{2|{{PAGENAME}}}}}]]'''</div>| |}}
|{{#ifexpr:{{PAGENAME}} <= {{#expr:{{CURRENTYEAR}}+10}}|<hr><div style="float: left; margin .5em .5em .5em .5em;margin-right:10px;">[[Image:Smallwikipedialogo.png|30px|Wikipedia|link=[[wikipedia:Main Page]]]]</div><div style="margin-left: 0px;padding:0px;margin-top:8px;line-height:110%;text-align:left; font-size:80%;">'''Wikipedia''' has  '''[[Wikipedia:{{{1|{{PAGENAME}}}}}|a more detailed and comprehensive article on {{{2|{{PAGENAME}}}}}]]'''</div>| |}}
|-
|-
|}{{#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>
|}{{#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.