Difference between revisions of "Template:Cite Grove/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>PBS
m (Reverted edits by PBS (talk) to last version by Trappist the monk)
imported>PBS
(update with "id" and alteration of the value passed to the "encyclopedia" parameter depending on whether it is an online source or off line)
Line 1: Line 1:
<includeonly>{{#invoke:template wrapper|{{#if:{{{_debug|}}}|list|wrap}}|_template=cite encyclopedia
+
{{#invoke:template wrapper|{{#if:{{{_debug|}}}|list|wrap}}|_template=cite encyclopedia
   |_exclude=_debug
+
   |_exclude=id, _debug
  |_alias-map=3:title, 2:author
 
  |_reuse=title
 
  
   |title={{if empty|{{{title|}}}|{{{3|}}}}}
+
   |edition={{#if:{{{url|}}}{{{doi|}}}{{{id|}}}|eighth|{{{edition|}}} }}
   |encyclopedia=[[The New Grove Dictionary of Music and Musicians|Grove Music Online. Oxford Music Online]]
+
   |encyclopedia={{#if:{{{url|}}}{{{id|}}}{{{doi|}}}|[[The New Grove Dictionary of Music and Musicians#|Grove Music Online and Oxford Music Online]]|[[The New Grove Dictionary of Music and Musicians]]}}
 
   |publisher=[[Oxford University Press]]
 
   |publisher=[[Oxford University Press]]
 
   |url-access={{#if:{{{url|}}}|subscription|}}
 
   |url-access={{#if:{{{url|}}}|subscription|}}
   |access-date={{#if:{{{url|}}}|{{{access-date|}}}|}}
+
   |access-date={{#if:{{{url|}}}{{{doi|}}}{{{id|}}}|{{{access-date|}}}|}}
   |doi={{#if:{{{1|}}}|10.1093/gmo/9781561592630.article.{{trim|{{{1|}}}}}}}
+
   |doi={{#if:{{{id|}}}|10.1093/gmo/9781561592630.article.{{trim|{{{id|}}}}}|{{{doi|}}} }}
}}</includeonly><noinclude>{{Documentation}}</noinclude>
+
  |access-date={{#if:{{{url|}}}{{{id|}}}|{{{access-date|}}}|}}
 +
}}<!--
 +
-->{{main other|
 +
  [[Category:Wikipedia articles incorporating the GroveOnline template]]
 +
  {{#if:{{{1|}}}|[[Category:Wikipedia articles incorporating the GroveOnline template with an unnamed parameter]]}}
 +
}}<!--
 +
-->{{#if:{{both|{{{url|}}}|{{{doi|}}}}}|[[Category:Articles using the GroveOnline template with both url and doi parameters]]}}<!--
 +
-->{{#if:{{both|{{{url|}}}|{{{id|}}}}}|[[Category:Articles using the GroveOnline template with both url and id parameters]]}}<!--
 +
-->{{#if:{{both|{{{doi|}}}|{{{id|}}}}}|[[Category:Artciles using the GroveOnline template with both doi and id parameters]]}}<!--
 +
--><noinclude>
 +
{{Documentation}}
 +
</noinclude>

Revision as of 09:10, 12 June 2020

The New Grove Dictionary of Music and Musicians. Oxford University Press. Missing or empty |title= (help)

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

This template provides a quick, standard method of citing Grove Music Online for music-related articles in Wikipedia.

It is a wrapper around the standard citation template {{cite encyclopedia}}. As such it fills out some {{cite encyclopedia}} parameters, but the full range of parameters provided by WP:CS1 are available. To change the appearance of the output to that of {{citation}} use the parameter |mode=cs2.

Usage

All parameters apart from |title= are strictly speaking optional:

{{cite Grove |title=Roméo et Juliette}}

Root, Deane L., ed. (2001). "Roméo et Juliette". The New Grove Dictionary of Music and Musicians. Oxford University Press.

However, it is strongly encouraged to include at least |last1=, |first1=, |date=, |title=, and |url= (or |doi= or |id=).

If one of the link parameters (|url=, |doi= or |id=) is used the template displays the title Grove Music Online, 8th (ed). If no link parameter is provided it is assumed that the citation is based on the paper edition: the title is changed to The New Grove Dictionary of Music and Musicians and editor is added. If this is the case then the parameter |page=number ought to be provided.

The syntax with typical parameters is as follows:

{{cite Grove
  |last1 = Huebner
  |first1 = Steven
  |date = 2002
  |title = Roméo et Juliette
  |url=https://doi.org/10.1093/gmo/9781561592630.article.O006772
  |url-access=subscription
  }}

Huebner, Steven (2002). "Roméo et Juliette". Grove Music Online (8th ed.). Oxford University Press.

Example of a free-access page, with two authors, each of which has a Wikipedia article:

{{Cite Grove
  |last1 = Wolff
  |first1 = Christoph
  |author-link1 = Christoph Wolff
  |last2 = Emery
  |first2 = Walter
  |author-link2 = Walter Emery
  |date = 20 January 2001
  |title = Bach, Johann Sebastian
  |url = https://doi.org/10.1093/gmo/9781561592630.article.6002278195
  }}

Wolff, Christoph; Emery, Walter (20 January 2001). "Bach, Johann Sebastian". Grove Music Online (8th ed.). Oxford University Press.

As an alternative to |url=, either |doi= or |id= can be used (|id= should contain the end part of the doi—after the last decimal point).

{{cite Grove
  |last1 = Huebner
  |first1 = Steven
  |year = 2002
  |title = Roméo et Juliette
  |doi = 10.1093/gmo/9781561592630.article.O006772
  }}

Huebner, Steven (2002). "Roméo et Juliette". Grove Music Online (8th ed.). Oxford University Press. doi:10.1093/gmo/9781561592630.article.O006772.
{{cite Grove
  |author = Huebner, Steven 
  |date = 2002
  |title = Roméo et Juliette
  |id = O006772
  }}

Huebner, Steven (2002). "Roméo et Juliette". Grove Music Online (8th ed.). Oxford University Press. doi:10.1093/gmo/9781561592630.article.O006772.

It is however discouraged, as in the last example, to use the |author= parameter when both last name and given name(s) are known: use |last1= and |first1= instead

Maintenance categories

For maintenance categories see:

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.