Jump to content

Template:Infobox poem/doc

From Wikipedia, the free encyclopedia

Usage

[edit]
name
{{{subtitle}}}
{{{by_label}}} {{{author}}}
{{{imagesize}}}
{{{caption}}}
Original title{{{original_title}}}
Translator{{{translator}}}
{{{written_label}}}{{{written}}}
First published in{{{first}}}
Illustrator{{{illustrator}}}
Cover artist{{{cover_artist}}}
Country{{{country}}}
Language{{{language}}}
Series{{{series}}}
Subject(s){{{subject}}}
Genre(s){{{genre}}}
Form{{{form}}}
Meter{{{meter}}}
Rhyme scheme{{{rhyme}}}
Publisher{{{publisher}}}
Publication date{{{publication_date}}}
Published in English{{{publication_date_en}}}
Media type{{{media_type}}}
Lines{{{lines}}}
Pages{{{pages}}}
Size and weight{{{size_weight}}}
ISBN978-1-4133-0454-1
OCLC{{{oclc}}}
Preceded by{{{preceded_by}}}
Followed by{{{followed_by}}}
Full text
[[wikisource:{{{wikisource}}}|{{{wikisource}}}]] at Wikisource

Full syntax

[edit]
{{Infobox poem
|name                = 
|by_label            =
|image               = 
|image_size          = 
|caption             = 
|subtitle            = 
|author              = 
|original_title      = 
|original_title_lang = 
|translator          = 
|written             = 
|written_label       =
|first               = 
|illustrator         = 
|cover_artist        = 
|country             = 
|language            = 
|series              = 
|subject             = 
|genre               = 
|form                = 
|meter =   or |metre = 
|rhyme               = 
|publisher           = 
|publication_date    = 
|publication_date_en =
|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

[edit]
name
Poem name, especially if other than the Article name or if using Wikisource link, e.g. "Sequel to Drum-Taps"
by_label
Overwrites "by" in the subheading (e.g. to "Attributed to..." for a work of uncertain or traditional attribution)
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)
written_label
Overwrites the term "written" (e.g. to "Composed" for an oral poem). Defaults to "Written" if blank.
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

[edit]
Invictus
by William Ernest Henley
A portrait of William Ernest Henley by Leslie Ward published in Vanity Fair 26 November 1892
Written1875
First published inBook of Verses
CountryEngland
LanguageEnglish
Subject(s)self-discipline, suffering
FormLyric poetry
Publication date1988
Media typePrint
Lines16
Full text
Invictus at Wikisource
{{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

[edit]
TemplateData documentation used by VisualEditor and other tools
See a monthly parameter usage report for Template:Infobox poem in articles based on its TemplateData.

TemplateData for Infobox poem

Consistently-formatted table for presenting information about poems

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Namename

Poem name

Default
Pagename
Stringrequired
Authorauthor

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

Stringsuggested
Date of publicationpublication_date

Date published (1st edition)

Example
21 December 1787, or 1787
Datesuggested
Imageimage

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

Example
Example.png
Stringoptional
Image captioncaption

Caption of the image used (description)

Example
Print copy of the first edition of [poem]
Contentoptional
Image sizeimage_size imagesize

Custom size for image

Default
220px
Stringoptional
Publisherpublisher

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

Stringoptional
Subtitlesubtitle

Subtitle or long title of the poem

Stringoptional
Countrycountry

Country of (original) publication

Example
England
Unknownoptional
Number of pagespages pg

Number of pages (prefer 1st edition)

Numberoptional
Seriesseries

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

Stringoptional
OCLCoclc

no description

Unknownoptional
imagesizeimagesize

no description

Unknownoptional
Original titleoriginal_title

Original title, if not in English

Unknownoptional
Original title languageoriginal_title_lang

ISO 639-2 language code for original title

Example
"fr" for French
Unknownoptional
Translatortranslator

Translator(s), if original not in English

Unknownoptional
Date writtenwritten

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

Example
1985
Dateoptional
First published infirst

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

Example
''[[The New York Times]]'', ''[[Leaves of Grass]]''
Unknownoptional
Illustratorillustrator

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

Unknownoptional
Cover artistcover_artist

Artist of the cover image

Unknownoptional
Languagelanguage

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

Example
French
Stringoptional
Subjectsubject

no description

Example
War, religion, childhood
Unknownoptional
Genregenre

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

Example
Comedy
Stringoptional
Formform

Form of the poem

Example
Sonnet, quatrain, ode
Unknownoptional
Metermeter metre

no description

Example
iambic pentameter
Unknownoptional
Rhyme schemerhyme

no description

Example
ABBA CDDC EFFE GG
Unknownoptional
Date published in Englishpublication_date_en

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

Dateoptional
Media typemedia_type

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

Example
paperback, hardback, print
Unknownoptional
Lineslines

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

Example
16
Unknownoptional
size_weightsize_weight

no description

Unknownoptional
ISBNisbn

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

Stringoptional
Preceded bypreceded_by

The previous installment in the series/from the author

Stringoptional
Followed byfollowed_by

The next installment in the series/from the author

Stringoptional
Wikisourcewikisource

Title of work as hosted at English Wikisource

Unknownoptional
childchild

no description

Unknownoptional
embedembed

no description

Unknownoptional
altalt

no description

Unknownoptional

Microformat

[edit]

The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.

Classes used

The HTML classes of this microformat include:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent
Please do not rename or remove these classes
nor collapse nested elements which use them.

CoinS

[edit]

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