Template:YearNav: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
gpomg very very simple the wikipedia stuff
(going very simple with the wikipedia link just to make sure the fundamentals "work")
(gpomg very very simple the wikipedia stuff)
Line 8: Line 8:
|{{#ifexpr:{{PAGENAME}} > 9999| |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}}}}}]]
|-
|-
|{{#ifexpr:{{PAGENAME}} < {{CURRENTYEAR}}|'''[[Wikipedia:{{{1|{{PAGENAME}}}}}|{{{2|{{PAGENAME}}}}}]]'''| |}}
|{{#ifexpr:{{PAGENAME}} < {{CURRENTYEAR}}|'''[[Wikipedia:{{{PAGENAME}}}|{{{PAGENAME}}}]]'''| |}}
|-
|-
}}
}}
|}{{#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.