Difference between revisions of "Template:DGRA/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(dedupe HIDE_PARAMETER to stop adding to Category:Pages using duplicate arguments in template calls)
imported>Trappist the monk
 
Line 1: Line 1:
{{Cite DGRA
+
{{#invoke:template wrapper|{{#if:{{{_debug|}}}|list|wrap}}|_template=cite DGRA
|vb=1
+
   |_exclude=_debug
|{{#if:{{{article|}}}  |title    |HIDE_PARAMETER1}}={{{article|}}}
+
   |vb=1
|{{#if:{{{author|}}}     |author  |HIDE_PARAMETER2}}={{{author|}}}
+
}}<noinclude>
 
+
{{Documentation}}
<!-- set by default in cite DGRA  
 
   year (set to 1870)
 
  editor [[William Smith (lexicographer)|William Smith]]
 
  publication  [[Dictionary of Greek and Roman Antiquities]]
 
-->
 
|{{#if:{{{page|}}}  |page    |HIDE_PARAMETER3}}={{{page|}}}
 
|{{#if:{{{pages|}}}  |pages   |HIDE_PARAMETER4}}={{{pages|}}}
 
|ref={{{ref|harv}}}
 
}}<!--
 
  Add your experimental template code above here
 
--><noinclude>
 
 
 
{{documentation}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 18:17, 12 October 2020

 This article incorporates text from a publication now in the public domainSmith, William, ed. (1870). Dictionary of Greek and Roman Antiquities. London: John Murray. Missing or empty |title= (help)

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

Usage

This template will add the articles transcluding it to the hidden category Category:Wikipedia articles incorporating text from the Dictionary of Greek and Roman Antiquities.

This template should be placed on the main page of the article.

There are four optional parameters:

  • author= refers to the author of the respective entry (see p. iv et seq. of the Dictionary).
  • article= refers to the name of the entry in the dictionary.
  • page= refers to the page number on which the respective entry appears.
  • pages= refers to a range of page numbers on which the respective entry appears.
  • year= refers to the year of the edition used. If this parameter is not provided, "1870" is displayed.

See also