Difference between revisions of "Template:Grove1900"

From blackwiki
Jump to navigation Jump to search
imported>Headbomb
m (→‎top: clean up, no longer needed, replaced: {{{ref|harv}}} → {{{ref|}}})
imported>Trappist the monk
(sync from sandbox;)
 
Line 1: Line 1:
{{Cite Grove1900
+
{{#invoke:template wrapper|{{#if:{{{_debug|}}}|list|wrap}}|_template=cite Grove1900
    <!-- set by default -->
+
  |_exclude=_debug
    |vb=1
+
   |vb=1
    |ref={{{ref|}}}
 
    |{{#if:{{{short|}}}  |short  |HIDE_PARAMETER1}}={{{short|}}}
 
 
 
    <!-- pass in non standard parameters -->
 
    |{{#if:{{{noicon|}}}  |noicon  |HIDE_PARAMETER2}}={{{noicon|}}}
 
    |{{#if:{{{inline|}}}  |inline  |HIDE_PARAMETER3}}={{{inline|}}}
 
    |{{#if:{{{wstitle|}}} |wstitle |HIDE_PARAMETER4}}={{{wstitle|}}}
 
    |{{#if:{{{display|}}} |display |HIDE_PARAMETER40}}={{{display|}}}
 
 
 
    <!--pass in other standard parameters-->
 
    |{{#if:{{{1|}}}   |1  |HIDE_PARAMETER45}}={{{1|}}}
 
    |{{#if:{{{first|}}}  |first  |HIDE_PARAMETER5}}={{{first|}}}
 
    |{{#if:{{{first1|}}}  |first1 |HIDE_PARAMETER6}}={{{first1|}}}
 
    |{{#if:{{{first2|}}}  |first2 |HIDE_PARAMETER7}}={{{first2|}}}
 
 
 
    |{{#if:{{{last|}}}    |last  |HIDE_PARAMETER8}}={{{last|}}}
 
    |{{#if:{{{last1|}}}  |last1  |HIDE_PARAMETER9}}={{{last1|}}}
 
    |{{#if:{{{last2|}}}  |last2  |HIDE_PARAMETER10}}={{{last2|}}}
 
 
 
    |{{#if:{{{author |}}} |author  |HIDE_PARAMETER11}}={{{author|}}}
 
    |{{#if:{{{author1|}}} |author1 |HIDE_PARAMETER12}}={{{author1|}}}
 
    |{{#if:{{{author2|}}} |author2 |HIDE_PARAMETER13}}={{{author2|}}}
 
    |{{#if:{{{authors|}}} |authors |HIDE_PARAMETER14}}={{{authors|}}}
 
    |{{#if:{{{authorlink|}}} |authorlink |HIDE_PARAMETER15}}={{{authorlink|}}}
 
    |{{#if:{{{coauthors|}}}  |coauthors  |HIDE_PARAMETER16}}={{{coauthors|}}}
 
 
 
    |{{#if:{{{title|}}}      |title      |HIDE_PARAMETER17}}={{{title}}}
 
    |{{#if:{{{volume|}}}    |volume    |HIDE_PARAMETER18}}={{{volume}}}
 
    |{{#if:{{{page|}}}      |page      |HIDE_PARAMETER19}}={{{page}}}
 
    |{{#if:{{{pages|}}}      |pages      |HIDE_PARAMETER20}}={{{pages}}}
 
    |{{#if:{{{separator|}}}  |separator  |HIDE_PARAMETER21}}={{{separator}}}
 
    |{{#if:{{{postscript|}}} |postscript |HIDE_PARAMETER22}}={{{postscript|}}}
 
    |{{#if:{{{mode|}}} |mode |HIDE_PARAMETER220}}={{{mode|}}}
 
 
 
    <!-- if not set, set in Cite Grove1900 -->
 
    |{{#if:{{{editor-first|}}} |editor-first |HIDE_PARAMETER23}}={{{editor-first|}}}
 
    |{{#if:{{{editor-last|}}}  |editor-last  |HIDE_PARAMETER24}}={{{editor-last|}}}
 
    |{{#if:{{{editorlink|}}}  |editorlink    |HIDE_PARAMETER240}}={{{editorlink|}}}
 
    |{{#if:{{{encyclopedia|}}} |encyclopedia |HIDE_PARAMETER25}}={{{encyclopedia|}}}
 
    |{{#if:{{{year|}}}  |year  |HIDE_PARAMETER26}}={{{year}}}
 
 
 
    <!--url will not be set in Cite Americana unless title is also set-->
 
    |{{#if:{{{url|}}}  |url  |HIDE_PARAMETER27}}={{{url}}}
 
 
 
 
}}<includeonly>{{#ifeq: {{NAMESPACEE}} |<!--is set
 
}}<includeonly>{{#ifeq: {{NAMESPACEE}} |<!--is set
 
   -->|{{#if:{{{wstitle|}}}
 
   -->|{{#if:{{{wstitle|}}}

Latest revision as of 23:18, 14 October 2020

This article incorporates text from a publication now in the public domainGrove, George, ed. (1900). A Dictionary of Music and Musicians. London: Macmillan and Company. Missing or empty |title= (help)

Template documentation[view] [edit] [history] [purge]

Purpose

This template facilitates the attribution of articles from A Dictionary of Music and Musicians (1900) that are in the public domain using the template {{Cite Grove1900}} which in turn calls {{Cite encyclopedia}}.

Usage

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

or with a specification of additional options:

{{Grove1900
|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 Grove1900 to default values
|encyclopedia= — "A Dictionary of Music and Musicians"
|editor-first= — defaults to "George"
|editor-last=  — defaults to "Grove"
|editorlink=  — defaults to "George Grove"
|year — defaults to 1900
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

{{Grove1900|wstitle=Ayton, Fanny}}

displays as:

This article incorporates text from a publication now in the public domainGrove, George, ed. (1900). "Ayton, Fanny" . A Dictionary of Music and Musicians. London: Macmillan and Company.

With comment

{{Grove1900|wstitle=Ayton, Fanny}} A French history and portrait painter with many famous students.

displays as:

This article incorporates text from a publication now in the public domainGrove, George, ed. (1900). "Ayton, Fanny" . A Dictionary of Music and Musicians. London: Macmillan and Company. A French history and portrait painter with many famous students.

Using last and first

{{Grove1900|last=Chitty |first=Alexis |wstitle=Ayton, Fanny}}

displays as:

This article incorporates text from a publication now in the public domainChitty, Alexis (1900). "Ayton, Fanny" . In Grove, George (ed.). A Dictionary of Music and Musicians. London: Macmillan and Company.

Using volume, pages, page

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

{{Grove1900 |title=Ayton, Fanny |volume=4 |page=526 }}

displays as:

This article incorporates text from a publication now in the public domainGrove, George, ed. (1900). "Ayton, Fanny". A Dictionary of Music and Musicians. 4. London: Macmillan and Company. p. 526.

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:

{{Grove1900|wstitle=Ayton, Fanny |display=Fanny Ayton}}

displays as:

This article incorporates text from a publication now in the public domainGrove, George, ed. (1900). "Fanny Ayton" . A Dictionary of Music and Musicians. London: Macmillan and Company.

Using noicon

{{Grove1900|wstitle=Ayton, Fanny|noicon=x}}

displays as:

This article incorporates text from a publication now in the public domainGrove, George, ed. (1900). "Ayton, Fanny". A Dictionary of Music and Musicians. London: Macmillan and Company.

Using title (no Wikisource link)

{{Grove1900 |title=Ayton, Fanny}}

displays as:

This article incorporates text from a publication now in the public domainGrove, George, ed. (1900). "Ayton, Fanny". A Dictionary of Music and Musicians. London: Macmillan and Company.

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

{{Grove1900
 |title=Ayton, Fanny
 |volume=4
 |page=526
 |url=https://archive.org/stream/dictionaryofmusi04grovuoft#page/526/mode/1up
}}

displays as:

This article incorporates text from a publication now in the public domainGrove, George, ed. (1900). "Ayton, Fanny". A Dictionary of Music and Musicians. 4. London: Macmillan and Company. p. 526..

Using short

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

{{Grove1900|wstitle=Ayton, Fanny|short=x}}

displays as:

This article incorporates text from a publication now in the public domain"Ayton, Fanny" . A Dictionary of Music and Musicians. 1900.

If another edition besides 1900 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 Grove}} – Grove Music Online or New Grove, 2nd ed., 2001 depending on whether an internet link is provided
  • {{Cite NewGrove1980}} – New Grove, 1st ed., 1980
  • {{Cite NewGrove2001}} – New Grove, 2nd ed., 2001
  • {{Cite NewGroveJazz2002}} – New Grove Dictionary of Jazz, 2nd ed., 2002
  • {{Cite Grove1900}} – Use for citations where the Grove1900 text summarised but not copied
  • {{Grove1900}} – Grove, 1900 (public domain), Use for attribution where some of the text is copied from A Dictionary of Music and Musicians (1900)
  • {{Grove1900 poster}} – Place in the external links area for topic relevant Grove 1900 articles that may be of interest but are not cited by Wikipedia.