跳转到内容

Template:Infobox poem/doc

本页使用了标题或全文手工转换
维基百科,自由的百科全书

用法

name 
{{{subtitle}}}
{{{author}}}的作品
{{{imagesize}}}
{{{caption}}}
原标题{{{original_title}}}
翻译者{{{translator}}}
写作日期{{{written}}}
體裁{{{genre}}}
插画家{{{illustrator}}}
封面艺术家{{{cover_artist}}}
国家{{{country}}}
语言{{{language}}}
系列{{{series}}}
主题{{{subject}}}
形式{{{form}}}
韵律{{{meter}}}
押韵{{{rhyme}}}
出版者{{{publisher}}}
出版日期{{{publication_date}}}
首次出版:{{{first}}}
媒体类型{{{media_type}}}
行数{{{lines}}}
页数{{{pages}}}
Size and weight{{{size_weight}}}
ISBN978-1-4133-0454-1
OCLC{{{oclc}}}
上一部作品{{{preceded_by}}}
下一部作品{{{followed_by}}}
全文阅读
维基文库中的《[[s:{{{wikisource}}}|name]]》
{{Infobox poem
|name                = 
|image               = 
|image_size          = 
|caption             = 
|subtitle            = 
|author              = 
|original_title      = 
|original_title_lang = 
|translator          = 
|written             = 
|first               = 
|illustrator         = 
|cover_artist        = 
|country             = 
|language            = 
|series              = 
|subject             = 
|genre               = 
|form                = 
|meter =   or |metre = 
|rhyme               = 
|publisher           = 
|publication_date    = 
|media_type          = 
|lines               = 
|pages               = 
|size_weight         = 
|isbn                = 
|oclc                = 
|preceded_by         = 
|followed_by         = 
|wikisource          = 
|orig_lang_code      = 
|native_wikisource   = 
}}
  • Wiki links [[]] are fine in any of the Infobox fields.
  • Include the HTML comments before and following the template; they help inexperienced editors.
  • Please spend some time at the WikiProject Poetry and its talk page to find about standards on presenting names and other data.
  • In the "language" field, link to the article that is actually about the language; for example, use [[French language|French]], not [[French]]
  • The preceded_by and followed_by fields both apply to poems in a series and to sequels. They should not connect separate poems chronologically.
  • Separate multiple values (e.g. two translators) using {{Plainlist}} or {{Flatlist}}

参数

name
Poem name, especially if other than the Article name or if using Wikisource link, e.g. "Sequel to Drum-Taps"
image
Image (prefer 1st edition - where permitted). Use the image filename (e.g. Example.png)
image_size
custom size for image (defaults to 220px).
caption
Image caption (should describe the edition used)
subtitle
Subtitle or descriptor, e.g. "When Lilacs Last in the Dooryard Bloom'd and other poems"
author
Author(/s)
original_title
Original title, if not in English
original_title_lang
ISO 639-2 language code for original title, e.g. "fr" for French
translator
Translator(s), if original not in English
written
Date or year range written (if different than year of publication)
first
Book, magazine, etc. in which the poem was first published in, e.g. The New York Times
illustrator
Illustrator who is used consistently throughout the poem (where illustrations are a major feature)
cover_artist
Artist of the cover image
country
Country of original publication
language
Language of original poem (see note below)
series
The name of the series (if any) that the poem is a part of
subject
Subject(/s)
genre
Genre(/s) (only use for fiction)
form
Form, e.g. "Sonnet," "Quatrain," "Ode"
meter or metre
Metre/meter, e.g. iambic pentameter
rhyme
Rhyme scheme, e.g. abba cddc effe gg
publisher
Publisher of poem or the work in which it first appears (prefer 1st edition)
publication_date
Date published (1st edition). Use {{Start date|YYYY|MM|DD|df=y}}, trimmed as needed.
publication_date_en
1st publication of English edition, if not originally in English
media_type
Media type, e.g. paperback, hardback, print
lines
Number of lines in the poem (prefer 1st edition)
pages
Number of pages (prefer 1st edition)
size_weight
Size and weight
isbn
{{ISBN|}}
oclc
{{OCLC|}}
preceded_by
Title of prior poem in series
followed_by
Title of subsequent poem in series
wikisource
Title of work as hosted at English Wikisource (if in the public domain)

示例

