Difference between revisions of "Template:Cite DARRD"

From blackwiki
Jump to navigation Jump to search
imported>PBS
imported>Trappist the monk
(sync from sandbox;)
 
Line 5: Line 5:
 
-->{{#if:{{{noicon|}}}||[[Image:wikisource-logo.svg|12px|link=]]&nbsp;}}<!--
 
-->{{#if:{{{noicon|}}}||[[Image:wikisource-logo.svg|12px|link=]]&nbsp;}}<!--
 
  optional verbatim message - not included by default
 
  optional verbatim message - not included by default
-->{{#if:{{{vb|}}}|{{#if: {{{inline|}}}|One or more of the preceding sentences|This article}} incorporates text from a publication now in the [[public domain]]:&nbsp;|}}<!--
+
-->{{#if:{{{vb|}}}|{{#if:{{{inline|}}}|One or more of the preceding sentences|This article}} incorporates text from a publication now in the [[public domain]]:&nbsp;|}}<!--
 
  cite encyclopedia wrapper:
 
  cite encyclopedia wrapper:
 
   unlinked title can be specified;
 
   unlinked title can be specified;
 
   otherwise first unnamed arg is used for Wikisource link.
 
   otherwise first unnamed arg is used for Wikisource link.
-->{{cite encyclopedia
+
-->{{#invoke:template wrapper|{{#if:{{{_debug|}}}|list|wrap}}|_template=cite encyclopedia
|{{#if:{{{author|}}} |author |HIDE_PARAMETER1}}={{{author|}}}
+
    |_exclude=inline, display, noicon, no-icon, short, vb, wstitle, _debug
|{{#if:{{{short|}}} |HIDE_PARAMETER2 |first}}={{#if:{{{short|}}}||{{{first|Hannah}}} }}
+
    |_reuse=title, url
|{{#if:{{{short|}}} |HIDE_PARAMETER3 |last}}={{#if:{{{short|}}}||{{{last|Adams}}} }}
 
|year={{{year|1784}}}
 
|title={{#if:{{{title|}}}|{{{title}}}|{{#if:{{{wstitle|}}}|[[s:A Dictionary of All Religions and Religious Denominations/{{{wstitle|}}}|{{{display|{{{wstitle|}}}<!--d-->}}}]]|<sup>[[s:The New Student's Reference Work|<span style="color:red">article name needed</span>]]</sup> <!--end if wstitle-->}}<!--end if title-->}}
 
  
  |{{#if:{{{short|}}} |HIDE_PARAMETER4 |editor-first}}={{#if:{{{short|}}}||{{{editor-first|Thomas}}} }}
+
  |first={{#if:{{{short|}}}||Hannah}}
  |{{#if:{{{short|}}} |HIDE_PARAMETER5 |editor-last}}={{#if:{{{short|}}}||{{{editor-last|Williams}}} }}
+
|last={{#if:{{{short|}}}||Adams}}
| encyclopedia={{{encyclopedia|[[s:A Dictionary of All Religions and Religious Denominations|A Dictionary of All Religions and Religious Denominations]]}}}
+
  |year=1784
|{{#if:{{{short|}}} |HIDE_PARAMETER6 |location}}={{#if:{{{short|}}}||{{{location|New York}}} }}
+
 
|{{#if:{{{short|}}} |HIDE_PARAMETER7 |publisher}}={{#if:{{{short|}}}||{{{publisher|James Eastburn and company}}} }}
+
|title={{#if:{{{title|}}}|{{{title|}}}|{{#if:{{{wstitle|}}}|{{cite wikisource/make link
|edition={{{edition|4th}}}
+
          |link=A Dictionary of All Religions and Religious Denominations/{{{wstitle|}}}
|{{#if:{{{volume|}}} |volume |HIDE_PARAMETER8}}={{{volume|}}}
+
          |label={{{display|{{{wstitle|}}}}}}
  |{{#if:{{{page|}}}   |page  |HIDE_PARAMETER9}}={{{page|}}}
+
          |noicon={{{no-icon|{{{noicon|}}}}}}
  |{{#if:{{{pages|}}} |pages  |HIDE_PARAMETER10}}={{{pages|}}}
+
        }}}}}}
  |{{#if:{{{ref|}}}   |ref    |HIDE_PARAMETER11}}={{{ref|}}}
+
 
  |{{#if:{{{mode|}}}  |mode  |HIDE_PARAMETER12}}={{{mode|}}}
+
  |url={{#if:{{{wstitle|}}}||{{{url|}}}}}
  |{{#if:{{{title|}}} |url    |HIDE_PARAMETER13}}={{{url|}}}
+
 
  |{{#if:{{{accessdate|}}} |accessdate  |HIDE_PARAMETER14}}={{{accessdate|}}}<!--not displayed by {{cite encylopedia}} if url= is not set-->
+
  |editor-first={{#if:{{{short|}}}||Thomas}}
  |1={{{1|}}}<!--pass on for standard handling-->
+
  |editor-last={{#if:{{{short|}}}||Williams}}
 +
 
 +
  | encyclopedia=[[:s:A Dictionary of All Religions and Religious Denominations|A Dictionary of All Religions and Religious Denominations]]
 +
 
 +
  |location={{#if:{{{short|}}}||New York}}
 +
  |publisher={{#if:{{{short|}}}||James Eastburn and Company}}
 +
  |edition=4th
 
}}<includeonly><!--
 
}}<includeonly><!--
 
-->{{#ifeq: {{NAMESPACEE}} |<!--is not set-->
 
-->{{#ifeq: {{NAMESPACEE}} |<!--is not set-->

Latest revision as of 17:52, 17 October 2020

Wikisource-logo.svg Adams, Hannah (1784). Williams, Thomas (ed.). A Dictionary of All Religions and Religious Denominations (4th ed.). New York: James Eastburn and Company. Missing or empty |title= (help)

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

Purpose

This template enables an editor to more easily cite A Dictionary of All Religions and Religious Denominations in the manner of {{cite encyclopedia}}. The article title can have a Wikisource link.

Usage

Currently supported parameters are:

noicon=1 — to turn off the display of the leading icon
wstitle=article title — for articles available on Wikisource
title=article title — for articles not currently available on Wikisource
url=URL can be set if title is set.
ref=refid — not set by default
mode=mode — defaults to cs1 (see Help:CS1)

Example

{{Cite DARRD|wstitle=Abrahamites}}

displays as:

Wikisource-logo.svg Adams, Hannah (1784). "Abrahamites" . In Williams, Thomas (ed.). A Dictionary of All Religions and Religious Denominations (4th ed.). New York: James Eastburn and Company.

See also