“模板:BirthdayEvent”的版本间的差异
跳到导航
跳到搜索
(未显示同一用户的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}}}}} || {{{title}}} || {{{characterName}}}出生 || {{{remark|}}}{{#cargo_store:_table=birthdayEvents |characterName={{{characterName}}} |birthday= {{#recurring_event:start={{{startDate}}} |end={{#if:{{{endDate|}}}|{{{endDate}}}|9999-12-31}} |unit=year }}}}</includeonly> |
− | { | ||
− | " | ||
− | "characterName": { | ||
− | |||
− | |||
− | }, | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | } | ||
− | </templatedata> | ||
− | {{#cargo_declare:_table=birthdayEvents | ||
− | |characterName=String | ||
− | |birthday=List (;) of Date}} | ||
− | </noinclude> | ||
− | <includeonly> | ||
− | {{#time:Y年m月d日|{{{ | ||
− | {{#cargo_store :_table=birthdayEvents | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | </includeonly> |
2023年2月1日 (三) 23:17的最新版本
无描述。
参数 | 说明 | 类型 | 状态 | |
---|---|---|---|---|
Title | title | 作品名称 | 字符串 | 必填 |
StartDate | startDate | 起始日期,格式为yyyy-mm-dd | 日期 | 必填 |
EndDate | endDate | 结束日期,格式为yyy-mm-dd | 日期 | 可选 |
CharacterName | characterName | 角色名字 | 字符串 | 必填 |
此模板定义表格“birthdayEvents”。 查看表格.