Template:DGRG/sandbox
This article incorporates text from a publication now in the public domain: Smith, William, ed. (1854–1857). Dictionary of Greek and Roman Geography. London: John Murray. {{cite encyclopedia}}
: Missing or empty |title=
(help)
This is the template sandbox page for Template:DGRG (diff). See also the companion subpage for test cases. |
Usage
[edit]This template indicates that an article incorporates text from the third edition Dictionary of Greek and Roman Geography, which is now in the public domain.
Quick explanation (aide-mémoire)
[edit]The 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 |
---|---|---|
{{DGRG|wstitle=DGRG article name}} | This article incorporates text from a publication now in the public domain: Smith, William, ed. (1854–1857). "Antilibanus". 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 |
{{DGRG|title=|url=|first=|last=|pages=}} | This article incorporates text from a publication now in the public domain: 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. |
Detailed notes
[edit]This template is wrapper around {{cite DGRG}}. In its default mode it attributes text to an article from the third edition of the Dictionary of Greek and Roman Geography.
This template calls {{cite DGRG}} that automatically sets some of the parameters passed for example "publisher = John Murray". Over and above the standard parameter passed into {{cite DGRG}} 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:{{DGRG|title=DGRG article name}} or {{DGRG|wstitle=DGRG article name}}.
Full set is:{{DGRG |wstitle= |inline=| noicon= |no-prescript= |author= |last= |first= |authorlink= |coauthors= |title= |url= |accessdate= |volume= |page= |pages=}}
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. |
inline=1 | Alters the prescript from "This article incorporates text from ..." to "One or more of the preceding sentences incorporates text ..." |
noicon=1 | Suppresses the lead icon. |
no-prescript=1 | Suppresses the prescript. |
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 |
authorlink= | authorlink= | Set to the value of authorlink= or not set |
coauthors= | coauthors= | 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. |
accessdate= | accessdate= | Set to the value of accessdate= or not set |
language= | Not set | |
edition= | third | Automatically set within the template |
date= | Not set (see year) | |
year= | 1911 | Automatically set within the template |
month= | Not set | |
publisher= | John Murray | Automatically set within the template |
volume= | volume= | Set to the value of volume= or not set |
location= | London | Automatically set within the template |
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= | harv | Automatically set within the template. It means that {{sfn}} and {{harvnb}} link to this template. (If you need to ask don't worry about it) |
Hidden categories
[edit]This template adds the category Category:Wikipedia articles incorporating text from the DGRG to the articles it is used in.
The template calls {{Cite DGRG}} and depending on the parameters used it also adds the following hidden categories:
- 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
[edit]- {{Cite DGRG}}—called by template.