Difference between revisions of "Template:Cite EBD/doc"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(cite encyclopedia)
imported>WOSlinker
(sync)
Line 1: Line 1:
{{Documentation subpage}}
+
{{#if:{{{noicon|}}}||{{#ifeq: {{{wstitle|{{{1|}}}}}}|<!--eq to empty-->|
=== Purpose ===
+
              <!--then-->[[File:PD-icon.svg|12px|alt=]]&nbsp;
This template facilitates the citation of articles from either an external source or from the [[s:Easton's Bible Dictionary|Wikisource project]] [[Easton's Bible Dictionary]] in the manner of {{tl|cite encyclopedia}}.
+
              |<!--else-->[[File:Wikisource-logo.svg|12px|alt=]]&nbsp;}}<!--endif
 +
-->}}<!--
 +
-->{{#if:{{{vb|}}}|This article incorporates text from a publication now in the [[public domain]]:&nbsp;|}}<!--
 +
-->{{cite encyclopedia
 +
<!--Fixed entries-->
 +
|encyclopedia=[[Easton's Bible Dictionary]]
 +
|year={{{year|1897}}}
 +
<!--Fixed entries but if the parameter short= is set they do not display-->
 +
|{{#if:{{{short|}}} |HIDE_PARAMETER1 |first}}={{#if:{{{short|}}}||{{{first|Matthew George}}} }}
 +
|{{#if:{{{short|}}} |HIDE_PARAMETER2 |last}}={{#if:{{{short|}}}||Easton }}
 +
|{{#if:{{{short|}}} |HIDE_PARAMETER3 |authorlink}}={{#if:{{{short|}}}||Matthew George Easton }}
 +
|{{#if:{{{short|}}} |HIDE_PARAMETER4 |edition}}={{#if:{{{short|}}}||{{{edition|New and revised}}} }}
 +
|{{#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 -->
 +
| title= {{#if: {{{wstitle|}}}|<!--then-->[[s:Easton's Bible Dictionary (1897)/{{{wstitle|}}}|{{{display|{{{wstitle|}}}<!-- -->}}}]]
 +
    |<!-- else -->
 +
      {{#if: {{{title|}}}|<!--then-->{{{title|}}}
 +
      |<!--else--><sup><span style="color:red">article name needed</span></sup>
 +
      }}<!--end title-->
 +
    }}<!--end of check wstitle-->
 +
|{{#if:{{{title|}}} |url  |HIDE_PARAMETER6}}={{#if:{{{title|}}}|{{{url|}}} }}
  
=== Usage ===
+
<!-- Add in any additional parameters that may be useful-->
List of parameters
+
  |{{#if:{{{volume|}}} |volume   |HIDE_PARAMETER7}}={{{volume|}}}
  noicon=''x'' – if set removes the icon from the start of the citation
+
  |{{#if:{{{page|}}|page    |HIDE_PARAMETER8}}={{{page|}}}
short=''x''  — prevents author, publisher and edition information being displayed
+
|{{#if:{{{pages|}}|pages    |HIDE_PARAMETER9}}={{{pages|}}}
ref=harv — default. can be modified by setting the parameter
+
|{{#if:{{{ref|}}}    |ref      |HIDE_PARAMETER10}}={{{ref|}}}
            to another value (see {{tlx|cite encyclopedia}})
+
}}<noinclude>
encyclopedia=Easton's Bible Dictionary — default setting. Can be modified
+
{{documentation}}
year=1897 — default setting. Can be modified
+
</noinclude>
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 {{tlx|cite encyclopedia}})
 
page=''page number''  — not set by default see (see {{tlx|cite encyclopedia}})
 
  pages=''page number''  — not set by default see (see {{tl|cite encyclopedia}})
 
 
 
To link to an article on Wikisource:
 
*<code><nowiki>{{</nowiki>Cite EBD|wstitle=''EBD article name''}}</code>
 
or to name an article and optionally link to another site using the url parameter:
 
*<code><nowiki>{{</nowiki>Cite EBD|title=''EBD article name''|url=''url here''}}</code>
 
 
 
Using the article name ''[[Samaritan Pentateuch]]'' as an example with wstitle=:
 
:<code><nowiki>{{</nowiki>Cite EBD|wstitle=Samaritan Pentateuch}}</code>
 
*{{Cite EBD|wstitle=Samaritan Pentateuch}}
 
and with title= and url=
 
:<code><nowiki>{{Cite EBD|title=Samaritan Pentateuch|url=http://archive.org/stream/illustratedbible00east#page/598/mode/1up}}</nowiki></code>
 
*{{Cite EBD|title=Samaritan Pentateuch|url=http://archive.org/stream/illustratedbible00east#page/598/mode/1up}}
 
 
 
The parameter noicon=''1'' stops the display of the icon:
 
*{{Cite EBD|wstitle=Samaritan Pentateuch |noicon=1}}
 
 
 
If the parameter short=''1'' is set then author, edition and publisher are not displayed:
 
*{{Cite EBD|wstitle=Samaritan Pentateuch |short=1}}
 
 
 
noicon=''1'' and short=''1'' can be combined:
 
*{{Cite EBD|title=Samaritan Pentateuch|url=http://archive.org/stream/illustratedbible00east#page/598/mode/1up |noicon=1 |short=1}}
 
 
 
=== See also ===
 
* {{tl|EBD}} use this for a prescript [[WP:PLAGARISM#Public-domain sources|attributing]] the text to the source
 
* {{tl|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.
 
* {{tl|EBD POV}} if the Wikipedia article contains an EBD POV
 
* [[Wikipedia:Sister projects]]
 
 
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
{{DEFAULTSORT:Ebd Cite}}
 
[[Category:Attribution templates]]
 
[[Category:Bible templates]]
 
[[Category:Dictionary source templates]]
 
[[Category:Wikisource link templates]]
 
</includeonly>
 

Revision as of 10:44, 25 October 2014

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

50px Template documentation[create]