LLWiki正在建设中,欢迎加入我们!
“Template:Countdown”的版本间差异
跳转到导航
跳转到搜索
小 (// 使用Wikiplus小工具快速编辑) |
小 |
||
第1行: | 第1行: | ||
<includeonly>{{#vardefine:countdownId|{{#expr:{{#var:countdownId|0}}+1}}}}<span id="countdown{{#var:countdownId}}" class="countdownNode" data-target="{{{1|}}}{{{time|}}}" data-before="{{{before|}}}" data-after="{{{after|}}}"> - </span>{{#Widget:Countdown}}</includeonly><noinclude>{{doc|content=引自[[moegirl:template:countdown|萌娘百科:Template:Countdown]]。 |
<includeonly>{{#vardefine:countdownId|{{#expr:{{#var:countdownId|0}}+1}}}}<span id="countdown{{#var:countdownId}}" class="countdownNode" data-target="{{{1|}}}{{{time|}}}" data-before="{{{before|}}}" data-after="{{{after|}}}"> - </span>{{#Widget:Countdown}}</includeonly><noinclude>{{doc|content=引自[[moegirl:template:countdown|萌娘百科:Template:Countdown]]。 |
||
示例:<code><nowiki>{{Countdown|time=</nowiki>{{#timel:Y-m-d|+1 day}}<nowiki> |
示例:<code><nowiki>{{Countdown|time=</nowiki>{{#timel:Y-m-d|+1 day}}<nowiki> 00+08|after=距离明天(CST)还有$1。}}</nowiki></code> |
||
效果:{{Countdown|time={{#timel:Y-m-d|+1 day}} |
效果:{{Countdown|time={{#timel:Y-m-d|+1 day}} 00+08|after=距离明天(CST)还有$1。}}}}[[category:功能模板]]</noinclude> |
2020年8月18日 (二) 04:55的版本
模板文档
这个文档是内联文档。
示例:{{Countdown|time=2024-07-05 00+08|after=距离明天(CST)还有$1。}}
效果: -