வார்ப்புரு:Cite DGRA
&lt;!--
  optional icon - included by default
 --&gt;{{#if:{{{noicon|}}}||[[File:{{#if:{{{wstitle|}}}|wikisource-logo.svg|PD-icon.svg}}|12px|link=]]&amp;nbsp;}}&lt;!--
  optional verbatim message - not included by default
 --&gt;{{#if:{{{vb|}}}|{{#if: {{{inline|}}}|One or more of the preceding sentences|This article}} incorporates text from a publication now in the [[public domain]]:&amp;nbsp;|}}&lt;!--
 --&gt;{{cite encyclopedia
 
  &lt;!--allow up to two authors to be set--&gt;
  |{{#if:{{{last|}}}     |last     |HIDE_PARAMETER1}}={{{last|}}}
  |{{#if:{{{last1|}}}    |last1    |HIDE_PARAMETER2}}={{{last1|}}}
  |{{#if:{{{author|}}}   |author   |HIDE_PARAMETER3}}={{{author|}}}
  |{{#if:{{{author1|}}}  |author1  |HIDE_PARAMETER4}}={{{author1|}}}
  |{{#if:{{{authors|}}}  |authors  |HIDE_PARAMETER5}}={{{authors|}}}
 
  |{{#if:{{{first|}}}    |first    |HIDE_PARAMETER6}}={{{first|}}}
  |{{#if:{{{first1|}}}   |first1   |HIDE_PARAMETER7}}={{{first1|}}}
 
  |{{#if:{{{authorlink|}}}   |authorlink   |HIDE_PARAMETER8}}={{{authorlink|}}}
  |{{#if:{{{author-link|}}}  |author-link  |HIDE_PARAMETER9}}={{{author-link|}}}
  |{{#if:{{{author1-link|}}} |author1-link |HIDE_PARAMETER10}}={{{author1-link|}}}
  |{{#if:{{{authorlink1|}}}  |authorlink1  |HIDE_PARAMETER11}}={{{authorlink1|}}}
  
  |{{#if:{{{last2|}}}    |last2     |HIDE_PARAMETER12}}={{{last2|}}}
  |{{#if:{{{author2|}}}  |author2   |HIDE_PARAMETER13}}={{{author2|}}}
  |{{#if:{{{first2|}}}   |first2    |HIDE_PARAMETER14}}={{{first2|}}}
 
  |{{#if:{{{authorlink2|}}}  |authorlink2  |HIDE_PARAMETER15}}={{{authorlink2|}}}
  |{{#if:{{{author2-link|}}} |author2-link |HIDE_PARAMETER16}}={{{author2-link|}}}
 
  &lt;!-- set defaults for some parameters--&gt;
  |year={{{year|{{#if:{{{wstitle|}}}|1890|1870}}&lt;!-- --&gt;}}} &lt;!--Wikisource edition is 1890--&gt;
  |encyclopedia={{{encyclopedia|[[Dictionary of Greek and Roman Antiquities]]}}}
  |{{#if:{{{wstitle|}}} |edition  |HIDE_PARAMETER17}}={{#if:{{{wstitle|}}}|{{{edition|3rd}}} }}
 
  &lt;!--set defaults but do not display defaults if the short parameter is set --&gt;
  | editor-first = {{{editor-first|{{#if: {{{short|}}}|&lt;!-- eq to empty --&gt;|William}} }}}
  | editor-last = {{{editor-last|{{#if: {{{short|}}}|&lt;!-- eq to empty --&gt;|Smith}} }}}
  | editorlink = {{{editorlink|{{#if: {{{short|}}}|&lt;!-- eq to empty --&gt;|William Smith (lexicographer)}} }}}
  | location = {{{location|{{#if: {{{short|}}}|&lt;!-- eq to empty --&gt;|London}} }}}
  | publisher = {{{publisher|{{#if: {{{short|}}}|&lt;!-- eq to empty --&gt;|John Murray}} }}}
 
  &lt;!-- title and if set url --&gt;
  | title= {{#if: {{{wstitle|}}}|&lt;!--then--&gt;[[s:A Dictionary of Greek and Roman Antiquities/{{{wstitle|}}}|{{{wstitle|}}}]]
      |&lt;!-- else --&gt;
        {{#if: {{{title|}}}|&lt;!--then--&gt;{{{title|}}}
          |{{#if: {{{article|}}}|&lt;!--then--&gt;{{{article|}}}
          |&lt;!--else--&gt;&lt;sup&gt;[[s:A Dictionary of Greek and Roman Antiquities|&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;
  |{{#if:{{{title|{{{article|}}} }}} |url  |HIDE_PARAMETER18}}={{#if:{{{title|{{{article|}}} }}} |{{{url|}}} }}
 
  &lt;!-- if required allow some other parameters to be set--&gt;
  |{{#if:{{{volume|}}} |volume  |HIDE_PARAMETER19}}={{{volume|}}} 
  |{{#if:{{{page|}}}   |page    |HIDE_PARAMETER20}}={{{page|}}} 
  |{{#if:{{{pages|}}}  |pages   |HIDE_PARAMETER21}}={{{pages|}}}
  |{{#if:{{{ref|}}}    |ref     |HIDE_PARAMETER22}}={{{ref|}}}
 }}&lt;includeonly&gt;{{#ifeq: {{NAMESPACEE}} |&lt;!--is set--&gt;
      |&lt;!--Sort out the parameters--&gt;
        {{#if:{{{notaref|}}}|&lt;!--do nothing--&gt;
        |&lt;!-- else--&gt;{{#if:{{{vb|}}}|[[Category:Wikipedia articles incorporating text from the Dictionary of Greek and Roman Antiquities]]
                    |&lt;!-- else--&gt;[[Category:Wikipedia articles incorporating a citation from the Dictionary of Greek and Roman Antiquities]]
                    }}
       }}&lt;!--end notaref --&gt;
 }}&lt;/includeonly&gt;&lt;noinclude&gt;
 {{template doc}}