“模板: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= | ||
{{ | {{ |
2022年5月5日 (四) 11:20的版本
无描述。
参数 | 说明 | 类型 | 状态 | |
---|---|---|---|---|
StartDate | startDate | 起始日期,格式为yyyy-mm-dd | 日期 | 必填 |
EndDate | endDate | 结束日期,格式为yyyy-mm-dd,为空时默认与startDate相等 | 日期 | 可选 |
Contents | contents | 显示内容 | 字符串 | 必填 |
Remark | remark | 无描述 | 字符串 | 可选 |
此模板定义表格“acgnEvents”。 查看表格.