模板:BirthdayEvent:修订间差异
跳转到导航
跳转到搜索
无编辑摘要 |
无编辑摘要 |
||
第1行: | 第1行: | ||
<noinclude><templatedata>{ "params": { "title": { "type": "string", "required": true, "description": "作品名称" }, "characterName": { "type": "string", "required": true, "description": "角色名字" }, "startDate": { "type": "date", "required": true, "description": "起始日期,格式为yyyy-mm-dd" }, "endDate": { "type": "date", "description": "结束日期,格式为yyy-mm-dd" } }, "paramOrder": [ "title", "startDate", "endDate", "characterName" ], "format": "inline"}</templatedata>{{#cargo_declare:_table=birthdayEvents|title=String|characterName=String|birthday=List (;) of Start Date}}</noinclude><includeonly>|- | <noinclude><templatedata>{ "params": { "title": { "type": "string", "required": true, "description": "作品名称" }, "characterName": { "type": "string", "required": true, "description": "角色名字" }, "startDate": { "type": "date", "required": true, "description": "起始日期,格式为yyyy-mm-dd" }, "endDate": { "type": "date", "description": "结束日期,格式为yyy-mm-dd" } }, "paramOrder": [ "title", "startDate", "endDate", "characterName" ], "format": "inline"}</templatedata>{{#cargo_declare:_table=birthdayEvents|title=String|characterName=String|birthday=List (;) of Start Date}}</noinclude><includeonly>|- | ||
| {{#time:Y年m月d日|{{{startDate}}}}} || {{{ | | {{#time:Y年m月d日|{{{startDate}}}}} || {{{title}}} || {{{characterName}}}生日 || {{{remark|}}}{{#cargo_store:_table=birthdayEvents |characterName={{{characterName}}} |birthday= {{#recurring_event:start={{{startDate}}} |end={{#if:{{{endDate|}}}|{{{endDate}}}|9999-12-31}} |unit=year }}}}</includeonly> |