LLWiki正在建設中,歡迎加入我們!
「Template:Countdown」修訂間的差異
跳至導覽
跳至搜尋
小 |
小 標籤:行動版網頁編輯 行動版編輯 |
||
第1行: | 第1行: | ||
<includeonly>{{#if:{{{1|}}}{{{time|}}}|{{#Widget:Countdown}}<span class="countdownNode" data-target="{{{1|{{{time}}}}}}"><span class="countdown-i18n"><span>小时</span><span>个月</span></span><span>{{{before|$1前}}}</span><span>{{{after|还剩$1}}}</span></span>|}}</includeonly><noinclude>{{doc|content=引自[[moegirl:template:countdown|萌娘百科:Template:Countdown]]。 |
<includeonly>{{#if:{{{1|}}}{{{time|}}}|{{#Widget:Countdown}}<span class="countdownNode" data-target="{{{1|{{{time}}}}}}"><span class="countdown-i18n"><span>小时</span><span>个月</span></span><span class="countdown-before">{{{before|$1前}}}</span><span class="countdown-after">{{{after|还剩$1}}}</span></span>|}}</includeonly><noinclude>{{doc|content=引自[[moegirl:template:countdown|萌娘百科:Template:Countdown]]。 |
||
示例:<code><nowiki>{{Countdown|time=</nowiki>{{#timel:Y-m-d|+1 day}}<nowiki> 00+08|after=距离明天(CST)还有$1。}}</nowiki></code> |
示例:<code><nowiki>{{Countdown|time=</nowiki>{{#timel:Y-m-d|+1 day}}<nowiki> 00+08|after=距离明天(CST)还有$1。}}</nowiki></code> |
於 2020年9月30日 (三) 07:37 的修訂
模板文檔
這個文檔是內聯文檔。
示例:{{Countdown|time=2024-07-08 00+08|after=距离明天(CST)还有$1。}}
效果:小時個月$1前距離明天(CST)還有$1。