模板:Infobox television episode/doc
| File:Edit-copy green.svg | 此页面是Template:Infobox television episode的模板文档。 此页面可能包含了模板的使用说明、分类和其他内容。 |
| File:Lua-Logo.svg | 此模板使用Lua语言: |
Infobox television episode用于创建一个概括特定电视分集或网络视频的主要信息的信息框。
用法[编辑]
可以直接将下方的源码复制到条目中,通常应置于条目的顶部。
| Infobox television episode/doc | |
|---|---|
| 《{{{series}}}》分集 | |
| [[File:{{{image}}}|frameless|alt={{{image_alt}}}|upright=1.13|{{{image_alt}}}]] {{{caption}}} | |
| 剧集编号 | 第{{{season}}}季 第{{{series no}}}部 第{{{episode}}}集 |
| 导演 | {{{director}}} |
| 编剧 | {{{writer}}} |
| 故事撰稿 | {{{story}}} |
| 剧本撰写 | {{{teleplay}}} |
| 改编自 | {{{based_on}}} |
| 旁白 | {{{narrator}}} |
| 主持人 | {{{presenter}}} |
| 制作人 | {{{producer}}} |
| 音乐 | {{{music}}} |
| 摄影师 | {{{photographer}}} |
| 剪接 | {{{editor}}} |
| 制作代码 | {{{production}}} |
| 首播日期 | {{{airdate}}} |
| 长度 | {{{length}}} |
| 客串演员 | |
{{{guests}}} | |
<section begin=infobox />
{{Infobox television episode
| series = <!-- without italics or formatting. -->
| image = <!-- bare filename only. Wikilinking, "File:", and pixel size not required. -->
| image_size = <!-- raw number. "px" not required. -->
| image_alt =
| caption =
| season =
| series_no =
| episode =
| director =
| writer =
| story =
| teleplay =
| based_on =
| narrator =
| presenter =
| producer =
| music =
| photographer =
| editor =
| production =
| airdate = <!-- {{Start date|YYYY|MM|DD}} -->
| length =
| guests =
| prev =
| next =
| season_article =
| episode_list =
}}
<section end=infobox />
仅在译名复杂的情况下可选择加入以下参数:
| cn_name = | hk_name = | mo_name = | tw_name = | sg_name = | my_name =
参数[编辑]
<section begin="Param-lead"/>人名仅有在有条目时加入链接。对于下方大多数参数[lower-alpha 1],如果有多个条目,请使用带圆点的列表(*)分隔。填写数据时,不要使用小文本,因为这将使文本的大小减少到页面字体大小的85%以下。参阅Wikipedia:格式手册/亲和力#文字以获得更多信息。<section end="Param-lead"/>
| 参数 | 解释 |
|---|---|
| 在英文维基百科用于阻止生成斜体标题,中文维基百科无此参数,翻译条目时请直接删去。 | |
| title | 该集的标题。如果标题与条目标题相同,则无需使用。标题会自动加粗,如果不用自动加粗,请使用|rtitle=代替。
|
| rtitle | 描述性的标题。可用于条目同时介绍两集(此时可填入'''第一集名称'''和'''第二集名称''')等情况。不会自动加粗。
|
| series | 本集所属的电视剧的名称,链接到电视剧的主条目。 |
| 中文维基百科无此参数,翻译条目时请直接删去。 | |
| image | 图片名称,不用加入“File:”。如要使用非自由图片请记得遵循Wikipedia:非自由内容使用准则。 |
| image_size | 图像大小,单位:像素。通常应小于250。如果不指定,图像默认为frameless(220px)。可不用加入“px”。 |
| image_alt | 图像的替代文字,写法和用途请参阅WP:ALT。 |
| caption | 图像的解释说明文字。 |
| season | 该集属于哪一季(season)。 |
| series_no | 该集属于哪一部(series),一般不使用此参数。|season=和|series_no=二选一填写,通常只填|season=。
|
| episode | 该集是该季的第几集。 |
| director | 该集的导演。使用带圆点的列表(*)分隔多个人名。尽可能链接到人物的条目。
|
| writer | 该集的编剧。使用带圆点的列表(*)分隔多个人名。尽可能链接到人物的条目。
|
| story | 该集的故事作者(story writer)。使用带圆点的列表(*)分隔多个人名。尽可能链接到人物的条目。通常指此人构思了故事,但未撰写剧本。仅在该集公布制作人员时,把编剧分成故事作者(story writer)和剧本作者(teleplay writer)公布的情况下使用本参数。
|
| teleplay | 该集的剧本作者(teleplay writer)。使用带圆点的列表(*)分隔多个人名。尽可能链接到人物的条目。通常指此人撰写了剧本,但未构思故事。仅在该集公布制作人员时,把编剧分成故事作者(story writer)和剧本作者(teleplay writer)公布的情况下使用本参数。
|
| based_on | 本集改编自的原创作品。使用{{Based on}}填写。在来源材料不明确的情况下不应使用。 |
| narrator | 该集的旁白/叙述者/解说员。使用带圆点的列表(*)分隔多个人名。尽可能链接到人物的条目。
|
| presenter | 节目的主持人。使用带圆点的列表(*)分隔多个人名。尽可能链接到人物的条目。
|
| producer | 该集的制作人。由于电视剧分集通常有多个制片人,他们并非都在该集的制作中起直接作用,因此建议只包括节目统筹。使用带圆点的列表(*)分隔多个人名。尽可能链接到人物的条目。
|
| music | 本集的音乐。使用{{Based on}}填写。使用带圆点的列表(*)分隔。电视分集通常会使用许多歌曲,只填入最引人注目的歌曲(通常是关键场景中播放的歌曲)。
|
| photographer | 该集的摄影指导 。使用带圆点的列表(*)分隔多个人名。尽可能链接到人物的条目。
|
| editor | 该集的剪辑者。使用带圆点的列表(*)分隔多个人名。尽可能链接到人物的条目。
|
| production | 该集的制作编号。使用带圆点的列表(*)分隔。
|
| airdate | 该集原版的首播日期,使用{{Start date}}填写。使用带圆点的列表(*)分隔多个日期。
|
| release_date | 该集原版的发布日期,{{Start date}}填写。适用在Netflix等流媒体服务上发布的分集,与|airdate=二选一填写。使用带圆点的列表(*)分隔多个日期。
|
| length | 该集的原始长度,以分钟为单位。如果包含广告的时间,应该注明 |
| guests_title | 客串演员一栏的顶部文字,默认为“客串演员”。 |
| guests | 该集的客串演员。使用带圆点的列表(*)分隔多个人名。最好以“<演员名>饰<角色名>”的格式填写。尽可能链接到人物的条目。
|
| module | 可选参数,用于嵌入其它的信息框。 |
| prev | 上一集的标题。如果存在条目或重定向,请链接到它。如果不存在,考虑创建一个页面重定向到该电视剧季度条目中的对应分集介绍,如果季度条目使用了{{Episode list}},这可通过锚点轻松实现,例如我为喜剧狂 (第1季)#ep3就可跳转到对该季第3集的介绍,以此类推。如果不创建重定向,也可直接链接到季度条目中的分集介绍。如果是第一集,请留空。会自动加上书名号,如果不用自动添加,请改用|rprev=。
|
| rprev | 上一集的标题,不会自动添加书名号。 |
| next | 下一集的标题。如果存在条目或重定向,请链接到它。如果不存在,相关做法参见上方对|prev=的介绍。如果是最后一集,请留空。会自动加上书名号,如果不用自动添加,请改用|rnext=。
|
| rnext | 下一集的标题,不会自动添加书名号。 |
| season_article | 该电视剧季度条目的标题,通常命名为“<电视剧名称> (第#季)”,使用纯文本,模板会自动将其格式化并链接到条目。 |
| episode_list | 该电视剧的分集列表,通常命名为“<电视剧名称>剧集列表”/“<电视剧名称>分集列表”等。需要手动加入链接 |
Controlling line-breaking in embedded bulletless lists[编辑]
Template {{nbsp}} may be used with {{wbr}} and {{nowrap}} to control line-breaking in bulletless lists embedded in the infobox (e.g. cast and other credits lists), to prevent wrapped long entries from being confused with multiple entries. See Template:Wbr/doc#Controlling line-breaking in infoboxes for details.
模板数据[编辑]
TemplateData documentation used by VisualEditor and other tools
|
|---|
|
Infobox television episode模板数据 <templatedata>
{
"description": "Infobox used on articles about television episodes or internet videos.",
"params": {
"italic_title": {
"label": "Italic title",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "A \"no\" value will disable the automatic italicization of the series name in the parenthesis. This parameter should not be used most of the time. If the title should not be in quotation marks, use \"rtitle\" instead."
},
"title": {
"label": "Title",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "The title of the episode. Should not be used if the title is the same as the article title as the infobox handles this automatically. The title is automatically put within quotation marks."
},
"rtitle": {
"label": "Raw title",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "The number of the episode or a descriptive title for the article. Used in situations where the episode does not have a title (such as Episode 1094 or Final episode of The Colbert Report) or an article which covers two episodes (such as Whoami and Hello, Elliot). The title is not styled and has no quotation marks."
},
"series": {
"label": "Series name",
"type": "wiki-page-name",
"required": false,
"suggested": false,
"deprecated": false,
"description": "The name of the TV series this episode is part of, with a link to the series' main article. Series name is automatically italicized."
},
"not_dab": {
"label": "Not using disambiguation",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "A parameter that is used when the series name has parenthesis which are part of the title, such as Randall and Hopkirk (Deceased)."
},
"image": {
"label": "Image",
"type": "wiki-file-name",
"required": false,
"suggested": false,
"deprecated": false,
"description": "An image relevant to the episode."
},
"image_size": {
"label": "Image size",
"type": "number",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Image size in pixels. Should be 250 or less. If not specified, image defaults to frameless (220px). 'px' is not required."
},
"image_upright": {
"label": "Image upright",
"type": "number",
"required": false,
"suggested": false,
"deprecated": false,
"default": "1.13",
"description": ""
},
"image_alt": {
"label": "Image alt",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Alt text for image per WP:MOSALT.",
"aliases": [
"alt"
]
},
"caption": {
"label": "Image caption",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "A caption explaining the image."
},
"season": {
"label": "Season number",
"type": "number",
"required": false,
"suggested": false,
"deprecated": false,
"description": "The number of the season this episode is part of. Use either \"season\" or \"series_no\", but not both."
},
"series_no": {
"label": "Series number",
"type": "number",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Typically, \"Series\" is used for television series produced within the United Kingdom while \"Season\" is used for American television series."
},
"episode": {
"label": "Episode number",
"type": "number",
"required": false,
"suggested": false,
"deprecated": false,
"description": "The number of the episode within the season."
},
"director": {
"label": "Director",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "The director(s) of this episode. Separate multiple people using bulleted lists ( |
示例[编辑]
| 后果 | |
|---|---|
| 《我为喜剧狂》分集 | |
| 剧集编号 | 第1季 第2集 |
| 导演 | 亚当·伯恩斯坦 |
| 编剧 | 蒂娜·菲 |
| 摄影师 | 汤姆·霍顿 |
| 制作代码 | 102 |
| 首播日期 | 2006年10月18日 |
| 客串演员 | |
| |
{{Infobox television episode
| title = 后果
| series = [[我为喜剧狂]]
| image =
| image_size =
| image_alt =
| caption =
| season = 1
| episode = 2
| airdate = {{Start date|2006|10|18}}
| production = 102
| writer = [[蒂娜·菲]]
| director = 亚当·伯恩斯坦
| photographer = 汤姆·霍顿
| guests =
* [[卡特里娜·宝登]] 饰 施乐·泽洛克斯
* 汤姆·布勒克 饰 李
* 泰迪·科卢卡 饰 舞台管理员
* 瑞秋·德拉彻 饰 玛丽娅
* 马里克·潘考利 饰乔纳森
* 凯斯·鲍威尔 饰 图弗·斯帕洛克
* 朗尼·罗斯 饰 乔什·吉拉德
| season_article = 我为喜剧狂 (第1季)
| episode_list = [[超級製作人集數列表|《我为喜剧狂》分集列表]]
| prev = [[试播集 (我为喜剧狂)|试播集]]
| next = [[相亲 (我为喜剧狂)|相亲]]
}}
微格式[编辑]
此模板产生的HTML标记包含了hCalendar微格式,能够让电脑解析事件的详情,便于维基百科将该条目归类,或让用户通过浏览器将该事件添加进日历或日记应用程序中。关于微格式的更多使用资讯,请参阅维基百科的微格式专题。
日期只会在使用了{{Start date}}或{{End date}}的情况下显示,URL只会在使用了{{Url}}的情况下被包含。
hCalendar使用的HTML class包括:
- attendee
- contact
- description
- dtend
- dtstart
- location
- organiser
- summary
- url
- vevent
请勿移除或修改这些class,也请勿更改或移除有相关设定之模板及设定。
参见[编辑]
追踪分类[编辑]
<section begin=Tracking/>
<section end=Tracking/>
注释[编辑]
- ↑ 下方参数使用了plainlist样式:
|director=、|writer=、|story=、|teleplay=、|narrator=、|presenter=、|producer=、|music=、|photographer=、|editor=、|production=、|release_date=和|airdate=。