Difference between revisions of "Template:Cite DGRA"
imported>PBS |
imported>RL0919 (update parameters) |
||
Line 16: | Line 16: | ||
|{{#if:{{{first1|}}} |first1 |HIDE_PARAMETER7}}={{{first1|}}} | |{{#if:{{{first1|}}} |first1 |HIDE_PARAMETER7}}={{{first1|}}} | ||
− | |{{#if:{{{authorlink|}}} | | + | |{{#if:{{{authorlink|}}} |author-link |HIDE_PARAMETER8}}={{{authorlink|}}} |
|{{#if:{{{author-link|}}} |author-link |HIDE_PARAMETER9}}={{{author-link|}}} | |{{#if:{{{author-link|}}} |author-link |HIDE_PARAMETER9}}={{{author-link|}}} | ||
|{{#if:{{{author1-link|}}} |author1-link |HIDE_PARAMETER10}}={{{author1-link|}}} | |{{#if:{{{author1-link|}}} |author1-link |HIDE_PARAMETER10}}={{{author1-link|}}} | ||
− | |{{#if:{{{authorlink1|}}} | | + | |{{#if:{{{authorlink1|}}} |author-link1 |HIDE_PARAMETER11}}={{{authorlink1|}}} |
|{{#if:{{{last2|}}} |last2 |HIDE_PARAMETER12}}={{{last2|}}} | |{{#if:{{{last2|}}} |last2 |HIDE_PARAMETER12}}={{{last2|}}} | ||
Line 25: | Line 25: | ||
|{{#if:{{{first2|}}} |first2 |HIDE_PARAMETER14}}={{{first2|}}} | |{{#if:{{{first2|}}} |first2 |HIDE_PARAMETER14}}={{{first2|}}} | ||
− | |{{#if:{{{authorlink2|}}} | | + | |{{#if:{{{authorlink2|}}} |author-link2 |HIDE_PARAMETER15}}={{{authorlink2|}}} |
|{{#if:{{{author2-link|}}} |author2-link |HIDE_PARAMETER16}}={{{author2-link|}}} | |{{#if:{{{author2-link|}}} |author2-link |HIDE_PARAMETER16}}={{{author2-link|}}} | ||
Line 36: | Line 36: | ||
| editor-first = {{{editor-first|{{#if: {{{short|}}}|<!-- eq to empty -->|William}} }}} | | editor-first = {{{editor-first|{{#if: {{{short|}}}|<!-- eq to empty -->|William}} }}} | ||
| editor-last = {{{editor-last|{{#if: {{{short|}}}|<!-- eq to empty -->|Smith}} }}} | | editor-last = {{{editor-last|{{#if: {{{short|}}}|<!-- eq to empty -->|Smith}} }}} | ||
− | | | + | | editor-link = {{{editorlink|{{#if: {{{short|}}}|<!-- eq to empty -->|William Smith (lexicographer)}} }}} |
| location = {{{location|{{#if: {{{short|}}}|<!-- eq to empty -->|{{{location|London}}} }} }}} | | location = {{{location|{{#if: {{{short|}}}|<!-- eq to empty -->|{{{location|London}}} }} }}} | ||
| publisher = {{{publisher|{{#if: {{{short|}}}|<!-- eq to empty -->|{{{publisher|John Murray}}} }} }}} | | publisher = {{{publisher|{{#if: {{{short|}}}|<!-- eq to empty -->|{{{publisher|John Murray}}} }} }}} |
Revision as of 07:27, 11 October 2020
Smith, William, ed. (1870). "article name needed". Dictionary of Greek and Roman Antiquities. London: John Murray.
Contents
Purpose
This template facilitates the citation of articles from editions of Dictionary of Greek and Roman Antiquities (DGRA). Links to Wikisource or external sources are provided for. {{cite encyclopedia}} is used for the implementation.
Usage
{{Cite DGRA|wstitle=put the name of the Cite DGRA article here}}
or with a specification of additional options:
|vb =1 or x — prescript to attribute copied text (see WP:PLAGIARISM) |noicon =1 — no leading icon |inline =1 — alters the prescript to make it suitable for inline citations |wstitle=name of the DGRA article on Wikisource |display=alternative name to display in place of the DGRA article name on Wikisource |title=name of the DGRA article if not on Wikisource |url=only set it title= is set |year= —defaults to 1890 if linked to Wikisource otherwise 1870. |short =1 or x — A shorter display intended for use in external links as an alternative to {{DGRA poster}} These parameters are preset and will not be displayed if short is set |editor-first=William — will not be displayed if short is set |editor-last=Smith |editorlink=William Smith (lexicographer) |location=London |publisher=John Murray For the following parameters see the documentation of {{cite encyclopedia}} |first= |last= |author= |authorlink= |volume= |page= |pages= |ref= |mode=
Examples
Simple
{{Cite DGRA|wstitle=Abrogatio magistratus}}
displays as:
Smith, William, ed. (1890). . Dictionary of Greek and Roman Antiquities (3rd ed.). London: John Murray.
With comment
{{Cite DGRA|wstitle=Abrogatio magistratus}} A German historian and activist for freedom of the press.
displays as:
Smith, William, ed. (1890). . Dictionary of Greek and Roman Antiquities (3rd ed.). London: John Murray. A German historian and activist for freedom of the press.
Using noicon
{{Cite DGRA|wstitle=Cogniet, Leon|noicon=x}}
displays as:
Smith, William, ed. (1890). . Dictionary of Greek and Roman Antiquities (3rd ed.). London: John Murray.
Using vb
If text is incorporated verbatim into an article, the vb
parameter can be used to tack on a notice appropriate to the policy in Wikipedia:Plagiarism.
{{Cite DGRA|wstitle=Abrogatio magistratus|vb=x}}
displays as:
This article incorporates text from a publication now in the public domain: Smith, William, ed. (1890). . Dictionary of Greek and Roman Antiquities (3rd ed.). London: John Murray.
Using title
(no Wikisource link)
{{Cite DGRA|title=Argyraspides}}
displays as:
Smith, William, ed. (1870). "Argyraspides". Dictionary of Greek and Roman Antiquities. London: John Murray.
When title
is being used, url
can be used to specify an external link.
{{Cite DGRA|title=Argyraspides |url=http://www.ancientlibrary.com/smith-dgra/0140.html}}
displays as:
Smith, William, ed. (1870). "Argyraspides". Dictionary of Greek and Roman Antiquities. London: John Murray.
Hidden categories
This template places articles into a hidden categories with sub-categories to aid maintenance:
See also
{{DGRA}}
— for use in a Wikipedia article that includes text copied from the DGRA article{{DGRA poster}}
— display an DGRA article in a top box on the right.- Wikimedia sister projects
The above documentation is transcluded from Template:Cite DGRA/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. |