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

From blackwiki
Jump to navigation Jump to search
imported>PBS
(→‎Usage: alter the parameters to be in the same order as they are displayed.)
imported>PBS
(expanded the explanation)
Line 3: Line 3:
 
{{CS1 wrapper|base=Cite encyclopedia}}
 
{{CS1 wrapper|base=Cite encyclopedia}}
 
This template provides a quick, standard method of citing ''[[The New Grove Dictionary of Music and Musicians|Grove Music Online]]'' for music-related articles in Wikipedia.
 
This template provides a quick, standard method of citing ''[[The New Grove Dictionary of Music and Musicians|Grove Music Online]]'' for music-related articles in Wikipedia.
 +
 +
It is a [[Wikipedia:Wrapper templates|wrapper]] around the standard citation template {{tlx|cite encyclopedia}}. As such it fills out some {{tlx|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 {{tlx|citation}} use the parameter {{para|mode|cs2}}.
  
 
==Usage==
 
==Usage==
 +
All parameters apart from {{para|title}} are strictly speaking optional:
 +
{{demo|<nowiki>{{cite Grove |title=Roméo et Juliette}}</nowiki>}}
 +
 +
However, it is '''strongly encouraged''' to include at least {{para|last}}, {{para|first}}, {{para|date}}, {{para|title}}, and {{para|url}} (or  {{para|doi}} or {{para|id}}).
 +
 
The syntax with typical parameters is as follows:
 
The syntax with typical parameters is as follows:
 +
{{demo|<nowiki>{{cite Grove
 +
  |last = Huebner
 +
  |first = Steven
 +
  |date = 2002
 +
  |title = Roméo et Juliette
 +
  |url=https://doi.org/10.1093/gmo/9781561592630.article.O006772
 +
  }}</nowiki>}}
 +
 +
As an alternative to {{para|url}} {{para|doi}} or {{para|id}} can be used ({{para|id}} should contain the end part of the <code>[[Digital object identifier|doi]]</code>—after the last decimal point).
 +
 
{{demo|<nowiki>{{cite Grove
 
{{demo|<nowiki>{{cite Grove
 
   |last = Huebner
 
   |last = Huebner
Line 14: Line 31:
 
   }}</nowiki>}}
 
   }}</nowiki>}}
  
 
+
{{demo|<nowiki>{{cite Grove
All parameters are strictly speaking optional, in which case a general citation is generated:
+
  |author =Steven  Huebner
{{demo|<nowiki>{{cite Grove}}</nowiki>}}
+
  |date = 2002
 
+
  |title = Roméo et Juliette
 
+
  |id = O006772
However, it is '''strongly encouraged''' to include at least {{para|last}}, {{para|first}}, {{para|year}}, {{para|title}}, and {{para|doi}} (or  {{para|url}}). This template is a [[Wikipedia:Wrapper templates|wrapper]] around {{tlx|cite encyclopedia}} and supports all the same functionality and parameters (including {{para|mode|cs2}}).
+
  }}</nowiki>}}
  
 
==See also==
 
==See also==

Revision as of 09:48, 4 July 2020

Template:Template rating

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 |last=, |first=, |date=, |title=, and |url= (or |doi= or |id=).

The syntax with typical parameters is as follows:

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


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

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

{{cite Grove
  |last = Huebner
  |first = 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 =Steven  Huebner
  |date = 2002
  |title = Roméo et Juliette
  |id = O006772
  }}


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

See also

Note that this template, while it duplicates the functionality of {{GroveOnline}}, is of a different "family" than the templates listed below. Their purpose is similar, but their approach and functionality is somewhat different. Until this template becomes more mature, you are encouraged to use one of the below templates when editing in article space.

  • {{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.