Template:AmCyc: Difference between revisions
dedupe HIDE_PARAMETER to stop adding to Category:Pages using duplicate arguments in template calls |
Added mode= |
||
Line 36: | Line 36: | ||
|{{#if:{{{encyclopedia|}}} |encyclopedia |HIDE_PARAMETER23}}={{{encyclopedia|}}} |
|{{#if:{{{encyclopedia|}}} |encyclopedia |HIDE_PARAMETER23}}={{{encyclopedia|}}} |
||
|{{#if:{{{year|}}} |year |HIDE_PARAMETER24}}={{{year}}} |
|{{#if:{{{year|}}} |year |HIDE_PARAMETER24}}={{{year}}} |
||
|{{#if:{{{mode|}}} |mode |HIDE_PARAMETER25}}={{{mode}}} |
|||
<!--url will not be set in American Cyclopædia unless title is also set--> |
<!--url will not be set in American Cyclopædia unless title is also set--> |
Revision as of 20:48, 7 March 2016
This article incorporates text from a publication now in the public domain: Ripley, George; Dana, Charles A., eds. (1879). The American Cyclopædia. {{cite encyclopedia}}
: Invalid |ref=harv
(help); Missing or empty |title=
(help); Unknown parameter |HIDE_PARAMETER17=
ignored (help); Unknown parameter |HIDE_PARAMETER18=
ignored (help); Unknown parameter |HIDE_PARAMETER19=
ignored (help); Unknown parameter |HIDE_PARAMETER20=
ignored (help); Unknown parameter |HIDE_PARAMETER24=
ignored (help); Unknown parameter |HIDE_PARAMETER25=
ignored (help); Unknown parameter |long=
ignored (help)
Purpose
This template facilitates the attribution of articles from editions of American Cyclopaedia that are in the public domain using the template {{Cite AmCyc}}
which in turn calls {{Cite encyclopedia}}
.
Usage
{{AmCyc|wstitle=''name of the American Cyclopaedia article here''}}
or with a specification of additional options:
{{AmCyc
|noicon=''1'' — suppress the leading icon
|inline=''1'' — changes the prescript and should be used when this template is used as an inline citation
|short=''1'' — suppresses some of the fields such as editor's name
|ref=''harv'' — can be overridden (if you need to ask you do not need to change it)
|wstitle=''AmCyc article'' — if the article is available on Wikisource
|display=''alternative name'' — displayed inplace of the wstitle name
|title=''AmCyc article'' — if the article is not available on Wikisource
|url= — will not be set unless the parameter ''title='' is set
If not set, set in the template Cite AmCyc to default values
|encyclopedia= —[[American Cyclopaedia]]
|editor-first= —defaults to "''George Edwin''"
|editor-last= —defaults to "''Rines''"
|{encyclopedia=
|year — defaults to 1920
If set pass in other standard parameters:
|first=
|first1=
|first2=
|last=
|last1=
|last2=
|author=
|author1=
|author2=
|authors=
|authorlink=
|coauthors=
|volume=
|page=
|pages=
}}
Examples
Simple
{{AmCyc|wstitle=Cogniet, Leon}}
displays as:
This article incorporates text from a publication now in the public domain: Ripley, George; Dana, Charles A., eds. (1879). . The American Cyclopædia. {{cite encyclopedia}}
: Invalid |ref=harv
(help); Unknown parameter |HIDE_PARAMETER17=
ignored (help); Unknown parameter |HIDE_PARAMETER18=
ignored (help); Unknown parameter |HIDE_PARAMETER19=
ignored (help); Unknown parameter |HIDE_PARAMETER20=
ignored (help); Unknown parameter |HIDE_PARAMETER24=
ignored (help); Unknown parameter |HIDE_PARAMETER25=
ignored (help); Unknown parameter |long=
ignored (help)
With comment
{{AmCyc|wstitle=Cogniet, Leon}} A French history and portrait painter with many famous students.
displays as:
This article incorporates text from a publication now in the public domain: Ripley, George; Dana, Charles A., eds. (1879). . The American Cyclopædia. {{cite encyclopedia}}
: Invalid |ref=harv
(help); Unknown parameter |HIDE_PARAMETER17=
ignored (help); Unknown parameter |HIDE_PARAMETER18=
ignored (help); Unknown parameter |HIDE_PARAMETER19=
ignored (help); Unknown parameter |HIDE_PARAMETER20=
ignored (help); Unknown parameter |HIDE_PARAMETER24=
ignored (help); Unknown parameter |HIDE_PARAMETER25=
ignored (help); Unknown parameter |long=
ignored (help) A French history and portrait painter with many famous students.
Using last
, first
and authorlink
{{AmCyc|last=Cross |first=Wilbur L. |wstitle=David Copperfield}}
displays as:
This article incorporates text from a publication now in the public domain: Cross, Wilbur L. (1879). . In Ripley, George; Dana, Charles A. (eds.). The American Cyclopædia. {{cite encyclopedia}}
: Invalid |ref=harv
(help); Unknown parameter |HIDE_PARAMETER17=
ignored (help); Unknown parameter |HIDE_PARAMETER18=
ignored (help); Unknown parameter |HIDE_PARAMETER19=
ignored (help); Unknown parameter |HIDE_PARAMETER20=
ignored (help); Unknown parameter |HIDE_PARAMETER24=
ignored (help); Unknown parameter |HIDE_PARAMETER25=
ignored (help); Unknown parameter |long=
ignored (help)
{{AmCyc|last=Cross |first=Wilbur L. |authorlink=Wilbur L. Cross |wstitle=David Copperfield}}
displays as:
This article incorporates text from a publication now in the public domain: Cross, Wilbur L. (1879). . In Ripley, George; Dana, Charles A. (eds.). The American Cyclopædia. {{cite encyclopedia}}
: Invalid |ref=harv
(help); Unknown parameter |HIDE_PARAMETER17=
ignored (help); Unknown parameter |HIDE_PARAMETER18=
ignored (help); Unknown parameter |HIDE_PARAMETER19=
ignored (help); Unknown parameter |HIDE_PARAMETER20=
ignored (help); Unknown parameter |HIDE_PARAMETER24=
ignored (help); Unknown parameter |HIDE_PARAMETER25=
ignored (help); Unknown parameter |long=
ignored (help)
Using volume
, pages
, page
These work as with other {{cite xxx}} templates:
{{AmCyc |title=Pulte, Joseph Hippolyt |volume=22 |page=799 }}
displays as:
This article incorporates text from a publication now in the public domain: Ripley, George; Dana, Charles A., eds. (1879). "Pulte, Joseph Hippolyt". The American Cyclopædia. Vol. 22. p. 799. {{cite encyclopedia}}
: Invalid |ref=harv
(help); Unknown parameter |HIDE_PARAMETER20=
ignored (help); Unknown parameter |HIDE_PARAMETER24=
ignored (help); Unknown parameter |HIDE_PARAMETER25=
ignored (help); Unknown parameter |long=
ignored (help)
Using display
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:
{{AmCyc|wstitle=Monroe (Louisiana) |display=Monroe, La.}}
displays as:
This article incorporates text from a publication now in the public domain: Ripley, George; Dana, Charles A., eds. (1879). . The American Cyclopædia. {{cite encyclopedia}}
: Invalid |ref=harv
(help); Unknown parameter |HIDE_PARAMETER17=
ignored (help); Unknown parameter |HIDE_PARAMETER18=
ignored (help); Unknown parameter |HIDE_PARAMETER19=
ignored (help); Unknown parameter |HIDE_PARAMETER20=
ignored (help); Unknown parameter |HIDE_PARAMETER24=
ignored (help); Unknown parameter |HIDE_PARAMETER25=
ignored (help); Unknown parameter |long=
ignored (help)
Using noicon
{{AmCyc|wstitle=Cogniet, Leon|noicon=x}}
displays as:
This article incorporates text from a publication now in the public domain: Ripley, George; Dana, Charles A., eds. (1879). "Cogniet, Leon". The American Cyclopædia. {{cite encyclopedia}}
: Invalid |ref=harv
(help); Unknown parameter |HIDE_PARAMETER17=
ignored (help); Unknown parameter |HIDE_PARAMETER18=
ignored (help); Unknown parameter |HIDE_PARAMETER19=
ignored (help); Unknown parameter |HIDE_PARAMETER20=
ignored (help); Unknown parameter |HIDE_PARAMETER24=
ignored (help); Unknown parameter |HIDE_PARAMETER25=
ignored (help); Unknown parameter |long=
ignored (help)
Using title
(no Wikisource link)
{{AmCyc |title=Sterne, Simon}}
displays as:
This article incorporates text from a publication now in the public domain: Ripley, George; Dana, Charles A., eds. (1879). "Sterne, Simon". The American Cyclopædia. {{cite encyclopedia}}
: Invalid |ref=harv
(help); Unknown parameter |HIDE_PARAMETER18=
ignored (help); Unknown parameter |HIDE_PARAMETER19=
ignored (help); Unknown parameter |HIDE_PARAMETER20=
ignored (help); Unknown parameter |HIDE_PARAMETER24=
ignored (help); Unknown parameter |HIDE_PARAMETER25=
ignored (help); Unknown parameter |long=
ignored (help)
When title
is being used, url
can be used to specify an external link. For example:
{{AmCyc
|title=Sterne, Simon
|url=https://books.google.com/books?id=cr9PAAAAMAAJ&pg=PA632
}} At [[Google Books]].
displays as:
This article incorporates text from a publication now in the public domain: Ripley, George; Dana, Charles A., eds. (1879). "Sterne, Simon". The American Cyclopædia. {{cite encyclopedia}}
: Invalid |ref=harv
(help); Unknown parameter |HIDE_PARAMETER18=
ignored (help); Unknown parameter |HIDE_PARAMETER19=
ignored (help); Unknown parameter |HIDE_PARAMETER20=
ignored (help); Unknown parameter |HIDE_PARAMETER24=
ignored (help); Unknown parameter |HIDE_PARAMETER25=
ignored (help); Unknown parameter |long=
ignored (help) At Google Books.
Using short
If a shorter citation is desired, containing the editor of the 1920 edition, the long
option can be used. For example:
{{AmCyc|wstitle=Schlatter, Michael|short=x}}
displays as:
This article incorporates text from a publication now in the public domain: Ripley, George; Dana, Charles A., eds. (1879). . The American Cyclopædia. {{cite encyclopedia}}
: Invalid |ref=harv
(help); Unknown parameter |HIDE_PARAMETER17=
ignored (help); Unknown parameter |HIDE_PARAMETER18=
ignored (help); Unknown parameter |HIDE_PARAMETER19=
ignored (help); Unknown parameter |HIDE_PARAMETER1=
ignored (help); Unknown parameter |HIDE_PARAMETER20=
ignored (help); Unknown parameter |HIDE_PARAMETER24=
ignored (help); Unknown parameter |HIDE_PARAMETER25=
ignored (help)
If another edition besides 1920 is being used, the editor name can be customized using editor-first
and editor-last
. If used, these two items will be displayed whether or not the long
option is specified.
Hidden categories
This template places articles into a hidden category with sub-categories to aid maintenance:
See also
- {{Cite AmCyc}} — Use for citations where the American Cyclopaedia text is summarised but not copied
- {{AmCyc poster}} — Place in the external links area for topic relevant American Cyclopaedia articles that may be of interest but are not cited by Wikipedia.