Difference between revisions of "Template:Cite AmCyc/doc"

From blackwiki
Jump to navigation Jump to search
imported>PBS
(→‎Usage: fix the name of the calling template and default usage to wstitle)
imported>Vanisaac
m (→‎Notes: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(8 intermediate revisions by 4 users not shown)
Line 7: Line 7:
  
 
or with a specification of additional options:
 
or with a specification of additional options:
 
+
  |noicon =''1'' — no leading icon
<pre><nowiki>
+
  |vb    =''1'' — prescript to attribute copied text (see [[WP:PLAGIARISM]])
{{Cite AmCyc
+
  |inline =''1'' — alters the prescript to make it suitable for inline citations
|name of the article
+
  |wstitle=''name of the AmCyc article on Wikisource''
|display=
+
  |display=''alternative name to display in place of the AmCyc article name on Wikisource''
|author=
+
  |title=''name of the AmCyc article if not on Wikisource''
|year=
+
  |url=''only set if title= is set''
  |volume=
+
  |year= —defaults to 1879.
|page=
+
  For the following parameters see the documentation of {{tl|cite encyclopedia}}
|pages=
+
  |first=
|noicon=
+
  |last=
|vb=
+
  |author=
|title=
+
  |authorlink=
|url=
+
  |volume=
}}
+
  |page=
</nowiki></pre>
+
  |pages=
 
+
  |ref=
The <code>year</code> defaults to 1879.
+
  |mode=
  
 
=== Examples ===
 
=== Examples ===
 
====Simple====
 
====Simple====
<code><nowiki>{{Cite AmCyc|Rotteck, Karl von}}</nowiki></code>
+
<code><nowiki>{{Cite AmCyc|wstitle=Rotteck, Karl von}}</nowiki></code>
  
 
displays as:
 
displays as:
  
{{Cite AmCyc|Rotteck, Karl von}}
+
{{Cite AmCyc|wstitle=Rotteck, Karl von}}
  
 
====With comment====
 
====With comment====
<code><nowiki>{{Cite AmCyc|Rotteck, Karl von}} A German historian and activist for freedom of the press.</nowiki></code>
+
<code><nowiki>{{Cite AmCyc|wstitle=Rotteck, Karl von}} A German historian and activist for freedom of the press.</nowiki></code>
  
 
displays as:
 
displays as:
  
{{Cite AmCyc|Rotteck, Karl von}} A German historian and activist for freedom of the press.
+
{{Cite AmCyc|wstitle=Rotteck, Karl von}} A German historian and activist for freedom of the press.
  
 
====Using <code>noicon</code>====
 
====Using <code>noicon</code>====
<code><nowiki>{{Cite Americana|Cogniet, Leon|noicon=x}}</nowiki></code>
+
<code><nowiki>{{Cite AmCyc|wstitle=Cogniet, Leon|noicon=x}}</nowiki></code>
  
 
displays as:
 
displays as:
  
{{Cite AmCyc|Rotteck, Karl von|noicon=x}}
+
{{Cite AmCyc|wstitle=Rotteck, Karl von|noicon=x}}
  
 
====Using <code>vb</code>====
 
====Using <code>vb</code>====
 
If text is incorporated verbatim into an article, the <code>vb</code> parameter can be used to tack on a notice appropriate to the policy in [[Wikipedia:Plagiarism]].
 
If text is incorporated verbatim into an article, the <code>vb</code> parameter can be used to tack on a notice appropriate to the policy in [[Wikipedia:Plagiarism]].
  
<code><nowiki>{{Cite AmCyc|Rotteck, Karl von|vb=x}}</nowiki></code>
+
<code><nowiki>{{Cite AmCyc|wstitle=Rotteck, Karl von|vb=x}}</nowiki></code>
  
 
displays as:
 
displays as:
  
{{Cite AmCyc|Rotteck, Karl von|vb=x}}
+
{{Cite AmCyc|wstitle=Rotteck, Karl von|vb=x}}
  
 
====Using <code>title</code> (no Wikisource link)====
 
====Using <code>title</code> (no Wikisource link)====
Line 65: Line 65:
  
 
When <code>title</code> is being used, <code>url</code> can be used to specify an external link.   
 
When <code>title</code> is being used, <code>url</code> can be used to specify an external link.   
 +
 +
=== Hidden categories ===
 +
This template places articles into a hidden category with sub-categories to aid maintenance:
 +
*[[:Category:Wikipedia articles incorporating a citation from The American Cyclopaedia]]
  
 
=== See also ===
 
=== See also ===
* {{tl|AmCyc poster}} — display a AmCyc article in a top box on the right.
+
* {{tlx|AmCyc}} — for use in a Wikipedia article that includes text copied from the AmCyc article
 +
* {{tlx|AmCyc poster}} — display an AmCyc article in a top box on the right.
 
* [[Wikipedia:Wikimedia sister projects|Wikimedia sister projects]]
 
* [[Wikipedia:Wikimedia sister projects|Wikimedia sister projects]]
  
Line 73: Line 78:
 
{{reflist|group="note"}}
 
{{reflist|group="note"}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
{{DEFAULTSORT:Amcyc Cite}}
 
{{DEFAULTSORT:Amcyc Cite}}
Line 79: Line 84:
 
[[Category:Encyclopedia source templates]]
 
[[Category:Encyclopedia source templates]]
 
[[Category:Wikisource link templates]]
 
[[Category:Wikisource link templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 05:02, 24 April 2020

Purpose

This template facilitates the citation of articles from editions of The American Cyclopædia. Links to Wikisource or external sources are provided for. {{cite encyclopedia}} is used for the implementation.

Usage

{{Cite AmCyc|wstitle=put the name of the AmCyc article here}}

or with a specification of additional options:

 |noicon =1 — no leading icon
 |vb     =1 — prescript to attribute copied text (see WP:PLAGIARISM) 
 |inline =1 — alters the prescript to make it suitable for inline citations
 |wstitle=name of the AmCyc article on Wikisource
 |display=alternative name to display in place of the AmCyc article name on Wikisource
 |title=name of the AmCyc article if not on Wikisource
 |url=only set if title= is set
 |year= —defaults to 1879.
For the following parameters see the documentation of {{cite encyclopedia}}
 |first=
 |last=
 |author=
 |authorlink=
 |volume=
 |page=
 |pages=
 |ref=
 |mode=

Examples

Simple

{{Cite AmCyc|wstitle=Rotteck, Karl von}}

displays as:

Ripley, George; Dana, Charles A., eds. (1879). "Rotteck, Karl von" . The American Cyclopædia.

With comment

{{Cite AmCyc|wstitle=Rotteck, Karl von}} A German historian and activist for freedom of the press.

displays as:

Ripley, George; Dana, Charles A., eds. (1879). "Rotteck, Karl von" . The American Cyclopædia. A German historian and activist for freedom of the press.

Using noicon

{{Cite AmCyc|wstitle=Cogniet, Leon|noicon=x}}

displays as:

Ripley, George; Dana, Charles A., eds. (1879). "Rotteck, Karl von". The American Cyclopædia.

Using vb

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 AmCyc|wstitle=Rotteck, Karl von|vb=x}}

displays as:

This article incorporates text from a publication now in the public domainRipley, George; Dana, Charles A., eds. (1879). "Rotteck, Karl von" . The American Cyclopædia.

Using title (no Wikisource link)

{{Cite AmCyc|title=Rotteck, Karl von}}

displays as:

public domain Ripley, George; Dana, Charles A., eds. (1879). "Rotteck, Karl von". The American Cyclopædia.

When title is being used, url can be used to specify an external link.

Hidden categories

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

See also

Notes