Template:CEM/doc

From blackwiki
< Template:CEM
Revision as of 10:54, 23 January 2016 by imported>PBS (Created page with '{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> === Purpose === This template facilitates the attribut...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Purpose

This template facilitates the attribution of articles from Complete Encyclopaedia of Music (1900) that are in the public domain using the template {{Cite CEM}} which in turn calls {{Cite encyclopedia}}.

Usage

{{CEM|wstitle=''name of the article here''}}

or with a specification of additional options:

{{CEM
|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=article name — if the article is available on Wikisource 
|display=alternative name — displayed inplace of the wstitle name
|title=article name — 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 CEM to default values
|encyclopedia= — "Complete Encyclopaedia of Music"
|editor-first= — defaults to "John Weeks"
|editor-last=  — defaults to "Moore"
|editorlink=  — defaults to "John Weeks Moore"
|year — defaults to 1880
If set pass in other standard parameters:
|first=
|first1=
|first2=
|last=
|last1=
|last2=
|author=
|author1=
|author2=
|authors=
|authorlink=
|coauthors=
|volume=
|page=
|pages=
|mode=
}}

Examples

Simple

{{CEM|wstitle=Aristides Quintilianus}}

displays as:

This article incorporates text from a publication now in the public domainMoore, John Weeks (1880). "Aristides Quintilianus" . Complete Encyclopaedia of Music. New York: C. H. Ditson & Company. Unknown parameter |orig-date= ignored (help)

With comment

{{CEM|wstitle=Aristides Quintilianus}} A Grecian musician who lived around 130 AD.

displays as:

This article incorporates text from a publication now in the public domainMoore, John Weeks (1880). "Aristides Quintilianus" . Complete Encyclopaedia of Music. New York: C. H. Ditson & Company. Unknown parameter |orig-date= ignored (help) A Grecian musician who lived around 130 AD.

Using last and first

{{CEM|last=Chitty |first=Alexis |wstitle=Aristides Quintilianus}}

displays as:

This article incorporates text from a publication now in the public domainChitty, Alexis (1880). "Aristides Quintilianus" . Complete Encyclopaedia of Music. New York: C. H. Ditson & Company. Unknown parameter |orig-date= ignored (help)

Using volume, pages, page

These work as with other {{cite}} templates:

{{CEM |title=Aristides Quintilianus|volume=1 |page=10 }}

displays as:

This article incorporates text from a publication now in the public domainMoore, John Weeks (1880). "Aristides Quintilianus". Complete Encyclopaedia of Music. 1. New York: C. H. Ditson & Company. p. 10. Unknown parameter |orig-date= 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:

{{CEM|wstitle=Aristides Quintilianus |display=Fanny Ayton}}

displays as:

This article incorporates text from a publication now in the public domainMoore, John Weeks (1880). "Quintilianus" . Complete Encyclopaedia of Music. New York: C. H. Ditson & Company. Unknown parameter |orig-date= ignored (help)

Using noicon

{{CEM|wstitle=Aristides Quintilianus|noicon=x}}

displays as:

This article incorporates text from a publication now in the public domainMoore, John Weeks (1880). "Aristides Quintilianus". Complete Encyclopaedia of Music. New York: C. H. Ditson & Company. Unknown parameter |orig-date= ignored (help)

Using title (no Wikisource link)

{{CEM |title=Aristides Quintilianus}}

displays as:

This article incorporates text from a publication now in the public domainMoore, John Weeks (1880). "Aristides Quintilianus". Complete Encyclopaedia of Music. New York: C. H. Ditson & Company. Unknown parameter |orig-date= ignored (help)

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

{{CEM
 |title=Aristides Quintilianus
 |url=https://archive.org/stream/completeencyclop00moor#page/n66/mode/1up
 |page=61
}}

displays as:

This article incorporates text from a publication now in the public domainMoore, John Weeks (1880). "Aristides Quintilianus". Complete Encyclopaedia of Music. New York: C. H. Ditson & Company. p. 61. Unknown parameter |orig-date= ignored (help)

Using short

If a shorter citation is desired, containing the editor of the 1880 edition, the short option can be used. For example:

{{CEM|wstitle=Aristides Quintilianus|short=x}}

displays as:

This article incorporates text from a publication now in the public domain"Aristides Quintilianus" . Complete Encyclopaedia of Music. 1880. Unknown parameter |orig-date= ignored (help)

If another edition besides 1880 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 short option is specified.

Hidden categories

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

See also

  • {{Cite CEM}} — Use for citations where the CEM text summarised but not copied
  • {{CEM poster}} — Place in the external links area for topic relevant Americana articles that may be of interest but are not cited by Wikipedia.