Difference between revisions of "Template:Cite Grove1900"

From blackwiki
Jump to navigation Jump to search
imported>PBS
(allow up to two authors to be set)
imported>PBS
(Only set url if the title parameter exists)
Line 19: Line 19:
 
                             <!--else-->|{{{title|}}}}}
 
                             <!--else-->|{{{title|}}}}}
 
                 |[[s:A Dictionary of Music and Musicians/{{{wstitle|}}}|{{{display|{{{wstitle|}}}<!-- -->}}}]]}}
 
                 |[[s:A Dictionary of Music and Musicians/{{{wstitle|}}}|{{{display|{{{wstitle|}}}<!-- -->}}}]]}}
 +
 +
<!--Only set url if the title parameter exists-->
 +
|{{#if:{{{title|}}}    |url    |HIDE_PARAMETER6}}={{{url|}}}
  
 
  <!--allow up to two authors to be set-->
 
  <!--allow up to two authors to be set-->
  |{{#if:{{{last|}}}    |last    |HIDE_PARAMETER6}}={{{last|}}}
+
  |{{#if:{{{last|}}}    |last    |HIDE_PARAMETER7}}={{{last|}}}
  |{{#if:{{{last1|}}}    |last1    |HIDE_PARAMETER7}}={{{last1|}}}
+
  |{{#if:{{{last1|}}}    |last1    |HIDE_PARAMETER8}}={{{last1|}}}
  |{{#if:{{{author|}}}  |author  |HIDE_PARAMETER8}}={{{author|}}}
+
  |{{#if:{{{author|}}}  |author  |HIDE_PARAMETER9}}={{{author|}}}
  |{{#if:{{{author1|}}}  |author1  |HIDE_PARAMETER9}}={{{author1|}}}
+
  |{{#if:{{{author1|}}}  |author1  |HIDE_PARAMETER10}}={{{author1|}}}
  |{{#if:{{{authors|}}}  |authors  |HIDE_PARAMETER10}}={{{authors|}}}
+
  |{{#if:{{{authors|}}}  |authors  |HIDE_PARAMETER11}}={{{authors|}}}
  
  |{{#if:{{{first|}}}    |first    |HIDE_PARAMETER11}}={{{first|}}}
+
  |{{#if:{{{first|}}}    |first    |HIDE_PARAMETER12}}={{{first|}}}
  |{{#if:{{{first1|}}}  |first1  |HIDE_PARAMETER12}}={{{first1|}}}
+
  |{{#if:{{{first1|}}}  |first1  |HIDE_PARAMETER13}}={{{first1|}}}
  
  |{{#if:{{{authorlink|}}}  |authorlink  |HIDE_PARAMETER13}}={{{authorlink|}}}
+
  |{{#if:{{{authorlink|}}}  |authorlink  |HIDE_PARAMETER14}}={{{authorlink|}}}
  |{{#if:{{{author-link|}}}  |author-link  |HIDE_PARAMETER14}}={{{author-link|}}}
+
  |{{#if:{{{author-link|}}}  |author-link  |HIDE_PARAMETER15}}={{{author-link|}}}
  |{{#if:{{{author1-link|}}} |author1-link |HIDE_PARAMETER15}}={{{author1-link|}}}
+
  |{{#if:{{{author1-link|}}} |author1-link |HIDE_PARAMETER16}}={{{author1-link|}}}
  |{{#if:{{{authorlink1|}}}  |authorlink1  |HIDE_PARAMETER16}}={{{authorlink1|}}}
+
  |{{#if:{{{authorlink1|}}}  |authorlink1  |HIDE_PARAMETER17}}={{{authorlink1|}}}
 
   
 
   
  |{{#if:{{{last2|}}}    |last2    |HIDE_PARAMETER17}}={{{last2|}}}
+
  |{{#if:{{{last2|}}}    |last2    |HIDE_PARAMETER18}}={{{last2|}}}
  |{{#if:{{{author2|}}}  |author2  |HIDE_PARAMETER18}}={{{author2|}}}
+
  |{{#if:{{{author2|}}}  |author2  |HIDE_PARAMETER19}}={{{author2|}}}
  |{{#if:{{{first2|}}}  |first2    |HIDE_PARAMETER19}}={{{first2|}}}
+
  |{{#if:{{{first2|}}}  |first2    |HIDE_PARAMETER20}}={{{first2|}}}
  
  |{{#if:{{{authorlink2|}}}  |authorlink2  |HIDE_PARAMETER20}}={{{authorlink2|}}}
+
  |{{#if:{{{authorlink2|}}}  |authorlink2  |HIDE_PARAMETER21}}={{{authorlink2|}}}
  |{{#if:{{{author2-link|}}} |author2-link |HIDE_PARAMETER21}}={{{author2-link|}}}
+
  |{{#if:{{{author2-link|}}} |author2-link |HIDE_PARAMETER22}}={{{author2-link|}}}
  
 
<!-- Additional optional parameters that can be set but are not set automatically -->
 
<!-- Additional optional parameters that can be set but are not set automatically -->
  |{{#if:{{{volume|}}} |volume |HIDE_PARAMETER22}}={{{volume|}}}
+
  |{{#if:{{{volume|}}} |volume |HIDE_PARAMETER23}}={{{volume|}}}
  |{{#if:{{{page|}}}  |page  |HIDE_PARAMETER23}}={{{page|}}}
+
  |{{#if:{{{page|}}}  |page  |HIDE_PARAMETER24}}={{{page|}}}
  |{{#if:{{{pages|}}}  |pages  |HIDE_PARAMETER34}}={{{pages|}}}
+
  |{{#if:{{{pages|}}}  |pages  |HIDE_PARAMETER25}}={{{pages|}}}
  |{{#if:{{{ref|}}}    |ref    |HIDE_PARAMETER25}}={{{ref|}}}
+
  |{{#if:{{{ref|}}}    |ref    |HIDE_PARAMETER26}}={{{ref|}}}
  |{{#if:{{{mode|}}}  |mode    |HIDE_PARAMETER26}}={{{mode|}}}
+
  |{{#if:{{{mode|}}}  |mode    |HIDE_PARAMETER27}}={{{mode|}}}
  |{{#if:{{{1|}}}  |1    |HIDE_PARAMETER27}}={{{1|}}}
+
  |{{#if:{{{1|}}}  |1    |HIDE_PARAMETER28}}={{{1|}}}
 
}}<includeonly><!--
 
}}<includeonly><!--
 
-->{{#ifeq: {{NAMESPACEE}} |<!-- is not set -->
 
-->{{#ifeq: {{NAMESPACEE}} |<!-- is not set -->

Revision as of 21:33, 17 January 2016

12px Grove, George, ed. (1900). "article name needed". A Dictionary of Music and Musicians. London: Macmillan and Company.

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

Purpose

This template facilitates the citation of articles from A Dictionary of Music and Musicians (1900) and acts as a wrapper filling in fields that do not usually change and calls {{Cite encyclopedia}}.

Usage

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

or with a specification of additional options:

{{Cite 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 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

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

displays as:

12px Grove, George, ed. (1900). "Ayton, Fanny" . A Dictionary of Music and Musicians. London: Macmillan and Company.

With comment

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

displays as:

12px Grove, 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

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

displays as:

12px Chitty, 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:

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

displays as:

12px Grove, 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:

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

displays as:

12px Grove, George, ed. (1900). "Fanny Ayton" . A Dictionary of Music and Musicians. London: Macmillan and Company.

Using noicon

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

displays as:

Grove, George, ed. (1900). "Ayton, Fanny" . A Dictionary of Music and Musicians. London: Macmillan and Company.

Using title (no Wikisource link)

{{Cite Grove1900 |title=Ayton, Fanny}}

displays as:

12px Grove, 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:

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

displays as:

12px Grove, 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:

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

displays as:

12px "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.