模板: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}}} |