Template:Cite NSRW/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Purpose

[edit source]

This template enables the citation of articles from The New Student's Reference Work in the manner of {{cite encyclopedia}}. The article title can have a Wikisource link, an arbitrary external link, or no link.

{{Cite NSRW|wstitle=article title}}

or with a specification of the optional display, author, noicon, vb or volume parameters:[note 1]

{{Cite NSRW|wstitle=article title|display=alternative title |author=name|noicon=x|vb=x|volume=number}}

or with a specification of a title not linked to Wikisource:

{{Cite NSRW|title=non-Wikisource article title|author=name |noicon=x|vb=x|volume=number|url=http...|accessdate=date}}</nowiki>

As an alternative to author=full name the parameters first=first names and last=last name can be used. The ref=refs parameter can also be set for use with {{harv}} family of templates. See {{cite encyclopedia}} for details about these standard parameters.

Examples

[edit source]

Typical

[edit source]

{{Cite NSRW|wstitle=Schurz, Carl}}

displays as:

Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

short option

[edit source]

{{Cite NSRW|wstitle=Schurz, Carl|short=x}}

removes editor and publisher information and displays as:

Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

With comment

[edit source]

{{Cite NSRW|wstitle=Schurz, Carl}} The most prominent foreign-born citizen of the 19th-century United States.

displays as:

Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). The most prominent foreign-born citizen of the 19th-century United States.

display option

[edit source]

The mechanics of Wikisource will sometimes require that a link have disambiguation information which is not part of the original title. The display parameter allows this information to be hidden for the purpose of the citation. For example:

{{Cite NSRW|wstitle=Madeira (river)|display=Madeira, a river of South America}}

displays as:

Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

title option (no Wikisource link)

[edit source]

{{Cite NSRW|title=Tower, Charlemagne}}

displays as:

Public Domain Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

When title is being used, url with possibly accessdate can be used to specify an external link. For example:

{{Cite NSRW
 |title=Tower, Charlemagne
 |volume=4
 |url=http://chestofbooks.com/.../pp0239.html
 |accessdate=2009-07-31
}} At [http://chestofbooks.com chestofbooks.com].

displays as:

Public Domain Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). At chestofbooks.com.

author option

[edit source]

{{Cite NSRW|author=Fred Smith |wstitle=Schurz, Carl}}

displays as:

Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

first last options

[edit source]

{{Cite NSRW|first=Fred |last=Smith |wstitle=Schurz, Carl}}

displays as:

Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

mode option

[edit source]

By default this template displays as Citation Style 1 (cs1). The mode option can be used to change it.

{{Cite NSRW|wstitle=Schurz, Carl|mode=cs2}}

displays as:

Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

noicon option

[edit source]

{{Cite NSRW|wstitle=Schurz, Carl|noicon=x}}

displays as:

Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

vb option

[edit source]

{{Cite NSRW|wstitle=Schurz, Carl|vb=x}}

displays as:

This article incorporates text from a publication now in the public domainLua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

Hidden categories

[edit source]

This template places articles into a hidden category with sub-categories to aid maintenance:

See also

[edit source]
  1. ^ For compatibility with similar templates, the name of the article can also be specified using an unnamed argument instead of the wstitle parameter.