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

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(sync)
imported>WOSlinker
(Undid revision 631044545 by WOSlinker (talk))
Line 1: Line 1:
{{#if:{{{noicon|}}}||{{#ifeq: {{{wstitle|{{{1|}}}}}}|<!--eq to empty-->|
+
{{Documentation subpage}}
              <!--then-->[[File:PD-icon.svg|12px|alt=]]&nbsp;
+
=== Purpose ===
              |<!--else-->[[File:Wikisource-logo.svg|12px|alt=]]&nbsp;}}<!--endif
+
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}}.
-->}}<!--
 
-->{{#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|}}} }}
 
  
<!-- Add in any additional parameters that may be useful-->
+
=== Usage ===
  |{{#if:{{{volume|}}} |volume   |HIDE_PARAMETER7}}={{{volume|}}}
+
List of parameters
  |{{#if:{{{page|}}|page    |HIDE_PARAMETER8}}={{{page|}}}
+
  noicon=''x'' – if set removes the icon from the start of the citation
|{{#if:{{{pages|}}|pages    |HIDE_PARAMETER9}}={{{pages|}}}
+
short=''x''  — prevents author, publisher and edition information being displayed
|{{#if:{{{ref|}}}    |ref      |HIDE_PARAMETER10}}={{{ref|}}}
+
ref=harv — default. can be modified by setting the parameter
}}<noinclude>
+
            to another value (see {{tlx|cite encyclopedia}})
{{documentation}}
+
encyclopedia=Easton's Bible Dictionary — default setting. Can be modified
</noinclude>
+
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 {{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

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}}
  • Easton, Matthew George (1897). "Samaritan Pentateuch" . Easton's Bible Dictionary (New and revised ed.). T. Nelson and Sons.

and with title= and url=

{{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:

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