Difference between revisions of "Template:EBD"

From blackwiki
Jump to navigation Jump to search
imported>Headbomb
(no longuer needed)
imported>Trappist the monk
(sync from sandbox;)
 
Line 1: Line 1:
{{#if: {{{noicon|}}}|<!--empty-->|
+
{{#if:{{{noicon|}}}||{{#if:{{{wstitle|}}}|[[File:Wikisource-logo.svg|12px|link=|alt=]]|[[File:PD-icon.svg|12px|link=|alt=]]}}&nbsp;}}<!--  
  <!--else-->{{#ifeq: {{{wstitle|}}}|<!--eq to empty-->|
+
-->{{{prescript|{{#if:{{{inline|}}}|One or more of the preceding sentences|This article}} incorporates text from a publication now in the [[public domain]]:&nbsp;}}}<!-- no white space
              <!--then-->[[File:PD-icon.svg|12px|link=|alt=]]&nbsp;
 
              |<!--else-->[[File:Wikisource-logo.svg|12px|link=|alt=]]&nbsp;}}<!--endif
 
-->}}{{{prescript|{{#ifeq: {{{inline|}}} |<!--eq to empty-->|<!--
 
                      then display-->This article
 
                      |<!--else display-->One or more of the preceding sentences
 
                    }}<!-- no white space
 
      --> incorporates text from a publication now in the [[public domain]]:&nbsp;}}}<!-- no white space
 
-->{{Cite EBD
 
<!--Fixed parameters entries-->
 
|noicon=1
 
|ref={{{ref|}}}
 
  
<!-- this none standard parameter removes from display some of the default parameters -->
+
-->{{#invoke:template wrapper|{{#if:{{{_debug|}}}|list|wrap}}|_template=cite EBD
|{{#if:{{{short|}}} |short |HIDE_PARAMETER}}={{{|short}}}
+
   |_exclude=inline, noicon, prescript, _debug
 
+
   |noicon=1
<!--These entries are set by default in Cite EDB-->
 
|{{#if:{{{encyclopedia|}}} |encyclopedia |HIDE_PARAMETER1}}={{{|encyclopedia}}}
 
|{{#if:{{{year|}}}         |year        |HIDE_PARAMETER2}}={{{|year}}}
 
|{{#if:{{{first|}}}        |first        |HIDE_PARAMETER3}}={{{|first}}}
 
|{{#if:{{{last|}}}        |last        |HIDE_PARAMETER4}}={{{|last}}}
 
|{{#if:{{{authorlink|}}}  |authorlink   |HIDE_PARAMETER5}}={{{|authorlink}}}
 
|{{#if:{{{edition|}}}      |edition      |HIDE_PARAMETER6}}={{{edition|}}}
 
|{{#if:{{{publisher|}}}    |publisher    |HIDE_PARAMETER7}}={{{publisher|}}}
 
 
 
<!--Check that either title or wstitle is set or display a warning in red -->
 
|{{#if:{{{1|}}}      |wstitle   |HIDE_PARAMETER8}}={{{1|}}}
 
|{{#if:{{{wstitle|}}} |wstitle  |HIDE_PARAMETER9}}={{{wstitle|}}}
 
|{{#if:{{{title|}}}  |title    |HIDE_PARAMETER10}}={{{title|}}}
 
|{{#if:{{{url|}}}    |url      |HIDE_PARAMETER11}}={{{url|}}}
 
 
 
<!--These are optional parameters-->
 
|{{#if:{{{volume|}}} |volume  |HIDE_PARAMETER12}}={{{volume|}}}
 
|{{#if:{{{page|}}}  |page    |HIDE_PARAMETER13}}={{{page|}}}
 
|{{#if:{{{pages|}}}  |pages    |HIDE_PARAMETER14}}={{{pages|}}}
 
 
}}<includeonly>
 
}}<includeonly>
 
[[Category:Wikipedia articles incorporating text from Easton's Bible Dictionary]]</includeonly><noinclude>
 
[[Category:Wikipedia articles incorporating text from Easton's Bible Dictionary]]</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 21:41, 14 October 2020

 This article incorporates text from a publication now in the public domainEaston, Matthew George (1897). Easton's Bible Dictionary (New and revised ed.). T. Nelson and Sons. Missing or empty |title= (help)

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

Purpose

This template facilitates the attribution of articles from either an external source or from the Wikisource project Easton's Bible Dictionary in the manner of {{cite encyclopedia}}.

This template should usually be placed on the main page of the article, in the "References" section near the bottom of the page (see WP:Plagiarism#Where to place attribution).

Usage

List of parameters

noicon=x – if set removes the icon from the start of the citation
prescript=string – alter prescript to string, 
                   for no prescript see {{Cite EBD}}  
inline=x — alter the prescript from "This article"
           to "One or more of the preceding sentences"
short=x  — prevents author, publisher and edition information being displayed
ref=harv — default. can be modified by setting the parameter
           to another value (see {{cite encyclopedia}})
encyclopedia=Easton's Bible Dictionary — default setting. Can be modified
year=1897 — default setting. Can be modified
last=Easton — default setting. Can be modified
authorlink=Matthew George Easton  — default setting. Can be modified
edition=New and revised — default setting. Can be modified
publisher=T. Nelson and Sons  — default setting. Can be modified
wstitle=EBD article name — set if the EBD article resides on Wikisource
title=EBD article name  — set if the EBD article does not reside on Wikisource
url=article link  — set if the EBD article resides on a known external web server
volume=volume number — not set by default see (see {{cite encyclopedia}})
page=page number  — not set by default see (see {{cite encyclopedia}})
pages=page number  — not set by default see (see {{cite encyclopedia}})

To link to an article on Wikisource:

  • {{EBD|wstitle=EBD article name}}

or to name an article and optionally link to another site using the url parameter:

  • {{EBD|title=EBD article name|url=url here}}

Using the article name Samaritan Pentateuch as an example with wstitle=:

{{EBD|wstitle=Samaritan Pentateuch}}

and with title= and url=

{{EBD|title=Samaritan Pentateuch|url=https://archive.org/stream/illustratedbible00east#page/598/mode/1up}}

The parameter noicon=x stops the display of the icon:

The parameter short=x removes author, publisher and edition information:

Combining noicon=x and short=x:

Hidden category

This template will add the articles transcluding it to the hidden category Category:Wikipedia articles incorporating text from Easton's Bible Dictionary.

See also

  • {{Cite EBD}} - for use where Easton's article is not at Wikisource, to use an alternative URL
  • {{EBD POV}} - for use where Easton's information is out of date
  • {{EBD poster}} - for use where Easton's is not used in the article
  • Wikipedia:Sister projects