Difference between revisions of "Template:Cite Appletons'/doc"

From blackwiki
Jump to navigation Jump to search
imported>Bob Burkhardt
(→‎Purpose: use corrected title)
imported>Bob Burkhardt
(use alias; incorporate year param in examples; mention all params at beginning)
Line 4: Line 4:
  
 
=== Usage ===
 
=== Usage ===
<code><nowiki>{{Cite Appleton's|put the name of the article here}}</nowiki></code>
+
<code><nowiki>{{Cite Appletons'|put the name of the article here}}</nowiki></code>
  
or with a specification of the optional <tt>author</tt> parameter:
+
or with a specification of the optional <tt>year</tt>, <tt>author</tt> or <tt>notaref</tt> parameters:
  
<code><nowiki>{{Cite Appleton's|author=author name|put the name of the article here}}</nowiki></code>
+
<code><nowiki>{{Cite Appletons'|put the name of the article here|year=year of publication|author=author name|notaref=x}}</nowiki></code>
  
 
=== Examples ===
 
=== Examples ===
<code><nowiki>{{|Cite Appleton's|Clay, Henry}}</nowiki></code>
+
<code><nowiki>{{|Cite Appletons'|Clay, Henry}}</nowiki></code>
  
 
displays as:
 
displays as:
Line 19: Line 19:
 
and
 
and
  
<code><nowiki>{{Cite Appleton's|Clay, Henry}} A popular politician in the formative years of the United States.</nowiki></code>
+
<code><nowiki>{{Cite Appletons'|Clay, Henry}} A popular politician in the formative years of the United States.</nowiki></code>
  
 
displays as:
 
displays as:
Line 25: Line 25:
 
{{Cite Appleton's|Clay, Henry}} A popular politician in the formative years of the United States.
 
{{Cite Appleton's|Clay, Henry}} A popular politician in the formative years of the United States.
  
Example using the <code>author</code> parameter:
+
Example using the <code>author</code> and <code>year</code> parameters:
  
<code><nowiki>{{Cite Appleton's|Clay, Henry|author=[[Carl Schurz]]}}</nowiki></code>
+
<code><nowiki>{{Cite Appletons'|Clay, Henry|year=1900|author=[[Carl Schurz]]}}</nowiki></code>
  
 
displays as:
 
displays as:
  
{{Cite Appleton's|Clay, Henry|author=[[Carl Schurz]]}}
+
{{Cite Appletons'|Clay, Henry|year=1900|author=[[Carl Schurz]]}}
  
 
=== Notes ===
 
=== Notes ===
 
In the examples above, this template automatically adds the hidden category "[[:Category:Wikipedia articles incorporating text from Appleton's Cyclopedia|Wikipedia articles incorporating text from Appleton's Cyclopedia]]" to the articles it is used in.  The addition of this category can be eliminated by setting the parameter <code>notaref</code> to some value.  For example,
 
In the examples above, this template automatically adds the hidden category "[[:Category:Wikipedia articles incorporating text from Appleton's Cyclopedia|Wikipedia articles incorporating text from Appleton's Cyclopedia]]" to the articles it is used in.  The addition of this category can be eliminated by setting the parameter <code>notaref</code> to some value.  For example,
  
<code><nowiki>{{Cite Appleton's|Blenker, Louis|notaref=x}}</nowiki></code>
+
<code><nowiki>{{Cite Appletons'|Blenker, Louis|notaref=x}}</nowiki></code>
  
 
will not insert the category, though there will be no noticable difference in the page.  This would be appropriate when the citation is made for further information only, and thus the text of the Appleton's entry has not been used in the article it is cited in.
 
will not insert the category, though there will be no noticable difference in the page.  This would be appropriate when the citation is made for further information only, and thus the text of the Appleton's entry has not been used in the article it is cited in.
 
The year can also be customized using the <code>year</code> parameter.
 
  
 
=== See also ===
 
=== See also ===

Revision as of 17:23, 27 November 2009

Purpose

This template enables the citation of articles from the Wikisource project Appletons' Cyclopædia of American Biography in the manner of {{cite encyclopaedia}}.

Usage

{{Cite Appletons'|put the name of the article here}}

or with a specification of the optional year, author or notaref parameters:

{{Cite Appletons'|put the name of the article here|year=year of publication|author=author name|notaref=x}}

Examples

{{|Cite Appletons'|Clay, Henry}}

displays as:

public domain Wilson, J. G.; Fiske, J., eds. (1891). Appletons' Cyclopædia of American Biography. New York: D. Appleton. Missing or empty |title= (help)

and

{{Cite Appletons'|Clay, Henry}} A popular politician in the formative years of the United States.

displays as:

public domain Wilson, J. G.; Fiske, J., eds. (1891). Appletons' Cyclopædia of American Biography. New York: D. Appleton. Missing or empty |title= (help) A popular politician in the formative years of the United States.

Example using the author and year parameters:

{{Cite Appletons'|Clay, Henry|year=1900|author=[[Carl Schurz]]}}

displays as:

public domain Carl Schurz (1900). Wilson, J. G.; Fiske, J. (eds.). Appletons' Cyclopædia of American Biography. New York: D. Appleton. Missing or empty |title= (help)

Notes

In the examples above, this template automatically adds the hidden category "Wikipedia articles incorporating text from Appleton's Cyclopedia" to the articles it is used in. The addition of this category can be eliminated by setting the parameter notaref to some value. For example,

{{Cite Appletons'|Blenker, Louis|notaref=x}}

will not insert the category, though there will be no noticable difference in the page. This would be appropriate when the citation is made for further information only, and thus the text of the Appleton's entry has not been used in the article it is cited in.

See also