Template:YearNav: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
finishing up the rewrite; it shouldn't show pages that haven't been created
(testing a bit of a change)
(finishing up the rewrite; it shouldn't show pages that haven't been created)
Line 6: Line 6:
|{{#ifexpr:{{PAGENAME}} > 9999|<center>'''[[Far future]]'''</center>|<center> [[{{nth|{{#expr:(({{PAGENAME}}-({{PAGENAME}} mod 100))/100)+1}}}} century]] {{!}} [[{{#expr: {{PAGENAME}} - ({{PAGENAME}} mod 10)}}s]]|}}
|{{#ifexpr:{{PAGENAME}} > 9999|<center>'''[[Far future]]'''</center>|<center> [[{{nth|{{#expr:(({{PAGENAME}}-({{PAGENAME}} mod 100))/100)+1}}}} century]] {{!}} [[{{#expr: {{PAGENAME}} - ({{PAGENAME}} mod 10)}}s]]|}}
|-align="center"
|-align="center"
|{{#ifexpr:{{PAGENAME}} > 9999| |<hr>{{#ifexpr:{{PAGESIZE}}=0||[[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-6}}]]}}&nbsp;}• {{#ifexpr:{{PAGESIZE}}=0||[[{{#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}}]]<br />[[{{#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}} > 9999| |<hr>{{#ifexpr:{{PAGESIZE}}=0||[[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-6}}]]}}&nbsp;• {{#ifexpr:{{PAGESIZE}}=0||[[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-5}}]]}}&nbsp;• {{#ifexpr:{{PAGESIZE}}=0||[[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-4}}]]}}&nbsp;• {{#ifexpr:{{PAGESIZE}}=0||[[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-3}}]]}}&nbsp;• {{#ifexpr:{{PAGESIZE}}=0||[[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-2}}]]}}&nbsp;• {{#ifexpr:{{PAGESIZE}}=0||[[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-1}}]]}}<br />{{#ifexpr:{{PAGESIZE}}=0||[[{{#expr:{{#sub:{{PAGENAME}}|0|4}}+1}}]]}}&nbsp;• {{#ifexpr:{{PAGESIZE}}=0||[[{{#expr:{{#sub:{{PAGENAME}}|0|4}}+2}}]]}}&nbsp;• {{#ifexpr:{{PAGESIZE}}=0||[[{{#expr:{{#sub:{{PAGENAME}}|0|4}}+3}}]]}}&nbsp;• {{#ifexpr:{{PAGESIZE}}=0||[[{{#expr:{{#sub:{{PAGENAME}}|0|4}}+4}}]]}}&nbsp;• {{#ifexpr:{{PAGESIZE}}=0||[[{{#expr:{{#sub:{{PAGENAME}}|0|4}}+5}}]]}}&nbsp;• {{#ifexpr:{{PAGESIZE}}=0||[[{{#expr:{{#sub:{{PAGENAME}}|0|4}}+6}}]]}}}}
|-
|-
|{{#ifexpr:{{PAGENAME}} <= {{#expr:{{CURRENTYEAR}}+10}}|{{wikipediainfo}}| |}}
|{{#ifexpr:{{PAGENAME}} <= {{#expr:{{CURRENTYEAR}}+10}}|{{wikipediainfo}}| |}}
|-
|-
|}{{#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:Timeline templates]]</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:Timeline templates]]</noinclude>
85,404

edits

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