Difference between revisions of "Template:Infobox poem/doc"
imported>Guavabutter |
imported>Guavabutter m |
||
| Line 168: | Line 168: | ||
"description": "Poem name", | "description": "Poem name", | ||
"type": "string", | "type": "string", | ||
| − | "default": "Pagename" | + | "default": "Pagename", |
| + | "required": true | ||
}, | }, | ||
"author": { | "author": { | ||
"label": "Author", | "label": "Author", | ||
"description": "Author(s) of the poem (should be link to their respective article if available).", | "description": "Author(s) of the poem (should be link to their respective article if available).", | ||
| − | "type": "string" | + | "type": "string", |
| + | "suggested": true | ||
}, | }, | ||
"publication_date": { | "publication_date": { | ||
| Line 179: | Line 181: | ||
"description": "Date published (1st edition)", | "description": "Date published (1st edition)", | ||
"example": "21 December 1787, or 1787", | "example": "21 December 1787, or 1787", | ||
| − | "type": "date" | + | "type": "date", |
| + | "suggested": true | ||
}, | }, | ||
"publisher": { | "publisher": { | ||
| Line 332: | Line 335: | ||
"label": "Wikisource", | "label": "Wikisource", | ||
"description": "Title of work as hosted at English Wikisource" | "description": "Title of work as hosted at English Wikisource" | ||
| − | } | + | }, |
| + | "child": {}, | ||
| + | "embed": {}, | ||
| + | "alt": {} | ||
}, | }, | ||
"description": "Consistently-formatted table for presenting information about poems", | "description": "Consistently-formatted table for presenting information about poems", | ||
| Line 340: | Line 346: | ||
"author", | "author", | ||
"publication_date", | "publication_date", | ||
| + | "image", | ||
| + | "caption", | ||
| + | "image_size", | ||
"publisher", | "publisher", | ||
| + | "subtitle", | ||
"country", | "country", | ||
"pages", | "pages", | ||
"series", | "series", | ||
"oclc", | "oclc", | ||
| − | |||
| − | |||
| − | |||
"imagesize", | "imagesize", | ||
| − | |||
"original_title", | "original_title", | ||
"original_title_lang", | "original_title_lang", | ||
| Line 370: | Line 376: | ||
"preceded_by", | "preceded_by", | ||
"followed_by", | "followed_by", | ||
| − | "wikisource" | + | "wikisource", |
| + | "child", | ||
| + | "embed", | ||
| + | "alt" | ||
] | ] | ||
} | } | ||
Latest revision as of 02:33, 14 August 2020
| This is a documentation subpage for Template:Infobox poem. It contains usage information, categories and other content that is not part of the original template page. |
Usage
- redirect Template:Parameter names example
{{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 =
}}
- 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
{{Infobox poemTemplate:\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 = or |metre = |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
}}
TemplateData
TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
See the monthly parameter usage report for this template.
TemplateData for Infobox poem Consistently-formatted table for presenting information about poems
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Microformat
CoinS
This template produces COinS metadata; see COinS in Wikipedia for background information.