切換選單
切換個人選單
尚未登入
若您做出任何編輯,會公開您的 IP 位址。

「Template:YearNav」:修訂間差異

模板頁面
刪去的內容 新增的內容
無編輯摘要
hm less elegant in its output imo, but definitely cleaner function-wise
第9行: 第9行:
|{{#ifexpr:{{dda}} <= {{#expr:{{CURRENTYEAR}}+10}}|[[File:WikipediaInfo.png|center|link=wikipedia:{{dda}}]]| |}}
|{{#ifexpr:{{dda}} <= {{#expr:{{CURRENTYEAR}}+10}}|[[File:WikipediaInfo.png|center|link=wikipedia:{{dda}}]]| |}}
|-
|-
|}{{#ifexpr:{{dda}} >9999|[[Category:Far future| {{#ifexpr:{{dda}}<100000|{{dda}}|{{#ifexpr:{{dda}}<1000000|a{{dda}}|{{#ifexpr:{{dda}}<10000000|b{{dda}}|{{#ifexpr:{{dda}}<100000000|c{{dda}}|{{#ifexpr:{{dda}}<1000000000|d{{dda}}|{{#ifexpr:{{dda}}<10000000000|e{{dda}}|{{#ifexpr:{{dda}}<100000000000|f{{dda}}|{{#ifexpr:{{dda}}<1000000000000|g{{dda}}|{{#ifexpr:{{dda}}<10000000000000|h{{dda}}|x{{dda}}}}}}}}}}}}}}}}}}}}]]|[[Category:{{nth|{{#expr:(({{dda}}-({{dda}} mod 100))/100)+1}}}} century years]][[Category:{{#expr: {{dda}} - ({{dda}} mod 10)}}s]]|}} </includeonly><noinclude>[[Category:Timeline templates]][[Category:Templates that add a category]]{{Documentation}}</noinclude>
|}{{#ifexpr:{{dda}} >9999|[[Category:Far future| {{padleft:{{dda}}|33}}]]|[[Category:{{nth|{{#expr:(({{dda}}-({{dda}} mod 100))/100)+1}}}} century years]][[Category:{{#expr: {{dda}} - ({{dda}} mod 10)}}s]]|}} </includeonly><noinclude>[[Category:Timeline templates]][[Category:Templates that add a category]]{{Documentation}}</noinclude>

於 2019年9月15日 (日) 09:53 的修訂

模板文件[檢視][編輯][歷史][清除快取]
此文件嵌入自Template:YearNav/doc
Cookies 幫助我們給予服務內容。依您有使用我們的服務,代表您同意我們使用 cookies。