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

From blackwiki
Jump to navigation Jump to search
imported>Bob Burkhardt
(document portion of template I implemented: extracted from Cite NIE/doc with obvious changes)
 
imported>Vanisaac
m (→‎Using <code>vb</code>: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 38: Line 38:
 
*{{{{BASEPAGENAME}}|wstitle=Merbecke, John|vb=x|inline=x}}
 
*{{{{BASEPAGENAME}}|wstitle=Merbecke, John|vb=x|inline=x}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
{{DEFAULTSORT:Dictionary of Music and Musicians Cite}}
 
{{DEFAULTSORT:Dictionary of Music and Musicians Cite}}
Line 44: Line 44:
 
[[Category:Encyclopedia source templates]]
 
[[Category:Encyclopedia source templates]]
 
[[Category:Wikisource link templates]]
 
[[Category:Wikisource link templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 05:18, 24 April 2020

Purpose

This template enables the citation of articles from George Grove's A Dictionary of Music and Musicians in the manner of {{cite encyclopedia}}. It provides for links to the Wikisource project A Dictionary of Music and Musicians.

Usage

{{Cite DMM|title=DMM article name}}
Parameters to alter the prescript and icon
  • noicon=1: turns off the icon
  • noprescript=1: turns off the prescript
  • inline=1: replaces "This article" with "One or more of the preceding sentences" (if set then place the template into an inline citation)
Pre-set parameters
Other parameters that can be set but are not set by default
  • wstitle=DMM article name: same as functionality as title= but it links to a copy of an DMM article on Wikisource
  • display=Alternative name: the alternative name will be displayed instead of the DMM article name (it will only display if wstitle= is set)
  • url=URL: this parameter will only be set if the title= parameter is set

All above parameters above can be over ridden by passing in different values for the parameters.

If the title= or wstitle= is not set then this template adds the following text (in red) article name needed.

Using wstitle

{{Cite DMM|wstitle=Merbecke, John}}
 "Merbecke, John" . A Dictionary of Music and Musicians. 1900.

Using vb

If text is incorporated verbatim into an article, the vb parameter can be used to tack on a notice appropriate to the policy in Wikipedia:Plagiarism.

  • {{Cite DMM|wstitle=Merbecke, John|vb=x}}

displays as:

adding inline for use inside an inline citation

  • {{Cite DMM|wstitle=Merbecke, John|vb=x|inline=x}}

displays as: