:Template:Infobox poem/doc
{{Documentation subpage}}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
Usage
{{Generic template demo |_template=Infobox poem|name=name|by_label|author|publication_date|publisher|country|pages|series|oclc|subtitle|image=Example-serious.jpg|image_size|imagesize|caption|original_title|original_title_lang|translator|written|written_label|first|illustrator|cover_artist|language|subject|genre|form|meter|rhyme|publication_date_en|media_type|lines|size_weight|isbn=978-1-4133-0454-1|preceded_by|followed_by|wikisource}}
Full syntax
{{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 =
|verses =
|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 , notFrench - 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 {{tl|Plainlist}} or {{tl|Flatlist}}
Parameters
; 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
; 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:
; 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
{{Infobox poem{{\sandbox}}
|name = Invictus
|image = William Ernest Henley Vanity Fair 1892-11-26.jpg
|image_size =
|caption = A 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 = self-discipline, suffering
|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{{\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
}}
{{clear}}
TemplateData
{{Collapse top|TemplateData documentation used by VisualEditor and other tools}}
{{TemplateData header|noheader=1}}
{
"params": {
"name": {
"label": "Name",
"description": "Poem name",
"type": "string",
"default": "Pagename",
"required": true
},
"author": {
"label": "Author",
"description": "Author(s) of the poem (should be link to their respective article if available).",
"type": "string",
"suggested": true
},
"publication_date": {
"label": "Date of publication",
"description": "Date published (1st edition)",
"example": "21 December 1787, or 1787",
"type": "date",
"suggested": true
},
"publisher": {
"label": "Publisher",
"description": "Publisher of poem or the work in which it first appears (prefer 1st edition)",
"type": "string"
},
"country": {
"label": "Country",
"description": "Country of (original) publication",
"example": "England"
},
"pages": {
"aliases": [
"pg"
],
"label": "Number of pages",
"description": "Number of pages (prefer 1st edition)",
"type": "number"
},
"series": {
"label": "Series",
"description": "The name of the series (if any) that the poem is a part of",
"type": "string"
},
"oclc": {
"label": "OCLC"
},
"subtitle": {
"label": "Subtitle",
"description": "Subtitle or long title of the poem",
"type": "string"
},
"image": {
"label": "Image",
"description": "Image (prefer 1st edition where permitted). Use the image filename",
"example": "Example.png",
"type": "string"
},
"image_size": {
"aliases": [
"imagesize"
],
"label": "Image size",
"description": "Custom size for image",
"type": "string",
"default": "220px"
},
"imagesize": {},
"caption": {
"label": "Image caption",
"description": "Caption of the image used (description)",
"example": "Print copy of the first edition of [poem]",
"type": "content"
},
"original_title": {
"label": "Original title",
"description": "Original title, if not in English"
},
"original_title_lang": {
"label": "Original title language",
"description": "ISO 639-2 language code for original title",
"example": "\"fr\" for French"
},
"translator": {
"label": "Translator",
"description": "Translator(s), if original not in English"
},
"written": {
"label": "Date written",
"description": "Date or year range written (if different than year of publication)",
"example": "1985",
"type": "date"
},
"first": {
"label": "First published in",
"description": "Book, magazine, etc. in which the poem was first published in",
"example": "The New York Times, Leaves of Grass"
},
"illustrator": {
"label": "Illustrator",
"description": "Illustrator who is used consistently throughout the poem (where illustrations are a major feature)"
},
"cover_artist": {
"label": "Cover artist",
"description": "Artist of the cover image"
},
"language": {
"label": "Language",
"description": "Language of (original) poem. Use full language name (i.e., not a language code).",
"example": "French",
"type": "string"
},
"subject": {
"label": "Subject",
"example": "War, religion, childhood"
},
"genre": {
"label": "Genre",
"description": "Genre(s) of the poem (only use for fiction)",
"example": "Comedy",
"type": "string"
},
"form": {
"label": "Form",
"description": "Form of the poem",
"example": "Sonnet, quatrain, ode"
},
"meter": {
"aliases": [
"metre"
],
"label": "Meter",
"example": "iambic pentameter"
},
"rhyme": {
"label": "Rhyme scheme",
"example": "ABBA CDDC EFFE GG"
},
"publication_date_en": {
"label": "Date published in English",
"description": "First year that the poem was published in English, if not originally in English",
"type": "date"
},
"media_type": {
"label": "Media type",
"description": "Medium that the poem (preferably 1st edition) was published in",
"example": "paperback, hardback, print"
},
"lines": {
"label": "Lines",
"description": "Number of lines in the poem (prefer 1st edition)",
"example": "16"
},
"size_weight": {},
"isbn": {
"label": "ISBN",
"description": "Format: \"ISBN 1-234-56789-0\" (prefer 1st edition)",
"type": "string"
},
"preceded_by": {
"label": "Preceded by",
"description": "The previous installment in the series/from the author",
"type": "string"
},
"followed_by": {
"label": "Followed by",
"description": "The next installment in the series/from the author",
"type": "string"
},
"wikisource": {
"label": "Wikisource",
"description": "Title of work as hosted at English Wikisource"
},
"child": {},
"embed": {},
"alt": {}
},
"description": "Consistently-formatted table for presenting information about poems",
"format": "{{_\n| _________________ = _\n}}\n",
"paramOrder": [
"name",
"author",
"publication_date",
"image",
"caption",
"image_size",
"publisher",
"subtitle",
"country",
"pages",
"series",
"oclc",
"imagesize",
"original_title",
"original_title_lang",
"translator",
"written",
"first",
"illustrator",
"cover_artist",
"language",
"subject",
"genre",
"form",
"meter",
"rhyme",
"publication_date_en",
"media_type",
"lines",
"size_weight",
"isbn",
"preceded_by",
"followed_by",
"wikisource",
"child",
"embed",
"alt"
]
}
{{Collapse bottom}}
Microformat
{{UF-hcal}}