模板:Infobox poem

Infobox poem 
文件圖示 模板文件[檢視] [編輯] [歷史] [清除快取]

Usage 編輯

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}}}|{{{wikisource}}}]]

Full syntax 編輯

{{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}}

Parameters 編輯

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)

Example 編輯

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
}}

TemplateData 編輯

TemplateData documentation used by VisualEditor and other tools

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

沒有描述

不明非必填

Microformat 編輯

此模板產生的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.