Template:New texts/item/doc
Appearance
This is a documentation subpage for Template:New texts/item. It contains usage information, categories and other content that is not part of the original template page. |
Usage
Used to add new items to Template:New texts. {{{1}}} is for the text's title, {{{2}}} for the Author's name, and {{{3}}} for the year (doesn't appear if undefined). No subst.
- Options to be used sparingly
- To display alternate text for the title, ie. rather than the link, 1, one can utilise display to override.
- where the identified title is part of another work (ie. a subpage), or the work name is very long
- To have a plain text, rather than an active link for the author, add a fourth parameter nowiki, eg. nowiki=yes
- where the author is a body without an author name. Note for anonymous authors, do not use this parameter, instead utilise {{anon}}
- To display a small image, use image_name for the filename and image_size to define the size of the image.
Full usage
{{new texts/item | title = | author = | translator = | edition = | date = | nowiki = | display = | image_name = | image_size = }}
Parameters
- title or 1: Link to the main page or index page of the work. Mandatory
- author or 2: Author of the work, this will be automatically wikilinked to an author page unless the nowiki parameter is used. Optional
- translator: Translator of the work, this will be automatically wikilinked to an author page unless the nowiki parameter is used. Optional
- editor: Editor of the work, this will be automatically wikilinked to an author page unless the nowiki parameter is used. Optional
- illustrator: Illustrator of the work, this will be automatically wikilinked to an author page unless the nowiki parameter is used. Optional
- edition: Edition information for the work. Optional
- date or 3: Date of publication of the work. Optional
- nowiki: If used, this parameter will prevent the automatic wikilinking of the author and translator parameters.
- display: If used, this text will be displayed instead of the text the title or 1 parameters.
- image_name: Image name and extension. Fill it in only if you want an image.
- image_size: Image size (include the units). Fill it in only if you want an image. Defaults to 100px.
- type: Media type (default: none, options:
film
)
Examples
{{new texts/item|LINK TO WORK|Author name|YYYY}} {{new texts/item|Victoria: with a description of its principal cities, Melbourne and Geelong |Henry Butler Stoney|1856}}
Victoria: with a description of its principal cities, Melbourne and Geelong (1856)
{{new texts/item|LINK TO WORK|Author name|YYYY|nowiki=yes|display=Preferred title to display}} {{new texts/item|Victoria: with a description of its principal cities, Melbourne and Geelong |Henry Butler Stoney|1856|nowiki=yes|display=Victoria}}
Victoria (1856)
by Henry Butler Stoney
{{new texts/item | title = Victoria: with a description of its principal cities, Melbourne and Geelong | author = Henry Butler Stoney | date = 1856 | display = Victoria | image_name = The Town Hall, Melbourne, Victoria, with a description of its principal cities.png }}
Victoria (1856)
{{new texts/item | title = House of Atreus 2nd ed (1889)/The Furies | author = Aeschylus | date = 1889 | display = The Furies | edition = 2nd ed. | translator = Edmund Doidge Anderson Morshead}}
The Furies, 2nd ed. (1889)
by Aeschylus, translated by Edmund Doidge Anderson Morshead