更改

跳到导航 跳到搜索
删除48字节 、 2022年10月14日 (五) 13:32
无编辑摘要
第1行: 第1行: −
<noinclude>
+
<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>|-
<templatedata>
+
| {{#time:Y年m月d日|{{{startDate}}}}} || {{{characterName}}}生日 || {{{remark|}}} || {{{title}}}{{#cargo_store:_table=birthdayEvents |characterName={{{characterName}}} |birthday= {{#recurring_event:start={{{startDate}}}   |end={{#if:{{{endDate|}}}|{{{endDate}}}|9999-12-31}}   |unit=year }}}}</includeonly>
{
  −
"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}}}}} || {{{characterName}}}生日 || {{{remark|}}} || {{{title}}}
  −
{{#cargo_store:_table=birthdayEvents
  −
  |characterName={{{characterName}}}
  −
  |birthday=
  −
  {{#recurring_event:start={{{startDate}}}
  −
    |end={{#if:{{{endDate|}}}|{{{endDate}}}|9999-12-31}}
  −
    |unit=year
  −
  }}
  −
}}
  −
</includeonly>
 

导航菜单