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-05-25 00+08|after=距离明天(CST)还有$1。}}

效果:小时个月$1前距离明天(CST)还有$1。