Template talk:DGRA
Bug in this template
:
The above expands as follows:
: This article incorporates text by George Long from the article "Praetor" in the public domain Dictionary of Greek and Roman Antiquities by William Smith (1875), p. 956-957.
:
This says "p." instead of "pp.", as if there were just one page. It also has a hyphen where an en-dash belongs. I tried to correct it by changing "page" to "pages" and the hyphen to an en-dash:
:
:
No page numbers!
:
If I correct only the dash, it works:
:
{{SmithDGRA|author=George Long|article=Praetor|page=956–957|year=1875}}
:
Obviously "pages" needs to get fixed. Michael Hardy (talk) 11:31, 13 June 2011 (UTC)
::This template currently does not have a "pages" parameter. I may try to add one if I have the time. Paul August ☎ 12:56, 30 August 2011 (UTC)
:::I have now added a "pages" parameter, so that:
::::
:::now expands as:
::::{{SmithDGRA|author=George Long|article=Praetor|pages=956–957|year=1875}}
:::Paul August ☎ 18:31, 30 August 2011 (UTC)
Optional parameter "article"
The documentation states that the parameter "article" is optional and the template is used without any parameters in some articles, but it currently ends up calling {{tl|cite encyclopedia}} erroneously without its required "title" parameter in that case instead of rendering it as a citation of the whole publication. – MwGamera (talk) 00:42, 18 April 2023 (UTC)