Difference between revisions of "Template:BLKO"

From blackwiki
Jump to navigation Jump to search
imported>Howcheng
imported>Howcheng
Line 15: Line 15:
 
               }}
 
               }}
 
  |volume={{{volume|}}}
 
  |volume={{{volume|}}}
  |year={{#if:{{{year|}}}|{{{year}}}|{{#switch: {{{volume|}}}
+
  |{{#if:{{{year|{{{volume|}}}}}}|year|HIDE_PARAMETER0}}={{{year|{{BLKO/year|{{{volume}}}}}}}}
| 1=1856
+
  |{{#if:{{{pages|}}}|pages|HIDE_PARAMETER1}}={{{pages|}}}
| 2=1857
 
| 3=1858
 
| 4=1858
 
| 5=1859
 
| 6=1860
 
| 7=1861
 
| 8=1862
 
| 9=1863
 
| 10=1863
 
| 11=1864
 
| 12=1864
 
| 13=1865
 
| 14=1865
 
| 15=1866
 
| 16=1867
 
| 17=1867
 
| 18=1868
 
| 19=1868
 
| 20=1869
 
| 21=1870
 
| 22=1870
 
| 23=1872
 
| 24=1872
 
| 25=1873
 
| 26=1874
 
| 27=1874
 
| 28=1874
 
| 29=1875
 
| 30=1875
 
| 31=1875
 
| 32=1876
 
| 33=1877
 
| 34=1877
 
| 35=1877
 
| 36=1878
 
| 37=1878
 
| 38=1879
 
| 39=1879
 
| 40=1880
 
| 41=1880
 
| 42=1881
 
| 43=1881
 
| 44=1882
 
| 45=1882
 
| 46=1882
 
| 47=1883
 
| 48=1883
 
| 49=1884
 
| 50=1884
 
| 51=1885
 
| 52=1885
 
| 53=1886
 
| 54=1886
 
| 55=1887
 
| 56=1888
 
| 57=1889
 
| 58=1889
 
| 59=1890
 
| 60=1891
 
| #default = <span class="error">Error in volume number</span>{{main other|[[Category:BLKO template error]]}}
 
}}
 
  |{{#if:{{{pages|}}}|pages|HIDE_PARAMETER1}}={{{pages|}}}}}
 
 
  |{{#if:{{{page|}}}|page|HIDE_PARAMETER2}}={{{page|}}}
 
  |{{#if:{{{page|}}}|page|HIDE_PARAMETER2}}={{{page|}}}
 
  |editor-first=Constantin, von
 
  |editor-first=Constantin, von

Revision as of 23:08, 14 July 2018

Purpose

Template for web links to Biographisches Lexikon des Kaiserthums Oesterreich (BLKO) articles in German Wikisource, which contains more than 21,000 biographies of Austrian people. It wraps {{cite wikisource}}.

Error message

This template requires a title parameter: wstitle= to associate the source of the text being used with a specific part of the massive encyclopaedia that is being referenced. More information on these and other parameters are set out below. In the absence of a title parameter being supplied, the template will display the error message article name needed and set a category flagging that no article name has been given.[nb 1]

Usage

All field names must be in lowercase.

Minimum is: {{BLKO |wstitle=EB article name}}

Full set is: {{BLKO |wstitle= |noicon= |volume= |page= |pages= |year= }}

Additional named parameters (see the {{citation}} documentation for more details)

|postscript=defaults to the value in {{citation}} — it can be altered to another value
|ref=defaults to Wurzbach, year — like the other parameters the default values can be overridden (which can be useful when used with {{harv}} templates (see more than one work in a year). 
|year=defaults to a value set by volume. — it can be altered to another value, which is sometimes useful in combination with the parameter and value ref=harv.

Example

{{BLKO |wstitle=Mozart, Wolfgang Amadeus |volume=19 |page=170 |postscript=. I am a postscript!}}

produces:

Wikisource Wurzbach, Constantin, von, ed. (1868). "Mozart, Wolfgang Amadeus" . Biographisches Lexikon des Kaiserthums Oesterreich [Biographical Encyclopedia of the Austrian Empire] (in German). 19. p. 170 – via Wikisource. I am a postscript!


{{BLKO |wstitle=Habsburg, Maria Anna von Bayern}}

produces:

Wikisource Wurzbach, Constantin, von (ed.). "Habsburg, Maria Anna von Bayern" . Biographisches Lexikon des Kaiserthums Oesterreich [Biographical Encyclopedia of the Austrian Empire] (in German) – via Wikisource. Unknown parameter |HIDE_PARAMETER0= ignored (help)


Usage notes

The template does not include an item bullet and so is easy to use in a footnote citation. In a list, the template should be preceded by an asterisk, as specified in the usage section above.

Notes

  1. It is not much use to the reader to inform them that a Wikipedia article contains some text supported by a citation from somewhere in the 60-volumes of the Biographisches Lexikon des Kaiserthums Oesterreich!