Difference between revisions of "Template:Cite Grove/sandbox"
imported>Trappist the monk (use Module:template wrapper;) |
imported>PBS (copy of current code) |
||
| Line 1: | Line 1: | ||
| − | <includeonly>{{ | + | <includeonly>{{Cite encyclopedia |
| − | + | |title={{if empty|{{{title|}}}|{{{3|}}}}} | |
| − | + | |authors={{{authors|}}} | |
| − | + | |author={{if empty|{{{author|{{{author1|}}}}}}|{{{2|}}}}} | |
| − | + | |author2={{{author2|}}} | |
| − | + | |author3={{{author3|}}} | |
| − | + | |author4={{{author4|}}} | |
| − | + | |author5={{{author5|}}} | |
| − | + | |author6={{{author6|}}} | |
| − | + | |author7={{{author7|}}} | |
| − | + | |author8={{{author8|}}} | |
| + | |author9={{{author9|}}} | ||
| + | |author10={{{author10|}}} | ||
| + | |author1-link={{{author1-link|{{{author1link|{{{author-link1|{{{authorlink1|{{{author-link|{{{authorlink|}}}}}}}}}}}}}}}}}} | ||
| + | |author2-link={{{author2-link|{{{author2link|{{{author-link2|{{{authorlink2|}}}}}}}}}}}} | ||
| + | |author3-link={{{author3-link|{{{author3link|{{{author-link3|{{{authorlink3|}}}}}}}}}}}} | ||
| + | |author4-link={{{author4-link|{{{author4link|{{{author-link4|{{{authorlink4|}}}}}}}}}}}} | ||
| + | |author5-link={{{author5-link|{{{author5link|{{{author-link5|{{{authorlink5|}}}}}}}}}}}} | ||
| + | |author6-link={{{author6-link|{{{author6link|{{{author-link6|{{{authorlink6|}}}}}}}}}}}} | ||
| + | |author7-link={{{author7-link|{{{author7link|{{{author-link7|{{{authorlink7|}}}}}}}}}}}} | ||
| + | |author8-link={{{author8-link|{{{author8link|{{{author-link8|{{{authorlink8|}}}}}}}}}}}} | ||
| + | |author9-link={{{author9-link|{{{author9link|{{{author-link9|{{{authorlink9|}}}}}}}}}}}} | ||
| + | |author10-link={{{author10-link|{{{author10link|{{{author-link10|{{{authorlink10|}}}}}}}}}}}} | ||
| + | |last-author-amp={{{last-author-amp|{{{lastauthoramp|}}}}}} | ||
| + | |display-authors={{{display-authors|{{{displayauthors|}}}}}} | ||
| + | |first={{{first|}}} | ||
| + | |first1={{{first1|}}} | ||
| + | |first2={{{first2|}}} | ||
| + | |first3={{{first3|}}} | ||
| + | |first4={{{first4|}}} | ||
| + | |first5={{{first5|}}} | ||
| + | |last={{{last|}}} | ||
| + | |last1={{{last1|}}} | ||
| + | |last2={{{last2|}}} | ||
| + | |last3={{{last3|}}} | ||
| + | |last4={{{last4|}}} | ||
| + | |last5={{{last5|}}} | ||
| + | |encyclopedia=[[The New Grove Dictionary of Music and Musicians|Grove Music Online. Oxford Music Online]] | ||
| + | |publisher=[[Oxford University Press]] | ||
| + | |url={{if empty|{{{url|}}}|{{#if:{{{1|}}}|https://doi.org/10.1093/gmo/9781561592630.article.{{trim|{{{1|}}}}}}}}} | ||
| + | |url-access={{#if:{{{url|}}}|subscription|}} | ||
| + | |access-date={{#if:{{{url|}}}|{{{access-date|}}}|}} | ||
| + | |mode={{{mode|}}} | ||
| + | |ref={{{ref|}}} | ||
}}</includeonly><noinclude>{{Documentation}}</noinclude> | }}</includeonly><noinclude>{{Documentation}}</noinclude> | ||
Revision as of 15:08, 8 June 2020
| This is the template sandbox page for Template:Cite Grove (diff). See also the companion subpage for test cases. |
| This template is a Citation Style 1 wrapper template based on {{Cite encyclopedia}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
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.
| The above documentation is transcluded from Template:Cite Grove/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |