更多语言
更多操作
删除的内容 添加的内容
doing a bt more of the far future switcharound |
first attempt at putting wikipediainfo into the template; will display wikipediainfo if the year is any year less than 10 years from current year |
||
第7行: | 第7行: | ||
|- |
|- |
||
|{{#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}}+10)|<div style="margin-left: 0px;margin-top:5px;font-size:100%;">'''[[Wikipedia:{{{1|{{PAGENAME}}}}}|{{{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> |
2010年4月24日 (六) 21:22的版本
此文档嵌入自Template:YearNav/doc。