Difference between revisions of "Template:EBD"

From blackwiki
Jump to navigation Jump to search
imported>PBS
(|{{#if:{{{short|}}} |short |HIDE_PARAMETER}}={{{|short}}})
imported>WOSlinker
(dedupe HIDE_PARAMETER to stop adding to Category:Pages using duplicate arguments in template calls)
Line 17: Line 17:
  
 
<!--These entries are set by default in Cite EDB-->
 
<!--These entries are set by default in Cite EDB-->
  |{{#if:{{{encyclopedia|}}} |encyclopedia |HIDE_PARAMETER}}={{{|encyclopedia}}}
+
  |{{#if:{{{encyclopedia|}}} |encyclopedia |HIDE_PARAMETER1}}={{{|encyclopedia}}}
  |{{#if:{{{year|}}}        |year        |HIDE_PARAMETER}}={{{|year}}}
+
  |{{#if:{{{year|}}}        |year        |HIDE_PARAMETER2}}={{{|year}}}
  |{{#if:{{{first|}}}        |first        |HIDE_PARAMETER}}={{{|first}}}
+
  |{{#if:{{{first|}}}        |first        |HIDE_PARAMETER3}}={{{|first}}}
  |{{#if:{{{last|}}}        |last        |HIDE_PARAMETER}}={{{|last}}}
+
  |{{#if:{{{last|}}}        |last        |HIDE_PARAMETER4}}={{{|last}}}
  |{{#if:{{{authorlink|}}}  |authorlink  |HIDE_PARAMETER}}={{{|authorlink}}}
+
  |{{#if:{{{authorlink|}}}  |authorlink  |HIDE_PARAMETER5}}={{{|authorlink}}}
  |{{#if:{{{edition|}}}      |edition      |HIDE_PARAMETER}}={{{edition|}}}
+
  |{{#if:{{{edition|}}}      |edition      |HIDE_PARAMETER6}}={{{edition|}}}
  |{{#if:{{{publisher|}}}    |publisher    |HIDE_PARAMETER}}={{{publisher|}}}
+
  |{{#if:{{{publisher|}}}    |publisher    |HIDE_PARAMETER7}}={{{publisher|}}}
  
 
<!--Check that either title or wstitle is set or display a warning in red -->
 
<!--Check that either title or wstitle is set or display a warning in red -->
  |{{#if:{{{1|}}} |wstitle  |HIDE_PARAMETER}}={{{1|}}}
+
  |{{#if:{{{1|}}}       |wstitle  |HIDE_PARAMETER8}}={{{1|}}}
  |{{#if:{{{wstitle|}}} |wstitle  |HIDE_PARAMETER}}={{{wstitle|}}}
+
  |{{#if:{{{wstitle|}}} |wstitle  |HIDE_PARAMETER9}}={{{wstitle|}}}
  |{{#if:{{{title|}}} |title   |HIDE_PARAMETER}}={{{title|}}}
+
  |{{#if:{{{title|}}}   |title     |HIDE_PARAMETER10}}={{{title|}}}
  |{{#if:{{{url|}}} |url   |HIDE_PARAMETER}}={{{url|}}}
+
  |{{#if:{{{url|}}}     |url       |HIDE_PARAMETER11}}={{{url|}}}
  
 
<!--These are optional parameters-->
 
<!--These are optional parameters-->
  |{{#if:{{{volume|}}} |volume  |HIDE_PARAMETER}}={{{volume|}}}
+
  |{{#if:{{{volume|}}} |volume  |HIDE_PARAMETER12}}={{{volume|}}}
  |{{#if:{{{page|}}}  |page    |HIDE_PARAMETER}}={{{page|}}}
+
  |{{#if:{{{page|}}}  |page    |HIDE_PARAMETER13}}={{{page|}}}
  |{{#if:{{{pages|}}}  |pages    |HIDE_PARAMETER}}={{{pages|}}}
+
  |{{#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>

Revision as of 11:23, 25 October 2014

 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. Unknown parameter |HIDE_PARAMETER4= ignored (help); Unknown parameter |HIDE_PARAMETER= ignored (help); Unknown parameter |HIDE_PARAMETER1= ignored (help); Unknown parameter |HIDE_PARAMETER5= ignored (help); Unknown parameter |HIDE_PARAMETER3= ignored (help); Unknown parameter |HIDE_PARAMETER2= ignored (help); Missing or empty |title= (help)CS1 maint: ref=harv (link)

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:

  • This article incorporates text from a publication now in the public domain"Samaritan Pentateuch". Easton's Bible Dictionary. 1897. Unknown parameter |HIDE_PARAMETER4= ignored (help); Unknown parameter |HIDE_PARAMETER2= ignored (help); Unknown parameter |HIDE_PARAMETER5= ignored (help); Unknown parameter |HIDE_PARAMETER1= ignored (help); Unknown parameter |HIDE_PARAMETER3= ignored (help)CS1 maint: ref=harv (link)

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