|
|
(未显示同一用户的3个中间版本) |
第1行: |
第1行: |
| <includeonly>{{#ifexpr:({{#time:U|{{{D|}}}}} - {{#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>|{{{ltext|}}}}}}}</includeonly><noinclude> | | <includeonly><includeonly>{{#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)}}}}分<br>|{{{ltext|}}}}}</includeonly><noinclude> |
| <code><nowiki>{{倒计时|D=|text=|ltext=}}</nowiki></code> | | <code><nowiki>{{倒计时|D=|text=|ltext=}}</nowiki></code> |
| :D=距离当前的时间 格式为 年-月-日 | | :D=距离当前的时间 格式为 年-月-日 |