வார்ப்புரு:Cite DGRBM
&lt;!--
 sort out the icon to use
 --&gt;{{#if: {{{noicon|}}}|&lt;!--then do nothing--&gt;
           |&lt;!--else--&gt;{{#if: {{{wstitle|}}}
              |&lt;!--then--&gt;[[File:Wikisource-logo.svg|12px|alt=]]&amp;nbsp;
              |&lt;!--else--&gt;[[File:PD-icon.svg|12px|alt=]]&amp;nbsp;
           }}&lt;!--no white space
 --&gt;}}&lt;!--no white space
 --&gt;{{cite encyclopedia
 
  &lt;!--fill out some parameters with default values--&gt;
  | encyclopedia={{{encyclopedia|Dictionary of Greek and Roman Biography and Mythology}}}
  | editor-link = {{{editor-link|William Smith (lexicographer)}}}
  | editor-last = {{{editor-last|Smith}}}
  | editor-first = {{{editor-first|William}}}
 
  | title= {{#if: {{{wstitle|}}}|&lt;!--then--&gt;[[s:Dictionary of Greek and Roman Biography and Mythology/{{{wstitle|}}}|{{{wstitle|}}}]]
      |&lt;!-- else --&gt;
        {{#if: {{{title|}}}|&lt;!--then--&gt;{{{title|}}}
          |{{#if: {{{article|}}}|&lt;!--then--&gt;{{{article|}}}
          |&lt;!--else--&gt;&lt;sup&gt;[[s:Dictionary of Greek and Roman Biography and Mythology|&lt;span style=&quot;color:red&quot;&gt;article name needed&lt;/span&gt;]]&lt;/sup&gt;
          }}&lt;!--end article--&gt;
        }}&lt;!--end title--&gt;
      }}&lt;!--end of check wstitle--&gt;
 
  &lt;!--ignore url= if wstitle is set, otherwise set url if it has a value--&gt;
    |{{#if: {{{wstitle|}}} |HIDE_PARAMETER1 |{{#if:{{{url|}}} |url  |HIDE_PARAMETER1}}}}={{{url|}}} 
 
  |year={{#if:{{{year|}}} |{{{year|}}}| {{#switch:{{{volume}}}
                                         | 1 | I  = 1870
                                         | 2 | II = 1870
                                         | 3 | III = 1870
                                         |&lt;!-- default if no volume specified --&gt; 1870
                                       }}
         }}
 
  |{{#if:{{{author|}}}   |author   |HIDE_PARAMETER2}}= {{#switch: {{{author}}}
                         | 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 &lt;!-- Unsigned articles in the Dictionary --&gt;
                         | APS = Arthur Penryhn Stanley
                         | AS = Adolph Stahr
                         | LU = Ludwig Urlichs
                         | RW = Robert Whiston
                         | {{{author|}}}
                         }}
  &lt;!--
   Below this point put in any other parameters that
   ought to  be passed into &quot;cite encyclopedia&quot;
  --&gt;
 
  |{{#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|}}}
 
 }}&lt;includeonly&gt;&lt;!--
 --&gt;&lt;/includeonly&gt;&lt;noinclude&gt;
 {{Documentation}}