LLWiki正在建設中,歡迎加入我們

「Template:Countdown」修訂間的差異

出自LLWiki
跳至導覽 跳至搜尋
第1行: 第1行:
<includeonly><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>{{#Widget:Countdown}}</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>{{{before|$1前}}}</span><span>{{{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日 (三) 05:49 的修訂

Template-info.png 模板文檔
這個文檔是內聯文檔。

引自萌娘百科:Template:Countdown

示例:{{Countdown|time=2024-06-17 00+08|after=距离明天(CST)还有$1。}}

效果:小時個月$1前距離明天(CST)還有$1。