Difference between revisions of "Template:Biblica"

From blackwiki
Jump to navigation Jump to search
imported>PBS
imported>PBS
(if a parameter is passed in empty then some of the conditions in the other template fail)
Line 1: Line 1:
{{source-attribution|{{cite encyclopaedia|
+
{{source-attribution|{{cite Biblica|
 +
|noicon={{{noicon|}}} <!-- none standard and not working yet-->
 +
 
 
  |author={{{author|}}}
 
  |author={{{author|}}}
  |year={{{year|1903}}}
+
  |{{#if:{{{author|}}} |author |HIDE_PARAMETERau}}={{{author|}}}
  |editor-first = {{#if: {{{short|}}}|<!-- eq to empty -->|{{{editor-first|Thomas Kelly}}} }}
+
  |{{#if:{{{first|}}} |first |HIDE_PARAMETERf}}={{{first|}}}
  |editor-last = {{#if: {{{short|}}}|<!-- eq to empty -->|{{{editor-last|Cheyne}}} }}
+
|{{#if:{{{last|}}} |last |HIDE_PARAMETERla}}={{{last|}}}
  |editor-link = {{#if: {{{short|}}}|<!-- eq to empty -->|{{{editor-link|Thomas Kelly Cheyne}}} }}
+
 
  |editor2-first = {{#if: {{{short|}}}|<!-- eq to empty -->|{{{editor2-first|J. Sutherland}}} }}
+
<!--These are filled out with default values-->
|editor2-last = {{#if: {{{short|}}}|<!-- eq to empty -->|{{{editor2-last|Black}}} }}
+
|{{#if:{{{year|}}} |year |HIDE_PARAMETERy}}={{{year|}}}
  |encyclopaedia= [[Encyclopaedia Biblica]]
+
|{{#if:{{{editor-first|}}} |editor-first |HIDE_PARAMETERe1f}}={{{editor-first|}}}
  |title={{{title|{{{article|[[Wikisource:Encyclopaedia Biblica|<span style="color:red">article name needed</span>]] }}} }}}
+
  |{{#if:{{{editor-last|}}} |editor-last |HIDE_PARAMETERe1l}}={{{editor-last|}}}
  |url={{{url|}}}
+
  |{{#if:{{{editor-link|}}} |editor-link |HIDE_PARAMETERe1li}}={{{editor-link|}}}
 +
  |{{#if:{{{editor2-first|}}} |editor2-first |HIDE_PARAMETERe2f}}={{{editor2-first|}}}
 +
|{{#if:{{{editor2-last|}}} |editor2-last |HIDE_PARAMETERe2l}}={{{editor2-last|}}}
 +
|{{#if:{{{location|}}} |location |HIDE_PARAMETERlo}}={{{location|}}}
 +
|{{#if:{{{publisher|}}} |publisher |HIDE_PARAMETERp}}={{{publisher|}}}
 +
  |{{#if:{{encyclopedia|}}} |encyclopedia |HIDE_PARAMETERe}}={{{encyclopedia|}}}
 +
 
 +
  |{{#if:{{{title|}}}  |title  |HIDE_PARAMETERt}}={{{title|}}}
 +
|{{#if:{{{article|}}} |title  |HIDE_PARAMETERar}}={{{article|}}}
 +
|{{#if:{{{wstitle|}}} |wstitle  |HIDE_PARAMETERw}}={{{wstitle|}}}<!-- none standard and not working yet-->
 +
|{{#if:{{{url|}}} |url |HIDE_PARAMETERu}}={{{url|}}}
 +
 
 +
  |volume={{{volume|}}} <!--volume if set sets the year parameter to the correct date-->
 +
|page={{{page|}}}
 +
|pages={{{pages|}}}
 +
|ref={{ref|harv}}
 
  |mode={{{mode|}}}
 
  |mode={{{mode|}}}
 
}} }}<noinclude>{{Documentation}}</noinclude>
 
}} }}<noinclude>{{Documentation}}</noinclude>

Revision as of 20:35, 14 January 2017

File:PD-icon.svg This article incorporates text from a publication now in the public domain: File:PD-icon.svg Cheyne, Thomas Kelly; Black, J. Sutherland, eds. (1899–1903). Encyclopaedia Biblica. location: George N. Morang & Company. Missing or empty |title= (help)

Usage

none standard parameters
|noicon=y — remove the lead icon
|inline=1 – to change first few words of the prescript from "This article" to
            "One or more of the preceding sentences"
|wstitle=name —  set to name of the article on wikisource if it exists.
                     see also title below
Optional
|author=  — see Help:CS1
|first= — see Help:CS1
|last=  — see Help:CS1
|page= — see Help:CS1
|pages= — see Help:CS1
|ref= — see Help:CS1
|mode= — see Help:CS1
These are filled out with default values but can be overwritten
|year=
|editor-first=
|editor-last=
|editor-link=
|editor2-first=
|editor2-last=
|{location=
|publisher=
|encyclopedia=
other parameters
|volume=number — to be effective volume must be set to one of the following:
                     1, 2, 3, 4 or (I,II, III,IV)
|title= — it can be set if wstitle is not set. If neither title or wstitle are set
          then a red warning message is displayed 
|url= — can only be set if title is set. For standard usage see Help:CS1

See also

  • {{Cite Biblica}} — a similar template without the prescript