Invictus 
William Ernest Henley的作品
A portrait of William Ernest Henley by Leslie Ward published in Vanity Fair 26 November 1892
写作日期1875
国家England
语言English
主题self-discipline, suffering
形式Lyric poetry
韵律or
出版日期1988
首次出版:Book of Verses
媒体类型Print
行数16
全文阅读
维基文库中的《Invictus
{{Infobox poem{{\sandbox}}
|name                = Invictus
|image               = William Ernest Henley Vanity Fair 1892-11-26.jpg
|image_size          = 
|caption             = Portrait of William Ernest Henley by [[Leslie Ward]] published in ''Vanity Fair'', 26 November 1892

|subtitle            = 
|author              = [[William Ernest Henley]]                                  
|original_title      = 
|original_title_lang = 
|translator          = 
|written             = 1875
|first               = ''Book of Verses''
|illustrator         = 
|cover_artist        = 
|country             = England
|language            = English
|series              = 
|subject             = 
|genre               = 
|form                = [[Lyric poetry]]
|meter               = 
|rhyme               = 
|publisher           = 
|publication_date    = 1988
|media_type          = Print
|lines               = 16
|pages               = 
|size_weight         = 
|isbn                = 
|oclc                = 
|preceded_by         = 
|followed_by         =
|wikisource          = Invictus
}}

模板数据

模板数据
以下是该模板的模板数据,适用于可视化编辑器等工具。

Infobox poem模板数据

Consistently-formatted table for presenting information about poems

模板参数

此模板首选参数换行的代码块格式。

参数描述类型状态
Namename

Poem name

默认值
Pagename
字符串必需
Authorauthor

Author(s) of the poem (should be link to their respective article if available).

字符串推荐
Date of publicationpublication_date

Date published (1st edition)

示例值
21 December 1787, or 1787
日期推荐
Imageimage

Image (prefer 1st edition where permitted). Use the image filename

示例值
Example.png
字符串可选
Image captioncaption

Caption of the image used (description)

示例值
Print copy of the first edition of [poem]
内容可选
Image sizeimage_size imagesize

Custom size for image

默认值
220px
字符串可选
Publisherpublisher

Publisher of poem or the work in which it first appears (prefer 1st edition)

字符串可选
Subtitlesubtitle

Subtitle or long title of the poem

字符串可选
Countrycountry

Country of (original) publication

示例值
England
未知可选
Number of pagespages pg

Number of pages (prefer 1st edition)

数字可选
Seriesseries

The name of the series (if any) that the poem is a part of

字符串可选
OCLCoclc

无描述

未知可选
imagesizeimagesize

无描述

未知可选
Original titleoriginal_title

Original title, if not in English

未知可选
Original title languageoriginal_title_lang

ISO 639-2 language code for original title

示例值
"fr" for French
未知可选
Translatortranslator

Translator(s), if original not in English

未知可选
Date writtenwritten

Date or year range written (if different than year of publication)

示例值
1985
日期可选
First published infirst

Book, magazine, etc. in which the poem was first published in

示例值
''[[The New York Times]]'', ''[[Leaves of Grass]]''
未知可选
Illustratorillustrator

Illustrator who is used consistently throughout the poem (where illustrations are a major feature)

未知可选
Cover artistcover_artist

Artist of the cover image

未知可选
Languagelanguage

Language of (original) poem. Use full language name (i.e., not a language code).

示例值
French
字符串可选
Subjectsubject

无描述

示例值
War, religion, childhood
未知可选
Genregenre

Genre(s) of the poem (only use for fiction)

示例值
Comedy
字符串可选
Formform

Form of the poem

示例值
Sonnet, quatrain, ode
未知可选
Metermeter metre

无描述

示例值
iambic pentameter
未知可选
Rhyme schemerhyme

无描述

示例值
abba cddc effe gg
未知可选
Date published in Englishpublication_date_en

First year that the poem was published in English, if not originally in English

日期可选
Media typemedia_type

Medium that the poem (preferably 1st edition) was published in

示例值
paperback, hardback, print
未知可选
Lineslines

Number of lines in the poem (prefer 1st edition)

示例值
16
未知可选
size_weightsize_weight

无描述

未知可选
ISBNisbn

Format: "ISBN 1-234-56789-0" (prefer 1st edition)

字符串可选
Preceded bypreceded_by

The previous installment in the series/from the author

字符串可选
Followed byfollowed_by

The next installment in the series/from the author

字符串可选
Wikisourcewikisource

Title of work as hosted at English Wikisource

未知可选
childchild

无描述

未知可选
embedembed

无描述

未知可选
altalt

无描述

未知可选

微格式

此模板產生的HTML标记包含了hCalendar微格式,能夠讓電腦解析事件的详情,便于维基百科将该条目归类,或让用户通过浏览器将该事件添加进日历或日记应用程序中。關於微格式的更多使用資訊,請參閱維基百科的微格式專題

日期只会在使用了{{Start date}}或{{End date}}的情况下显示,URL只会在使用了{{Url}}的情况下被包含。

hCalendar使用的HTML class包括:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent

請勿移除或修改這些class,也請勿更改或移除有相關設定之模板及設定。

CoinS

This template produces COinS metadata; see COinS in Wikipedia for background information.