Difference between revisions of "Template:Cite DGRBM"

From blackwiki
Jump to navigation Jump to search
imported>Lasunncty
(doubled name)
imported>Trappist the monk
 
Line 1: Line 1:
<!--
+
{{#if: {{{noicon|}}}||{{#if: {{{wstitle|}}}||[[File:PD-icon.svg|12px|alt=]]&nbsp;}}}}<!--no white space
sort out the icon to use
+
-->{{#invoke:template wrapper|{{#if:{{{_debug|}}}|list|wrap}}|_template=cite encyclopedia
-->{{#if: {{{noicon|}}}|<!--then do nothing-->
+
  |_exclude=no-icon, noicon, short, wstitle, _debug
          |<!--else-->{{#if: {{{wstitle|}}}
+
  |_reuse=article, author, title <!-- these are reused -->
            |<!--then-->[[File:Wikisource-logo.svg|12px|alt=]]&nbsp;
 
            |<!--else-->[[File:PD-icon.svg|12px|alt=]]&nbsp;
 
          }}<!--no white space
 
-->}}<!--no white space
 
-->{{cite encyclopedia
 
  
 
  <!--fill out some parameters with default values-->
 
  <!--fill out some parameters with default values-->
  | encyclopedia={{{encyclopedia|[[Dictionary of Greek and Roman Biography and Mythology]]}}}
+
  | encyclopedia=[[Dictionary of Greek and Roman Biography and Mythology]]
  | editor-link = {{{editor-link|{{#if:{{{short|}}}| |William Smith (lexicographer)}}}}}
+
  | editor-link={{#if:{{{short|}}}||William Smith (lexicographer)}}
  | editor-last = {{{editor-last|{{#if:{{{short|}}}| |Smith}}}}}
+
  | editor-last={{#if:{{{short|}}}||Smith}}
  | editor-first = {{{editor-first|{{#if:{{{short|}}}| |William}}}}}
+
  | editor-first={{#if:{{{short|}}}||William}}
  
  | title= {{#if: {{{wstitle|}}}|<!--then-->[[s:Dictionary of Greek and Roman Biography and Mythology/{{{wstitle|}}}|{{{wstitle|}}}]]
+
  |title={{#if:{{{wstitle|}}}|{{cite wikisource/make link
    |<!-- else -->
+
            |link=Dictionary of Greek and Roman Biography and Mythology/{{{wstitle|}}}
      {{#if: {{{title|}}}|<!--then-->{{{title|}}}
+
            |label={{{display|{{{wstitle|}}}}}}
        |{{#if: {{{article|}}}|<!--then-->{{{article|}}}
+
            |noicon={{{no-icon|{{{noicon|}}}}}}
        |<!--else--><sup>[[s:Dictionary of Greek and Roman Biography and Mythology|<span style="color:red">article name needed</span>]]</sup>
+
        }}|{{#if:{{{title|}}}|{{{title}}}|{{#if:{{{article|}}}|{{{article}}}}}}}}}
        }}<!--end article-->
 
      }}<!--end title-->
 
    }}<!--end of check wstitle-->
 
  
 
  <!--ignore url= if wstitle is set, otherwise set url if it has a value-->
 
  <!--ignore url= if wstitle is set, otherwise set url if it has a value-->
  |{{#if: {{{wstitle|}}} |HIDE_PARAMETER1 |{{#if:{{{url|}}} |url  |HIDE_PARAMETER1}}}}={{{url|}}}  
+
|url={{#if:{{{wstitle|}}}||{{{url|}}}}}
  
  |year={{#if:{{{year|}}} |{{{year|}}}| {{#switch:{{{volume}}}
+
  |year={{#switch:{{{volume}}}
                                        | 1 | I  = 1870
+
        | 1 | I  = 1870
                                        | 2 | II = 1870
+
        | 2 | II = 1870
                                        | 3 | III = 1870
+
        | 3 | III = 1870
                                        |<!-- default if no volume specified --> 1870
+
        |<!-- default if no volume specified --> 1870
                                      }}
+
      }}
        }}
+
<!--
 +
If the author parameter is set and set to the initials used in the volumes,
 +
use the author parameter to fill the parameters: last, first and authorlink.
  
<!--
+
If set to something else then set author to that value.
If the author parameter is set and set to the initials used in the volumes then use the author parameter to fill the parameters: last, first and authorlink. If set to something else then set author to that value
 
 
-->
 
-->
|{{#if:{{{author|}}}    |last   |HIDE_PARAMETER2a}}= {{#switch: {{{author}}}
+
|last={{#switch: {{{author}}}
                        | AA = Allen
+
        | AA = Allen
                        | CTA = Arnold
+
        | CTA = Arnold
                        | JEB = Bode
+
        | JEB = Bode
                        | ChAB = Brandis
+
        | ChAB = Brandis
                        | EHB = Bunbury
+
        | EHB = Bunbury
                        | AJC = Christie
+
        | AJC = Christie
                        | AHC = Clough
+
        | AHC = Clough
                        | GELC = Cotton
+
        | GELC = Cotton
                        | SD = Davidson
+
        | SD = Davidson
                        | WFD = Donkin
+
        | WFD = Donkin
                        | WBD = Donne
+
        | WBD = Donne
                        | TD = Dyer
+
        | TD = Dyer
                        | EE = Elder
+
        | EE = Elder
                        | JTG = Graves
+
        | JTG = Graves
                        | WAG = Greenhill
+
        | WAG = Greenhill
                        | AG = Grenfell
+
        | AG = Grenfell
                        | WMG = Gunn
+
        | WMG = Gunn
                        | WI = Ihne
+
        | WI = Ihne
                        | BJ = Jowett
+
        | BJ = Jowett
                        | HGL = Liddell
+
        | HGL = Liddell
                        | GL = Long
+
        | GL = Long
                        | JMM = Mackenzie
+
        | JMM = Mackenzie
                        | CPM = Mason
+
        | CPM = Mason
                        | JCM = Means
+
        | JCM = Means
                        | HHM = Milman
+
        | HHM = Milman
                        | AdeM = Morgan
+
        | AdeM = Morgan
                        | WP = Plate
+
        | WP = Plate
                        | CEP = Prichard
+
        | CEP = Prichard
                        | WR = Ramsay
+
        | WR = Ramsay
                        | LS = Schmitz
+
        | LS = Schmitz
                        | PS = Smith
+
        | PS = Smith
                        | WS = Smith
+
        | WS = Smith
                        | APS = Stanley
+
        | APS = Stanley
                        | AS = Stahr
+
        | AS = Stahr
                        | LU = Urlichs
+
        | LU = Urlichs
                        | RW = Whiston
+
        | RW = Whiston
                        |
+
        |
                        }}
+
        }}
  
|{{#if:{{{author|}}}    |first |HIDE_PARAMETER2b}}= {{#switch: {{{author}}}
+
|first={{#switch: {{{author}}}
                        | AA = Alexander
+
        | AA = Alexander
                        | CTA = Charles Thomas
+
        | CTA = Charles Thomas
                        | JEB = John Ernest
+
        | JEB = John Ernest
                        | ChAB = Christian A.
+
        | ChAB = Christian A.
                        | EHB = Edward Herbert
+
        | EHB = Edward Herbert
                        | AJC = Albany James
+
        | AJC = Albany James
                        | AHC = Arthur Hugh
+
        | AHC = Arthur Hugh
                        | GELC = George Edward Lynch
+
        | GELC = George Edward Lynch
                        | SD = Samuel
+
        | SD = Samuel
                        | WFD = William Fishburn
+
        | WFD = William Fishburn
                        | WBD = William Bodham
+
        | WBD = William Bodham
                        | TD = Thomas
+
        | TD = Thomas
                        | EE = Edward
+
        | EE = Edward
                        | JTG = John Thomas  
+
        | JTG = John Thomas  
                        | WAG = William Alexander  
+
        | WAG = William Alexander  
                        | AG = Algernon  
+
        | AG = Algernon  
                        | WMG = William Maxwell
+
        | WMG = William Maxwell
                        | WI = William  
+
        | WI = William  
                        | BJ = Benjamin  
+
        | BJ = Benjamin  
                        | HGL = Henry George  
+
        | HGL = Henry George  
                        | GL = George  
+
        | GL = George  
                        | JMM = John Morell
+
        | JMM = John Morell
                        | CPM = Charles Peter  
+
        | CPM = Charles Peter  
                        | JCM = Joseph Calrow  
+
        | JCM = Joseph Calrow  
                        | HHM = Henry Hart
+
        | HHM = Henry Hart
                        | AdeM = Augustus de  
+
        | AdeM = Augustus de  
                        | WP = William  
+
        | WP = William  
                        | CEP = Constantine Estlin  
+
        | CEP = Constantine Estlin  
                        | WR = William  
+
        | WR = William  
                        | LS = Leonhard  
+
        | LS = Leonhard  
                        | PS = Philip  
+
        | PS = Philip  
                        | WS = William <!-- Unsigned articles in the Dictionary -->
+
        | WS = William <!-- Unsigned articles in the Dictionary -->
                        | APS = Arthur Penryhn
+
        | APS = Arthur Penryhn
                        | AS = Adolph  
+
        | AS = Adolph  
                        | LU = Ludwig  
+
        | LU = Ludwig  
                        | RW = Robert  
+
        | RW = Robert  
                        |
+
        |
                        }}
+
        }}
  
|{{#if:{{{author|}}}    |authorlink  |HIDE_PARAMETER2c}}= {{#switch: {{{author}}}
+
|author-link={{#switch: {{{author}}}
                        | AA = Alexander Allen (writer)
+
        | AA = Alexander Allen (writer)
                        | CTA = Charles Thomas Arnold
+
        | CTA = Charles Thomas Arnold
                        | JEB = John Ernest Bode
+
        | JEB = John Ernest Bode
                        | ChAB = Christian A. Brandis
+
        | ChAB = Christian A. Brandis
                        | EHB = Edward Herbert Bunbury
+
        | EHB = Edward Herbert Bunbury
                        | AJC = Albany James Christie
+
        | AJC = Albany James Christie
                        | AHC = Arthur Hugh Clough
+
        | AHC = Arthur Hugh Clough
                        | GELC = George Edward Lynch Cotton
+
        | GELC = George Edward Lynch Cotton
                        | SD = Samuel Davidson
+
        | SD = Samuel Davidson
                        | WFD = William Fishburn Donkin
+
        | WFD = William Fishburn Donkin
                        | WBD = William Bodham Donne
+
        | WBD = William Bodham Donne
                        | TD = Thomas Dyer
+
        | TD = Thomas Dyer
                        | EE = Edward Elder (headmaster)
+
        | EE = Edward Elder (headmaster)
                        | JTG = John Thomas Graves
+
        | JTG = John Thomas Graves
                        | WAG = William Alexander Greenhill
+
        | WAG = William Alexander Greenhill
                        | AG = Algernon Grenfell
+
        | AG = Algernon Grenfell
                        | WMG = William Maxwell Gunn
+
        | WMG = William Maxwell Gunn
                        | WI = William Ihne
+
        | WI = William Ihne
                        | BJ = Benjamin Jowett
+
        | BJ = Benjamin Jowett
                        | HGL = Henry George Liddell
+
        | HGL = Henry George Liddell
                        | GL = George Long (scholar)
+
        | GL = George Long (scholar)
                        | JMM = John Morell Mackenzie
+
        | JMM = John Morell Mackenzie
                        | CPM = Charles Peter Mason
+
        | CPM = Charles Peter Mason
                        | JCM = Joseph Calrow Means
+
        | JCM = Joseph Calrow Means
                        | HHM = Henry Hart Milman
+
        | HHM = Henry Hart Milman
                        | AdeM = Augustus de Morgan
+
        | AdeM = Augustus de Morgan
                        | WP = William Plate
+
        | WP = William Plate
                        | CEP = Constantine Estlin Prichard
+
        | CEP = Constantine Estlin Prichard
                        | WR = William Ramsay (classical scholar)
+
        | WR = William Ramsay (classical scholar)
                        | LS = Leonhard Schmitz
+
        | LS = Leonhard Schmitz
                        | PS = Philip Smith (classicist)
+
        | PS = Philip Smith (classicist)
                        | WS = William Smith (lexicographer)<!-- Unsigned articles in the Dictionary -->
+
        | WS = William Smith (lexicographer)<!-- Unsigned articles in the Dictionary -->
                        | APS = Arthur Penryhn Stanley
+
        | APS = Arthur Penryhn Stanley
                        | AS = Adolph Stahr
+
        | AS = Adolph Stahr
                        | LU = Ludwig Urlichs
+
        | LU = Ludwig Urlichs
                        | RW = Robert Whiston
+
        | RW = Robert Whiston
                        |
+
         |
                        }}
+
         }}
 
 
|{{#if:{{{author|}}}  |author  |HIDE_PARAMETER2}}= {{#switch: {{{author}}}
 
                        | AA
 
                        | CTA
 
                        | JEB
 
                        | ChAB
 
                        | EHB
 
                        | AJC
 
                        | AHC
 
                        | GELC
 
                        | SD =
 
                        | WFD =
 
                        | WBD =
 
                        | TD =
 
                        | EE =
 
                        | JTG =
 
                        | WAG =
 
                        | AG =
 
                        | WMG =
 
                        | WI =
 
                        | BJ =
 
                        | HGL =
 
                        | GL =
 
                        | JMM =
 
                        | CPM =
 
                        | JCM =
 
                        | HHM =
 
                        | AdeM =
 
                        | WP =
 
                        | CEP =
 
                        | WR =
 
                        | LS =
 
                        | PS =
 
                        | WS =
 
                        | APS =
 
                        | AS =
 
                        | LU =
 
                        | RW =
 
                        | {{{author|}}}
 
                        }}
 
<!--
 
  Below this point put in any other parameters that
 
  ought to  be passed into "cite encyclopedia"
 
-->
 
 
 
|{{#if:{{{last|}}}    |last    |HIDE_PARAMETER3}}={{{last|}}}
 
|{{#if:{{{last1|}}}    |last1    |HIDE_PARAMETER4}}={{{last1|}}}
 
 
 
|{{#if:{{{author1|}}}  |author1  |HIDE_PARAMETER5}}={{{author1|}}}
 
|{{#if:{{{authors|}}}  |authors  |HIDE_PARAMETER6}}={{{authors|}}}
 
 
 
|{{#if:{{{first|}}}    |first    |HIDE_PARAMETER7}}={{{first|}}}
 
|{{#if:{{{first1|}}}  |first1  |HIDE_PARAMETER8}}={{{first1|}}}
 
 
 
|{{#if:{{{authorlink|}}}  |authorlink  |HIDE_PARAMETER9}}={{{authorlink|}}}
 
|{{#if:{{{author-link|}}}  |author-link  |HIDE_PARAMETER10}}={{{author-link|}}}
 
|{{#if:{{{author1-link|}}} |author1-link |HIDE_PARAMETER11}}={{{author1-link|}}}
 
|{{#if:{{{authorlink1|}}}  |authorlink1  |HIDE_PARAMETER12}}={{{authorlink1|}}}
 
 
|{{#if:{{{last2|}}}    |last2    |HIDE_PARAMETER13}}={{{last2|}}}
 
|{{#if:{{{author2|}}}  |author2  |HIDE_PARAMETER14}}={{{author2|}}}
 
|{{#if:{{{first2|}}}  |first2    |HIDE_PARAMETER15}}={{{first2|}}}
 
 
 
|{{#if:{{{authorlink2|}}}  |authorlink2  |HIDE_PARAMETER16}}={{{authorlink2|}}}
 
|{{#if:{{{author2-link|}}} |author2-link |HIDE_PARAMETER17}}={{{author2-link|}}}
 
 
 
|{{#if:{{{month|}}}      |month      |HIDE_PARAMETER18}}={{{month|}}}
 
|{{#if:{{{edition|}}}    |edition    |HIDE_PARAMETER19}}={{{edition|}}}
 
|{{#if:{{{accessdate|}}} |accessdate  |HIDE_PARAMETER20}}={{{accessdate|}}}
 
|{{#if:{{{publisher|}}}  |publisher  |HIDE_PARAMETER21}}={{{publisher|}}}
 
|{{#if:{{{archiveurl|}}} |archiveurl  |HIDE_PARAMETER22}}={{{archiveurl|}}}
 
|{{#if:{{{archivedate|}}}|archivedate |HIDE_PARAMETER23}}={{{archivedate|}}}
 
 
 
|{{#if:{{{date|}}}      |date         |HIDE_PARAMETER24}}={{{date|}}}
 
|{{#if:{{{volume|}}}    |volume      |HIDE_PARAMETER25}}={{{volume|}}}
 
|{{#if:{{{page|}}}      |page        |HIDE_PARAMETER26}}={{{page|}}}
 
|{{#if:{{{pages|}}}      |pages        |HIDE_PARAMETER27}}={{{pages|}}}
 
|{{#if:{{{ref|}}}        |ref          |HIDE_PARAMETER28}}={{{ref|}}}
 
|{{#if:{{{mode|}}}      |mode         |HIDE_PARAMETER29}}={{{mode|}}}
 
  
 +
|author={{#switch: {{{author}}}
 +
        | AA
 +
        | CTA
 +
        | JEB
 +
        | ChAB
 +
        | EHB
 +
        | AJC
 +
        | AHC
 +
        | GELC
 +
        | SD =
 +
        | WFD =
 +
        | WBD =
 +
        | TD =
 +
        | EE =
 +
        | JTG =
 +
        | WAG =
 +
        | AG =
 +
        | WMG =
 +
        | WI =
 +
        | BJ =
 +
        | HGL =
 +
        | GL =
 +
        | JMM =
 +
        | CPM =
 +
        | JCM =
 +
        | HHM =
 +
        | AdeM =
 +
        | WP =
 +
        | CEP =
 +
        | WR =
 +
        | LS =
 +
        | PS =
 +
        | WS =
 +
        | APS =
 +
        | AS =
 +
        | LU =
 +
        | RW =
 +
        | {{{author|}}}
 +
        }}
 
}}<includeonly><!--
 
}}<includeonly><!--
 
-->{{#ifeq: {{NAMESPACEE}} |<!--is not set-->
 
-->{{#ifeq: {{NAMESPACEE}} |<!--is not set-->

Latest revision as of 16:48, 12 October 2020

 Smith, William, ed. (1870). Dictionary of Greek and Roman Biography and Mythology. Missing or empty |title= (help)

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

Usage

{{Cite DGRBM|author=|title=|volume=|page=|url=|short=}}

This template should be placed on the main page of the article.

There are six optional parameters:

  • author= refers to the author of the respective entry.
    • In place of author= the parameters first= and last= can be used.
    • The author abbreviation (without periods and spaces) can be used. E.g., "AA" will yield "Alexander Allen". Unsigned articles in the Dictionary are by William Smith (WS) himself.
List of authors

AA = Alexander Allen; CTA = Charles Thomas Arnold; JEB = John Ernest Bode; ChAB = Christian A. Brandis; EHB = Edward Herbert Bunbury; AJC = Albany James Christie; AHC = Arthur Hugh Clough; GELC = George Edward Lynch Cotton; SD = Samuel Davidson; WFD = William Fishburn Donkin; WBD = William Bodham Donne; TD = Thomas Dyer; EE = Edward Elder; JTG = John Thomas Graves; WAG = William Alexander Greenhill; AG = Algernon Grenfell; WMG = William Maxwell Gunn; WI = William Ihne; BJ = Benjamin Jowett; HGL = Henry George Liddell; GL = George Long; JMM = John Morell Mackenzie; CPM = Charles Peter Mason; JCM = Joseph Calrow Means; HHM = Henry Hart Milman; AdeM = Augustus de Morgan; WP = William Plate; CEP = Constantine Estlin Prichard; WR = William Ramsay; LS = Leonhard Schmitz; PS = Philip Smith; WS = William Smith; APS = Arthur Penryhn Stanley; AS = Adolph Stahr; LU = Ludwig Urlichs; RW = Robert Whiston

  • volume= refers to the number of the volume (1, 2 or 3) in which the respective entry appears.
  • page= refers to the page number on which the respective entry appears. This parameter should be used concurrently with "volume".
  • title= refers to the name of the entry in the dictionary.
    • if the article is present on wikisource then use wstitle= in place of title=
  • url= can be used to link the title to an external source ("DGRBM: External links" contains urls to external on-line sources). Do not use this option if wstitle is used as the template automatically includes links to an article on Wikisource.
  • short=x — removes certain fields from the display to shorten the citation when placed in "Further reading" or "external links" sections.

Hidden categories

This template places articles into a hidden category with three sub-categories to aid maintenance:

See also