打开/关闭搜索
搜索
打开/关闭菜单
通知
打开/关闭个人菜单
查看“模板:倒计时”的源代码
来自EaseCation Wiki
查看
阅读
查看源代码
查看历史
associated-pages
模板
讨论
更多操作
←
模板:倒计时
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您没有权限编辑
模板
命名空间内的页面。
您可以查看和复制此页面的源代码。
<includeonly>{{#ifexpr:({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}})>-86400|{{#ifexpr:({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}})>0|{{{text}}}{{#ifexpr:({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}})>2592000|{{#expr:floor(({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}}) / 2592000)}}月}}{{#ifexpr:({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}})>86400|{{#expr:floor((({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}})-2592000*floor(({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}}) / 2592000)) / 86400)}}天}}{{#ifexpr:({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}})>3600|{{#expr:floor((({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}})-2592000*floor(({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}}) / 2592000)-86400*floor((({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}})-2592000*floor(({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}}) / 2592000)) / 86400)) / 3600)}}时}}{{#ifexpr:({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}})>60|{{#expr:floor((({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}})-2592000*floor(({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}}) / 2592000)-86400*floor((({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}})-2592000*floor(({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}}) / 2592000)) / 86400)-3600*floor((({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}})-2592000*floor(({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}}) / 2592000)-86400*floor((({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}})-2592000*floor(({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}}) / 2592000)) / 86400)) / 3600)) / 60)}}}}分{{#expr:({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}})-2592000*floor(({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}}) / 2592000)-86400*floor((({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}})-2592000*floor(({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}}) / 2592000)) / 86400)-3600*floor((({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}})-2592000*floor(({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}}) / 2592000)-86400*floor((({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}})-2592000*floor(({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}}) / 2592000)) / 86400)) / 3600)-60*floor((({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}})-2592000*floor(({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}}) / 2592000)-86400*floor((({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}})-2592000*floor(({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}}) / 2592000)) / 86400)-3600*floor((({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}})-2592000*floor(({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}}) / 2592000)-86400*floor((({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}})-2592000*floor(({{#time:U|{{{D}}}}} - {{#time:U|{{LOCALTIMESTAMP}}}}) / 2592000)) / 86400)) / 3600)) / 60)}}秒<br>[[Special:Purge/{{FULLPAGENAME}}|刷新该页面]]}}|{{{ltext}}}}}</includeonly> <noinclude> <code><nowiki>{{倒计时d=|text=|ltext=}}</nowiki></code> :d=距离当前的时间 格式为 年-月-日 :text=没到倒计时前的显示文字 :ltext=到倒计时的显示文字 </noinclude>
返回
模板:倒计时
。