“模板:BirthdayEvent”的版本间的差异
跳到导航
跳到搜索
第3行: | 第3行: | ||
{ | { | ||
"params": { | "params": { | ||
+ | "title": { | ||
+ | "type": "string", | ||
+ | "required": true, | ||
+ | "description": "作品名称" | ||
+ | }, | ||
"characterName": { | "characterName": { | ||
"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":"结束日期,格式为yyy-mm-dd" | + | "description": "结束日期,格式为yyy-mm-dd" |
} | } | ||
}, | }, | ||
第21行: | 第26行: | ||
"startDate", | "startDate", | ||
"endDate", | "endDate", | ||
− | "characterName" | + | "characterName", |
+ | "title" | ||
], | ], | ||
"format": "inline" | "format": "inline" | ||
第27行: | 第33行: | ||
</templatedata> | </templatedata> | ||
{{#cargo_declare:_table=birthdayEvents | {{#cargo_declare:_table=birthdayEvents | ||
+ | |title=String | ||
|characterName=String | |characterName=String | ||
|birthday=List (;) of Start Date}} | |birthday=List (;) of Start Date}} | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
− | {{#time:Y年m月d日|{{{startDate}}}}}:{{{characterName}}}生日 | + | {{{title}}}{{#time:Y年m月d日|{{{startDate}}}}}:{{{characterName}}}生日 |
{{#cargo_store:_table=birthdayEvents | {{#cargo_store:_table=birthdayEvents | ||
|characterName={{{characterName}}} | |characterName={{{characterName}}} |
2022年10月14日 (五) 00:15的版本
无描述。
参数 | 说明 | 类型 | 状态 | |
---|---|---|---|---|
StartDate | startDate | 起始日期,格式为yyyy-mm-dd | 日期 | 必填 |
EndDate | endDate | 结束日期,格式为yyy-mm-dd | 日期 | 可选 |
CharacterName | characterName | 角色名字 | 字符串 | 必填 |
Title | title | 作品名称 | 字符串 | 必填 |
此模板定义表格“birthdayEvents”。 查看表格.