模板:Episode table/part
概要[编辑]
{{Episode table/part}}({{集数表格/部}})模板的用途是轻松地为一季被分为多部的电视剧的集数表格添加标题栏,标题为“第(数字)部”,并在同名下加入一个链接到此栏的锚点。
参数及使用方法[编辑]
{{Episode table/part|Part number|Background colour|nopart=y|r=reference}}
示例[编辑]
{{#lst:Template:Episode table/doc|parted}}
模板编辑说明[编辑]
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| 1 | 部数 | 季被分为的部数。 格式:1 |
数值 | 选填 |
| 2 | 背景颜色 | 季被分为的部数栏的背景颜色。 格式:#1432F5 / blue |
颜色 | 选填 |
| nopart | 不含部 | 若含任何值,则不会显示“第(数字)部”而只会显示数字。 格式:y |
文字 | 选填 |
| r | 参考文献 | 加入到标题栏的参考文献,不与锚点结合而使用模块:Episode table/ref。 格式:<ref>...</ref> |
引用 | 选填 |
模板数据[编辑]
<templatedata> { "description": "本模板的用途是轻松地为一季被分为多部的电视系列剧的集数表格添加标题栏,标题为“第(数字)部”,并在同名下加入一个链接到此列的锚点。", "params": { "1": { "label": "部数", "description": "季被分为的部数", "required": false, "suggested": true, "type": "number" }, "2": { "label": "背景颜色", "description": "季被分为的部数列的背景颜色", "required": false, "type": "string" }, "nopart": { "label": "不含部", "description": "若含任何值,则不会显示“第(数字)部”而只会显示数字", "required": false, "type": "string" }, "r": { "label": "参考文献", "description": "加入到标题栏的参考文献,不与锚点结合而使用Episode table模块", "required": false, "type": "content" } }, "format": "inline" } </templatedata>
参见[编辑]
{{Episode table}}