Difference between revisions of "Template:Cite DGRA"

From blackwiki
Jump to navigation Jump to search
imported>PBS
imported>RL0919
(update parameters)
Line 16: Line 16:
 
  |{{#if:{{{first1|}}}  |first1  |HIDE_PARAMETER7}}={{{first1|}}}
 
  |{{#if:{{{first1|}}}  |first1  |HIDE_PARAMETER7}}={{{first1|}}}
  
  |{{#if:{{{authorlink|}}}  |authorlink   |HIDE_PARAMETER8}}={{{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|}}}  |authorlink1 |HIDE_PARAMETER11}}={{{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|}}}  |authorlink2 |HIDE_PARAMETER15}}={{{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}} }}}
  | editorlink = {{{editorlink|{{#if: {{{short|}}}|<!-- eq to empty -->|William Smith (lexicographer)}} }}}
+
  | 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

PD-icon.svg Smith, William, ed. (1870). "article name needed". Dictionary of Greek and Roman Antiquities. London: John Murray.

Template documentation[view] [edit] [history] [purge]

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:

Wikisource-logo.svg Smith, William, ed. (1890). "Abrogatio magistratus" . 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:

Wikisource-logo.svg Smith, William, ed. (1890). "Abrogatio magistratus" . 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). "Abrogatio magistratus" . 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:

Wikisource-logo.svg This article incorporates text from a publication now in the public domainSmith, William, ed. (1890). "Abrogatio magistratus" . Dictionary of Greek and Roman Antiquities (3rd ed.). London: John Murray.

Using title (no Wikisource link)

{{Cite DGRA|title=Argyraspides}}

displays as:

PD-icon.svg 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:

PD-icon.svg 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