Difference between revisions of "Template:Grove1900"

From blackwiki
Jump to navigation Jump to search
imported>PBS
m
imported>PBS
(Update the template to look like the others of this type.)
Line 1: Line 1:
''This article incorporates text from {{#if:the {{{wstitle|{{{article|{{{1|}}}}}}}}}| entry '''[[s:A Dictionary of Music and Musicians/{{{wstitle|{{{article|{{{1|}}}}}}}}}|{{{wstitle|{{{article|{{{1|}}}}}}}}}]]''' in }} ''[[A Dictionary of Music and Musicians]]'', edited by [[George Grove]] (1900), a publication now in the [[public domain]].''<includeonly>
+
{{Cite Grove1900
{{#if:{{{wstitle|{{{article|{{{1|}}}}}}}}}
+
    <!-- set by default -->
  |[[Category:Articles incorporating text from A Dictionary of Music and Musicians with Wikisource reference]]
+
    |vb=1
  |[[Category:Articles incorporating text from A Dictionary of Music and Musicians without Wikisource reference]]
+
    |ref={{{ref|harv}}}
}}</includeonly><noinclude>
+
    |{{#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|}}}
 +
 
 +
    <!--pass in other standard parameters-->
 +
    |{{#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 not set, set in Cite Americana -->
 +
    |{{#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
 +
  -->{{#if:{{{wstitle|}}}
 +
      |[[Category:Articles incorporating text from A Dictionary of Music and Musicians with Wikisource reference]]
 +
      |[[Category:Articles incorporating text from A Dictionary of Music and Musicians without Wikisource reference]]<!--
 +
  -->}}<!--
 +
-->}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
[[Category:Wikisource link templates]]
 
[[Category:Wikisource link templates]]
 
[[Category:Encyclopedia source templates]]</noinclude>
 
[[Category:Encyclopedia source templates]]</noinclude>

Revision as of 21:53, 17 January 2016

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. Unknown parameter |HIDE_PARAMETER21= ignored (help); Unknown parameter |HIDE_PARAMETER18= ignored (help); Unknown parameter |HIDE_PARAMETER17= ignored (help); Unknown parameter |HIDE_PARAMETER26= ignored (help); Unknown parameter |HIDE_PARAMETER19= ignored (help); Unknown parameter |HIDE_PARAMETER27= ignored (help); Unknown parameter |HIDE_PARAMETER20= ignored (help); Missing or empty |title= (help)CS1 maint: ref=harv (link)

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. Unknown parameter |HIDE_PARAMETER21= ignored (help); Unknown parameter |HIDE_PARAMETER20= ignored (help); Unknown parameter |HIDE_PARAMETER18= ignored (help); Unknown parameter |HIDE_PARAMETER17= ignored (help); Unknown parameter |HIDE_PARAMETER26= ignored (help); Unknown parameter |HIDE_PARAMETER19= ignored (help); Unknown parameter |HIDE_PARAMETER27= ignored (help)CS1 maint: ref=harv (link)

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. Unknown parameter |HIDE_PARAMETER21= ignored (help); Unknown parameter |HIDE_PARAMETER20= ignored (help); Unknown parameter |HIDE_PARAMETER18= ignored (help); Unknown parameter |HIDE_PARAMETER17= ignored (help); Unknown parameter |HIDE_PARAMETER26= ignored (help); Unknown parameter |HIDE_PARAMETER19= ignored (help); Unknown parameter |HIDE_PARAMETER27= ignored (help)CS1 maint: ref=harv (link) 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. Unknown parameter |HIDE_PARAMETER21= ignored (help); Unknown parameter |HIDE_PARAMETER18= ignored (help); Unknown parameter |HIDE_PARAMETER17= ignored (help); Unknown parameter |HIDE_PARAMETER20= ignored (help); Unknown parameter |HIDE_PARAMETER26= ignored (help); Unknown parameter |HIDE_PARAMETER19= ignored (help); Unknown parameter |HIDE_PARAMETER27= ignored (help)CS1 maint: ref=harv (link)

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. Unknown parameter |HIDE_PARAMETER21= ignored (help); Unknown parameter |HIDE_PARAMETER20= ignored (help); Unknown parameter |HIDE_PARAMETER26= ignored (help); Unknown parameter |HIDE_PARAMETER27= ignored (help)CS1 maint: ref=harv (link)

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). "Ayton, Fanny" . A Dictionary of Music and Musicians. London: Macmillan and Company. Unknown parameter |HIDE_PARAMETER21= ignored (help); Unknown parameter |HIDE_PARAMETER20= ignored (help); Unknown parameter |HIDE_PARAMETER18= ignored (help); Unknown parameter |HIDE_PARAMETER17= ignored (help); Unknown parameter |HIDE_PARAMETER26= ignored (help); Unknown parameter |HIDE_PARAMETER19= ignored (help); Unknown parameter |HIDE_PARAMETER27= ignored (help)CS1 maint: ref=harv (link)

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. Unknown parameter |HIDE_PARAMETER21= ignored (help); Unknown parameter |HIDE_PARAMETER20= ignored (help); Unknown parameter |HIDE_PARAMETER18= ignored (help); Unknown parameter |HIDE_PARAMETER17= ignored (help); Unknown parameter |HIDE_PARAMETER26= ignored (help); Unknown parameter |HIDE_PARAMETER19= ignored (help); Unknown parameter |HIDE_PARAMETER27= ignored (help)CS1 maint: ref=harv (link)

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. Unknown parameter |HIDE_PARAMETER21= ignored (help); Unknown parameter |HIDE_PARAMETER20= ignored (help); Unknown parameter |HIDE_PARAMETER18= ignored (help); Unknown parameter |HIDE_PARAMETER26= ignored (help); Unknown parameter |HIDE_PARAMETER19= ignored (help); Unknown parameter |HIDE_PARAMETER27= ignored (help)CS1 maint: ref=harv (link)

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. Unknown parameter |HIDE_PARAMETER21= ignored (help); Unknown parameter |HIDE_PARAMETER26= ignored (help); Unknown parameter |HIDE_PARAMETER20= ignored (help)CS1 maint: ref=harv (link).

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. Unknown parameter |HIDE_PARAMETER21= ignored (help); Unknown parameter |HIDE_PARAMETER18= ignored (help); Unknown parameter |HIDE_PARAMETER17= ignored (help); Unknown parameter |HIDE_PARAMETER20= ignored (help); Unknown parameter |HIDE_PARAMETER26= ignored (help); Unknown parameter |HIDE_PARAMETER19= ignored (help); Unknown parameter |HIDE_PARAMETER27= ignored (help)CS1 maint: ref=harv (link)

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.