Difference between revisions of "Template:Cite DGRBM"
imported>Ithinkicahn (The target source, at Dictionary of Greek and Roman Biography and Mythology, indicates the year of the work as 1870, not 1867) |
imported>WOSlinker (dedupe HIDE_PARAMETER to stop adding to Category:Pages using duplicate arguments in template calls) |
||
| Line 25: | Line 25: | ||
<!--ignore url= if wstitle is set, otherwise set url if it has a value--> | <!--ignore url= if wstitle is set, otherwise set url if it has a value--> | ||
| − | |{{#if: {{{wstitle|}}} | | + | |{{#if: {{{wstitle|}}} |HIDE_PARAMETER1 |{{#if:{{{url|}}} |url |HIDE_PARAMETER1}}}}={{{url|}}} |
|year={{#if:{{{year|}}} |{{{year|}}}| {{#switch:{{{volume}}} | |year={{#if:{{{year|}}} |{{{year|}}}| {{#switch:{{{volume}}} | ||
| Line 35: | Line 35: | ||
}} | }} | ||
| − | |{{#if:{{{author|}}} |author | | + | |{{#if:{{{author|}}} |author |HIDE_PARAMETER2}}= {{#switch: {{{author}}} |
| AA = [[Alexander Allen (writer)|Alexander Allen]] | | AA = [[Alexander Allen (writer)|Alexander Allen]] | ||
| CTA = [[Charles Thomas Arnold]] | | CTA = [[Charles Thomas Arnold]] | ||
| Line 79: | Line 79: | ||
--> | --> | ||
| − | |{{#if:{{{last|}}} |last | | + | |{{#if:{{{last|}}} |last |HIDE_PARAMETER3}}={{{last|}}} |
| − | |{{#if:{{{last1|}}} |last1 | | + | |{{#if:{{{last1|}}} |last1 |HIDE_PARAMETER4}}={{{last1|}}} |
| − | |{{#if:{{{author1|}}} |author1 | | + | |{{#if:{{{author1|}}} |author1 |HIDE_PARAMETER5}}={{{author1|}}} |
| − | |{{#if:{{{authors|}}} |authors | | + | |{{#if:{{{authors|}}} |authors |HIDE_PARAMETER6}}={{{authors|}}} |
| − | |{{#if:{{{first|}}} |first | | + | |{{#if:{{{first|}}} |first |HIDE_PARAMETER7}}={{{first|}}} |
| − | |{{#if:{{{first1|}}} | + | |{{#if:{{{first1|}}} |first1 |HIDE_PARAMETER8}}={{{first1|}}} |
| − | |{{#if:{{{authorlink|}}} |authorlink | | + | |{{#if:{{{authorlink|}}} |authorlink |HIDE_PARAMETER9}}={{{authorlink|}}} |
| − | |{{#if:{{{author-link|}}} |author-link | | + | |{{#if:{{{author-link|}}} |author-link |HIDE_PARAMETER10}}={{{author-link|}}} |
| − | |{{#if:{{{author1-link|}}} |author1-link | | + | |{{#if:{{{author1-link|}}} |author1-link |HIDE_PARAMETER11}}={{{author1-link|}}} |
| − | |{{#if:{{{authorlink1|}}} |authorlink1 | | + | |{{#if:{{{authorlink1|}}} |authorlink1 |HIDE_PARAMETER12}}={{{authorlink1|}}} |
| − | |{{#if:{{{last2|}}} |last2 | | + | |{{#if:{{{last2|}}} |last2 |HIDE_PARAMETER13}}={{{last2|}}} |
| − | |{{#if:{{{author2|}}} |author2 | | + | |{{#if:{{{author2|}}} |author2 |HIDE_PARAMETER14}}={{{author2|}}} |
| − | |{{#if:{{{first2|}}} |first2 | | + | |{{#if:{{{first2|}}} |first2 |HIDE_PARAMETER15}}={{{first2|}}} |
| − | |{{#if:{{{authorlink2|}}} |authorlink2 | | + | |{{#if:{{{authorlink2|}}} |authorlink2 |HIDE_PARAMETER16}}={{{authorlink2|}}} |
| − | |{{#if:{{{author2-link|}}} |author2-link | | + | |{{#if:{{{author2-link|}}} |author2-link |HIDE_PARAMETER17}}={{{author2-link|}}} |
| − | |{{#if:{{{month|}}} |month | | + | |{{#if:{{{month|}}} |month |HIDE_PARAMETER18}}={{{month|}}} |
| − | |{{#if:{{{edition|}}} |edition | | + | |{{#if:{{{edition|}}} |edition |HIDE_PARAMETER19}}={{{edition|}}} |
| − | |{{#if:{{{accessdate|}}} |accessdate | | + | |{{#if:{{{accessdate|}}} |accessdate |HIDE_PARAMETER20}}={{{accessdate|}}} |
| − | |{{#if:{{{publisher|}}} |publisher | | + | |{{#if:{{{publisher|}}} |publisher |HIDE_PARAMETER21}}={{{publisher|}}} |
| − | |{{#if:{{{archiveurl|}}} |archiveurl | | + | |{{#if:{{{archiveurl|}}} |archiveurl |HIDE_PARAMETER22}}={{{archiveurl|}}} |
| − | |{{#if:{{{archivedate|}}}|archivedate | | + | |{{#if:{{{archivedate|}}}|archivedate |HIDE_PARAMETER23}}={{{archivedate|}}} |
| − | |{{#if:{{{date|}}} |date | | + | |{{#if:{{{date|}}} |date |HIDE_PARAMETER24}}={{{date|}}} |
| − | |{{#if:{{{volume|}}} |volume | | + | |{{#if:{{{volume|}}} |volume |HIDE_PARAMETER25}}={{{volume|}}} |
| − | |{{#if:{{{page|}}} |page | | + | |{{#if:{{{page|}}} |page |HIDE_PARAMETER26}}={{{page|}}} |
| − | |{{#if:{{{pages|}}} |pages | | + | |{{#if:{{{pages|}}} |pages |HIDE_PARAMETER27}}={{{pages|}}} |
| − | |{{#if:{{{ref|}}} |ref | | + | |{{#if:{{{ref|}}} |ref |HIDE_PARAMETER28}}={{{ref|}}} |
}}<includeonly><!-- | }}<includeonly><!-- | ||
Revision as of 10:18, 25 October 2014
File:PD-icon.svg Smith, William, ed. (1870). "article name needed". Dictionary of Greek and Roman Biography and Mythology. Unknown parameter |HIDE_PARAMETER2= ignored (help)
Usage
{{Cite DGRBM|author=|title=|volume=|page=|url=|short=}}
This template should be placed on the main page of the article.
There are six optional parameters:
- author= refers to the author of the respective entry.
- In place of author= the parameters first= and last= can be used.
- The author abbreviation (without periods and spaces) can be used. E.g., "AA" will yield "Alexander Allen". Unsigned articles in the Dictionary are by William Smith (WS) himself.
List of authors
|
|---|
|
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; APS = Arthur Penryhn Stanley; AS = Adolph Stahr; LU = Ludwig Urlichs; RW = Robert Whiston |
- volume= refers to the number of the volume (1, 2 or 3) in which the respective entry appears.
- page= refers to the page number on which the respective entry appears. This parameter should be used concurrently with "volume".
- title= refers to the name of the entry in the dictionary.
- if the article is present on wikisource then use wstitle= in place of title=
- url= can be used to link the title to an external source ("DGRBM: External links" contains urls to external on-line sources). Do not use this option if wstitle is used as the template automatically includes links to an article on Wikisource.
- short=x — removes certain fields from the display to shorten the citation when placed in "Further reading" or "external links" sections.
Hidden categories
This template places articles into a hidden category with three sub-categories to aid maintenance:
See also
- {{DGRBM}} attribute the DGRBM
- {{DGRBM poster}} display a DGRBM Wikisource article in a top box on the right
- {{Cite DGRA}} for entries in the Dictionary of Greek and Roman Antiquities by William Smith
- {{Cite DGRG}} for entries in the Dictionary of Greek and Roman Geography by William Smith
| The above documentation is transcluded from Template:Cite DGRBM/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |