模板:AcgnEvent:修订间差异
跳转到导航
跳转到搜索
无编辑摘要 |
无编辑摘要 |
||
第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= | ||
{{ | {{ |