Template:Cite NSRW/doc: Difference between revisions
m syntaxhighlight lang="wikitext" |
|||
(One intermediate revision by one other user not shown) | |||
Line 15: | Line 15: | ||
<code><nowiki>{{</nowiki>Cite NSRW|title=''non-Wikisource article title''|author=''name'' |noicon=''x''|vb=''x''|volume=''number''|url=''http...''|accessdate=''date''}}</nowiki></code> |
<code><nowiki>{{</nowiki>Cite NSRW|title=''non-Wikisource article title''|author=''name'' |noicon=''x''|vb=''x''|volume=''number''|url=''http...''|accessdate=''date''}}</nowiki></code> |
||
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 {{tl|harv}} family of templates. See |
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 {{tl|harv}} family of templates. See {{tl|cite encyclopedia}} for details about these standard parameters. |
||
=== Examples === |
=== Examples === |
||
Line 57: | Line 57: | ||
When <code>title</code> is being used, <code>url</code> with possibly <code>accessdate</code> can be used to specify an external link. For example: |
When <code>title</code> is being used, <code>url</code> with possibly <code>accessdate</code> can be used to specify an external link. For example: |
||
<syntaxhighlight lang="wikitext"> |
|||
<pre><nowiki> |
|||
{{Cite NSRW |
{{Cite NSRW |
||
|title=Tower, Charlemagne |
|title=Tower, Charlemagne |
||
Line 64: | Line 64: | ||
|accessdate=2009-07-31 |
|accessdate=2009-07-31 |
||
}} At [http://chestofbooks.com chestofbooks.com]. |
}} At [http://chestofbooks.com chestofbooks.com]. |
||
</syntaxhighlight> |
|||
</nowiki></pre> |
|||
displays as: |
displays as: |
Latest revision as of 12:45, 17 May 2023
This is a documentation subpage for Template:Cite NSRW. It may contain usage information, categories and other content that is not part of the original template page. |
Purpose
[edit]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.
Usage
[edit]{{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]Typical
[edit]{{Cite NSRW|wstitle=Schurz, Carl}}
displays as:
Beach, Chandler B., ed. (1914).
. . Chicago: F. E. Compton and Co.short
option
[edit]{{Cite NSRW|wstitle=Schurz, Carl|short=x}}
removes editor and publisher information and displays as:
. . 1914.
With comment
[edit]{{Cite NSRW|wstitle=Schurz, Carl}} The most prominent foreign-born citizen of the 19th-century United States.
displays as:
Beach, Chandler B., ed. (1914).
. . Chicago: F. E. Compton and Co. The most prominent foreign-born citizen of the 19th-century United States.display
option
[edit]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:
Beach, Chandler B., ed. (1914).
. . Chicago: F. E. Compton and Co.title
option (no Wikisource link)
[edit]{{Cite NSRW|title=Tower, Charlemagne}}
displays as:
Beach, Chandler B., ed. (1914). "Tower, Charlemagne". . Chicago: F. E. Compton and Co.
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:
Beach, Chandler B., ed. (1914). "Tower, Charlemagne". . Vol. 4. Chicago: F. E. Compton and Co. Retrieved 2009-07-31. At chestofbooks.com.
author
option
[edit]{{Cite NSRW|author=Fred Smith |wstitle=Schurz, Carl}}
displays as:
Fred Smith (1914).
. In Beach, Chandler B. (ed.). . Chicago: F. E. Compton and Co.first last
options
[edit]{{Cite NSRW|first=Fred |last=Smith |wstitle=Schurz, Carl}}
displays as:
Smith, Fred (1914).
. In Beach, Chandler B. (ed.). . Chicago: F. E. Compton and Co.mode
option
[edit]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:
Beach, Chandler B., ed. (1914),
, , Chicago: F. E. Compton and Conoicon
option
[edit]{{Cite NSRW|wstitle=Schurz, Carl|noicon=x}}
displays as:
Beach, Chandler B., ed. (1914). "Schurz, Carl". The New Student's Reference Work. Chicago: F. E. Compton and Co.
vb
option
[edit]{{Cite NSRW|wstitle=Schurz, Carl|vb=x}}
displays as:
This article incorporates text from a publication now in the public domain: Beach, Chandler B., ed. (1914). . . Chicago: F. E. Compton and Co.
Hidden categories
[edit]This template places articles into a hidden category with sub-categories to aid maintenance:
See also
[edit]- {{NSRW}}
- {{NSRW poster}}
- Sister projects
Notes
[edit]- ^ For compatibility with similar templates, the name of the article can also be specified using an unnamed argument instead of the
wstitle
parameter.