Difference between revisions of "Template:Biblica"

From blackwiki
Jump to navigation Jump to search
imported>Headbomb
m (→‎top: clean up, no longer needed, removed: harv)
imported>Trappist the monk
(sync from sandbox;)
 
Line 1: Line 1:
{{#if: {{{no-icon|{{{noicon|}}}<!-- -->}}}|<!--empty-->|
+
{{#if:{{{no-icon|{{{noicon|}}}}}}||{{#if:{{{wstitle|}}}|[[File:Wikisource-logo.svg|12px|alt=]]|[[File:PD-icon.svg|12px|alt=]]}}&nbsp;}}<!--
  <!--else-->{{#ifeq: {{{wstitle|}}}|<!--eq to empty-->|
+
-->{{{prescript|{{#if:{{{inline|}}}|One or more of the preceding sentences|This article}} incorporates text from a publication now in the [[public domain]]:&nbsp;}}}<!-- no white space
              <!--then-->[[File:PD-icon.svg|12px|alt=]]&nbsp;
+
-->{{#invoke:template wrapper|{{#if:{{{_debug|}}}|list|wrap}}|_template=cite Biblica
              |<!--else-->[[File:Wikisource-logo.svg|12px|alt=]]&nbsp;}}<!--endif
+
|_exclude=inline, noicon, no-icon, prescript, _debug
-->}}{{{prescript|{{#ifeq: {{{inline|}}} |<!--eq to empty-->|<!--
 
                      then display-->This article
 
                      |<!--else display-->One or more of the preceding sentences
 
                    }}<!-- no white space
 
      --> incorporates text from a publication now in the [[public domain]]:&nbsp;}}}<!-- no white space
 
-->{{cite Biblica|
 
 
  |noicon=1
 
  |noicon=1
 
|{{#if:{{{author|}}} |author |HIDE_PARAMETERau}}={{{author|}}}
 
|{{#if:{{{first|}}} |first |HIDE_PARAMETERf}}={{{first|}}}
 
|{{#if:{{{last|}}} |last |HIDE_PARAMETERla}}={{{last|}}}
 
 
<!--These are filled out with default values-->
 
|{{#if:{{{year|}}} |year |HIDE_PARAMETERy}}={{{year|}}}
 
|{{#if:{{{editor-first|}}} |editor-first |HIDE_PARAMETERe1f}}={{{editor-first|}}}
 
|{{#if:{{{editor-last|}}} |editor-last |HIDE_PARAMETERe1l}}={{{editor-last|}}}
 
|{{#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|}}}
 
|mode={{{mode|}}}
 
 
}}<noinclude>{{Documentation}}</noinclude>
 
}}<noinclude>{{Documentation}}</noinclude>

Latest revision as of 15:03, 17 October 2020

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

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

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