Template:Cite NIE/sandbox
Gilman, D. C.; Peck, H. T.; Colby, F. M., eds. (1905). New International Encyclopedia (1st ed.). New York: Dodd, Mead. {{cite encyclopedia}}
: Missing or empty |title=
(help)
This is the template sandbox page for Template:Cite NIE (diff). See also the companion subpage for test cases. |
This template is used on approximately 3,500 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Purpose
[edit]This template enables the citation of articles from The New International Encyclopedia in the manner of {{cite encyclopedia}}
. It provides for links to the Wikisource project The New International Encyclopædia.
Usage
[edit]{{Cite NIE|title=NIE article name}}
One of |title=
or |wstitle=
is required. Articles using this template without either parameter are placed in Category:Cite NIE template missing title parameter.
- Parameters to alter the prescript and icon
- noicon=1: turns off the icon
- noprescript=1: turns off the prescript
- inline=1: replaces "This article" with "One or more of the preceding sentences" (if set then place the template into an inline citation)
- Pre-set parameters
- edition=option if not set defaults to 1st
- encyclopedia=option if not set defaults to New International Encyclopedia
- location=option if not set defaults to New York
- publisher=option if not set defaults to Dodd, Mead
- ref=option if not set defaults to harv
- year=option if not set defaults to 1905
Some preset parameters are altered by the parameter edition which this can be set to 1st (or First or 1) or to 2nd (or Second or 2) or to Supplement
If edition is allowed to default to 1st, or is set to "1st" (etc.) the editor parameters default to:
- editor-first=|D. C., editor-last=Gilman, editor-link=Daniel Coit Gilman
- editor2-first=H. T., editor2-last=Peck
- editor3-first=F. M., editor3-last=Colby
If editor is set to 2nd (or Second or 2)
- editor-first=F. M., editor-last=Colby, editor-link=not set
- editor2-first=T., editor2-last=Williams
- editor3-first=not set, editor3-last=not set
If editor is set to Supplement
- editor-first|Herbert Tredwell, editor-last=Wade, editor-link=not set
- editor2-first=not set, editor2-last=not set
- editor3-first=not set, editor3-last=not set
All above parameters above can be over ridden by passing in different values for the parameters.
- Other parameters that can be set but are not set by default
- author=author's full name
or
- first=author's first name(s)
- last=author's last name
also
- authorlink=author's Wikipedia article name (will only display if author= or last= is set)
- title=NIE article name
- wstitle=NIE article name: same as functionality as title= but it links to a copy of an NIE article on Wikisource
- display=Alternative name: the alternative name will be displayed instead of the NIE article name (it will only display if wstitle= is set)
- url=URL: this parameter will only be set if the title= parameter is set
- volume=volume number
- page=page number
- pages=page number
If short=flag is set then neither some of the default display parameters are not shown:
{{Cite NIE|wstitle=Kapp, Friedrich}}
- Gilman, D. C.; Peck, H. T.; Colby, F. M., eds. (1905). . New International Encyclopedia (1st ed.). New York: Dodd, Mead.
{{Cite NIE|wstitle=Kapp, Friedrich|short=1}}
- New International Encyclopedia. 1905. .
Using vb
[edit]If text is incorporated verbatim into an article, the vb
parameter can be used to tack on a notice appropriate to the policy in Wikipedia:Plagiarism.
{{Cite NIE|wstitle=Schlatter, Francis|vb=x}}
displays as:
- This article incorporates text from a publication now in the public domain: Gilman, D. C.; Peck, H. T.; Colby, F. M., eds. (1905). . New International Encyclopedia (1st ed.). New York: Dodd, Mead.
adding inline for use inside an inline citation
{{Cite NIE|wstitle=Schlatter, Francis|vb=x|inline=x}}
displays as:
- One or more of the preceding sentences incorporates text from a publication now in the public domain: Gilman, D. C.; Peck, H. T.; Colby, F. M., eds. (1905). . New International Encyclopedia (1st ed.). New York: Dodd, Mead.
Hidden categories
[edit]This template automatically adds the hidden categories
- Category:Wikipedia articles incorporating text via vb from the New International Encyclopedia
- Category:Wikipedia articles incorporating a citation from the New International Encyclopedia
The first is set if the parameter vb=x
is set, otherwise the second category is set.
See also
[edit]- {{NIE}}
- {{NIE Poster}}