Difference between revisions of "Template:Cite EBD"

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>WOSlinker
(fix hide params)
Line 9: Line 9:
 
  |year={{{year|1897}}}
 
  |year={{{year|1897}}}
 
<!--Fixed entries but if the parameter short= is set they do not display-->
 
<!--Fixed entries but if the parameter short= is set they do not display-->
  |{{#if:{{{short|}}} |HIDE_PARAMETER1 |first}}={{{first|Matthew George}}}
+
  |{{#if:{{{short|}}} |HIDE_PARAMETER1 |first}}={{#if:{{{short|}}}||{{{first|Matthew George}}} }}
  |{{#if:{{{short|}}} |HIDE_PARAMETER2 |last}}=Easton
+
  |{{#if:{{{short|}}} |HIDE_PARAMETER2 |last}}={{#if:{{{short|}}}||Easton }}
  |{{#if:{{{short|}}} |HIDE_PARAMETER3 |authorlink}}=Matthew George Easton
+
  |{{#if:{{{short|}}} |HIDE_PARAMETER3 |authorlink}}={{#if:{{{short|}}}||Matthew George Easton }}
  |{{#if:{{{short|}}} |HIDE_PARAMETER4 |edition}}={{{edition|New and revised}}}
+
  |{{#if:{{{short|}}} |HIDE_PARAMETER4 |edition}}={{#if:{{{short|}}}||{{{edition|New and revised}}} }}
  |{{#if:{{{short|}}} |HIDE_PARAMETER5 |publisher}}={{{publisher|T. Nelson and Sons}}}
+
  |{{#if:{{{short|}}} |HIDE_PARAMETER5 |publisher}}={{#if:{{{short|}}}||{{{publisher|T. Nelson and Sons}}} }}
 
<!--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 -->
 
  | title= {{#if: {{{wstitle|}}}|<!--then-->[[s:Easton's Bible Dictionary (1897)/{{{wstitle|}}}|{{{display|{{{wstitle|}}}<!-- -->}}}]]
 
  | title= {{#if: {{{wstitle|}}}|<!--then-->[[s:Easton's Bible Dictionary (1897)/{{{wstitle|}}}|{{{display|{{{wstitle|}}}<!-- -->}}}]]
Line 21: Line 21:
 
       }}<!--end title-->
 
       }}<!--end title-->
 
     }}<!--end of check wstitle-->
 
     }}<!--end of check wstitle-->
  |{{#if:{{{title|}}} |url  |HIDE_PARAMETER6}}={{{url|}}}
+
  |{{#if:{{{title|}}} |url  |HIDE_PARAMETER6}}={{#if:{{{title|}}}|{{{url|}}} }}
  
 
<!-- Add in any additional parameters that may be useful-->  
 
<!-- Add in any additional parameters that may be useful-->  

Revision as of 10:43, 25 October 2014

 Easton, Matthew George (1897). "article name needed". Easton's Bible Dictionary (New and revised ed.). T. Nelson and Sons.

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

Purpose

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

Usage

List of parameters

noicon=x – if set removes the icon from the start of the citation
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:

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

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

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

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

{{Cite EBD|wstitle=Samaritan Pentateuch}}

and with title= and url=

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

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

If the parameter short=1 is set then author, edition and publisher are not displayed:

noicon=1 and short=1 can be combined:

See also

  • {{EBD}} use this for a prescript attributing the text to the source
  • {{EBD poster}} use this in the external section to link to an EBD article on Wikisource if the EBD article is not used as a citation in the Wikipedia article.
  • {{EBD POV}} if the Wikipedia article contains an EBD POV
  • Wikipedia:Sister projects