更改
跳到导航
跳到搜索
←上一编辑
下一编辑→
模板:AcgnEvent
(查看源代码)
2022年5月5日 (四) 11:20的版本
添加109字节
、
2022年5月5日 (四) 11:20
无编辑摘要
第6行:
第6行:
"type": "string",
"type": "string",
"required": true,
"required": true,
−
"description":"显示内容"
+
"description": "显示内容"
},
},
"startDate": {
"startDate": {
"type": "date",
"type": "date",
"required": true,
"required": true,
−
"description":"起始日期,格式为yyyy-mm-dd"
+
"description": "起始日期,格式为yyyy-mm-dd"
},
},
"endDate": {
"endDate": {
"type": "date",
"type": "date",
−
"description":"结束日期,格式为yyyy-mm-dd,为空时默认与startDate相等"
+
"description": "结束日期,格式为yyyy-mm-dd,为空时默认与startDate相等
"
+
},
+
"remark": {
+
"type": "string
"
}
}
},
},
第21行:
第24行:
"startDate",
"startDate",
"endDate",
"endDate",
−
"contents"
+
"contents
",
+
"remark
"
],
],
"format": "inline"
"format": "inline"
第29行:
第33行:
|contents=String
|contents=String
|startDate=Start date
|startDate=Start date
−
|endDate=End date}}
+
|endDate=End date
+
|remark=String
}}
</noinclude>
</noinclude>
<includeonly>
<includeonly>
−
{{#time:Y年m月d日|{{{startDate}}}}}{{#if:{{{endDate|}}}|{{#ifeq:{{{startDate}}}|{{{endDate}}}||-{{#time:Y年m月d日|{{{endDate}}}}}}}|}}:{{{contents}}}{{#cargo_store:_table=acgnEvents
+
{{#time:Y年m月d日|{{{startDate}}}}}{{#if:{{{endDate|}}}|{{#ifeq:{{{startDate}}}|{{{endDate}}}||-{{#time:Y年m月d日|{{{endDate}}}}}}}|}}:{{{contents}}}
({{{remark|}}})
+
{{#cargo_store:_table=acgnEvents
|contents={{{contents|}}}
|contents={{{contents|}}}
|startDate={{{startDate}}}
|startDate={{{startDate}}}
+
|remark={{{remark|}}}
|endDate=
|endDate=
{{
{{
Findsky
行政员
、
界面管理员
、
管理员
277
个编辑
导航菜单
个人工具
未登录
讨论
贡献
创建账户
登录
名字空间
模板
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
编写规则
MediaWiki帮助
时间表
工具
特殊页面
可打印版本