Template:YearNav: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
reducing font size ow wikipedia
(now that the logic is working for wikipedialink, importing the whole of wikipediainfo into this temp to see how it looks)
(reducing font size ow wikipedia)
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}} <= {{#expr:{{CURRENTYEAR}}+10}}|<hr><div style="float: left;">[[Image:Smallwikipedialogo.png|50px|none|Wikipedia]]</div><div style="margin-left: 0px;margin-top:7px;line-height:110%;text-align:center; font-size:110%;">'''Wikipedia''' has a more detailed <br>and comprehensive article on<div style="margin-left: 0px;margin-top:5px;font-size:100%;">'''[[Wikipedia:{{{1|{{PAGENAME}}}}}|{{{2|{{PAGENAME}}}}}]]'''</div>| |}}
|{{#ifexpr:{{PAGENAME}} <= {{#expr:{{CURRENTYEAR}}+10}}|<hr><div style="float: left;">[[Image:Smallwikipedialogo.png|50px|none|Wikipedia]]</div><div style="margin-left: 0px;margin-top:7px;line-height:110%;text-align:center; font-size:80%;">'''Wikipedia''' has a more detailed <br>and comprehensive article on<div style="margin-left: 0px;margin-top:5px;font-size:100%;">'''[[Wikipedia:{{{1|{{PAGENAME}}}}}|{{{2|{{PAGENAME}}}}}]]'''</div>| |}}
|-
|-
|style="text-align:center;"| This is a test
|style="text-align:center;"| This is a test
|-
|-
|}{{#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.