Template:Cite DGRG/doc
This is a documentation subpage for Template:Cite DGRG. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
changeThis template can be used in place of {{cite encyclopedia}} to indicate that the Dictionary of Greek and Roman Geography is being cited to support information in an article. The advantage is that it will fill in certain fields automatically.
The Dictionary of Greek and Roman Geography (1854–57) is now in the public domain. Text from the DGRG is incorporated into an article then use the template {{DGRG}} to attribution the text in compliance with the Plagiarism guideline.
Quick explanation (aide-mémoire)
changeThe template can be placed in different locations and depending on the what it is required the parameters can be mixed and matched:
Parameters | Example | Note |
---|---|---|
{{Cite DGRG|wstitle=DGRG article name}} | Smith, William, ed. (1854–1857). . Dictionary of Greek and Roman Geography. London: John Murray. | Use wstitle=DGRG article name if the article exists on Wikisource. if not use title=DGRG article name |
{{Cite DGRG|title=|url=|first=|last=|volume=|pages=}} | James, Edward Boucher (1854). "Antilibanus". In Smith, William (ed.). Dictionary of Greek and Roman Geography. Vol. 1. London: John Murray. pp. 140, 141. | some additional information: title instead of wstitle, url to the external page instead of link to wikisource; the first and last names of the author of the article, the volume and page [number]s. Volume also set year. |
Detailed notes
changeThis template is wrapper around {{cite encyclopedia}}. In its default mode it attributes text to an article from the third edition of the Dictionary of Christian Biography and Literature to the End of the Sixth Century.
This template automatically sets some of the parameters passed into {{cite encyclopedia}} for example "publisher = John Murray". Over and above the standard parameter passed into {{cite encyclopedia}} there are some additional parameters and those are listed below in a separate table from the table of parameters passed into {{cite encyclopedia}}.
Minimum is:{{Cite DGRG|title=DGRG article name}} or {{Cite DGRG|wstitle=DGRG article name}}
Full set is:{{Cite DGRG|wstitle= |no-icon |author= |last= |first= |authorlink= |coauthors= |title= |url= |accessdate= |volume= |page= |pages= |ref=}}
Parameter | Note |
---|---|
wstitle=name of the article on wikisource | If set, set link to a DGRG article name on wikisource, and unsets title and url if they are also set. |
no-icon=1 | Suppresses the lead icon (useful with {{Wikisource-inline}}). |
short =x | use this parameter in the "External links" to shorten the text displayed. |
Parameter | Set to | Notes |
---|---|---|
last= | author= or last= | If author= and last= are set the value of last= is used. |
first= | first= | Set to the value of first= or not set |
author-link= | author-link= | Set to the value of author-link= or not set |
displayauthors= | displayauthors= | Unlikely to be needed but can be set |
editor-first= | William | Automatically set within the template |
editor-last= | Smith | Automatically set within the template |
editor-link= | William Smith (lexicographer) | Automatically set within the template |
encyclopedia= | Dictionary of Greek and Roman Geography | Automatically set within the template |
title= | wstitle= or title= | Set to wstitle= if set, if not to title= if set, if not set then left blank. |
url= | url= | Set to the value of url= unless wstitle= is set in which case it is not set. If not set then a red super script warning string "article name needed" is displayed. The red text links to the Wikisource page s:Dictionary of Christian Biography and Literature to the End of the Sixth Century. |
accessdate= | accessdate= | Set to the value of accessdate= or not set |
language= | Not set | |
edition= | Not set | |
date= | Not set (see year) | |
year= | 1854–57 | Automatically set within the template unless a year or a volume (volume=1 sets year=1854, volume=2 sets year=1857) |
month= | Not set | |
publisher= | John Murray | automatically set within the template |
volume= | volume= | Set to the value of volume= or not set |
location= | London | |
id= | Not set | |
isbn= | Not set | |
oclc= | Not set | |
doi= | Not set | |
page= | page= | Set to the value of page= or not set |
pages= | pages= | Set to the value of pages= or not set |
quote= | Not set | |
ref= | ref = | Set to the value of ref= or not set |
Hidden categories
changeDepending on the parameters passed into this template, it adds the following hidden categories to the articles in which it is used:
- Category:Wikipedia articles incorporating a citation from the DGRG with no article parameter
- Category:Wikipedia articles incorporating a citation from the DGRG without Wikisource reference
- Category:Wikipedia articles incorporating a citation from the DGRG with Wikisource reference
For an overview group category of the above see:Category:Wikipedia articles incorporating a citation from the DGRG
See also
change- {{DGRG}}—calls this template, but a prescript for attribution of directly copied text.