切换搜索
搜索
切换菜单
notifications
切换个人菜单
查看“模板:Main page/event”的源代码
来自决策链云智库
更多操作
←
模板:Main page/event
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{#if:{{Main page/settings|eventname}}| {{#ifexpr: {{#time:U|now||true}}<{{#time:U|{{Main page/settings|eventendtime}}}} |<div class="home-event"> <div class="home-card home-card--button"> <div class="home-card__background">[[File:{{#if:{{Main page/settings|eventimage}}|{{Main page/settings|eventimage}}|NotificationBanner.png}}|1080px|link={{Main page/settings|eventlink}}]]</div> <div class="home-card__foreground"> <div class="home-card__header">{{Main page/settings|eventname}}</div> <div class="home-card__label">{{#ifexpr: {{#time:U|now||true}}>{{#time:U|{{Main page/settings|eventstarttime}}}} <!-- Event is ongoing --> |距离结束还有{{#expr:trunc{{#expr:trunc((({{#time:U|{{Main page/settings|eventendtime}}}}-{{#time:U}})/3600)-8)/24}}}}天{{#expr:trunc{{#expr:{{#expr:{{#expr:((({{#time:U|{{Main page/settings|eventendtime}}}}-{{#time:U}})/3600)-8)/24}}-{{#expr:trunc{{#expr:((({{#time:U|{{Main page/settings|eventendtime}}}}-{{#time:U}})/3600)-8)/24}}}}}}*24}}}}小时 <!-- Event has not started --> |距离开始还有{{#expr:trunc{{#expr:trunc((({{#time:U|{{Main page/settings|eventstarttime}}}}-{{#time:U}})/3600)-8)/24}}}}天{{#expr:trunc{{#expr:{{#expr:{{#expr:((({{#time:U|{{Main page/settings|eventstarttime}}}}-{{#time:U}})/3600)-8)/24}}-{{#expr:trunc{{#expr:((({{#time:U|{{Main page/settings|eventstarttime}}}}-{{#time:U}})/3600)-8)/24}}}}}}*24}}}}小时 }} </div> </div> </div> </div><templatestyles src="Template:Main page/event/styles.css" />}}}}<noinclude><!-- For preview only --><templatestyles src="Template:Main page/shared/styles.css" />{{/doc}}</noinclude>
本页使用的模板:
模板:Main page/event/doc
(
查看源代码
)
模板:Main page/event/styles.css
(
查看源代码
)
模板:Main page/settings
(
查看源代码
)
模板:Main page/shared/styles.css
(
查看源代码
)
返回
模板:Main page/event
。