Difference between revisions of "Template:BLKO"

From blackwiki
Jump to navigation Jump to search
imported>Howcheng
(Created page with '<noinclude>{{Under construction|notready=true}}</noinclude> <includeonly>{{#ifeq: {{{4|}}}|<!--eq to empty-->|<span style="color:red">Supply at least the first 2...')
 
imported>Howcheng
Line 9: Line 9:
 
  |plainchapter=[[s:de:BLKÖ:{{{4}}}|{{{4}}}]]
 
  |plainchapter=[[s:de:BLKÖ:{{{4}}}|{{{4}}}]]
 
  |volume={{{1|}}}
 
  |volume={{{1|}}}
  |year=1860
+
  |year={{#switch: {{{1|}}}
 +
| 1=1856
 +
| 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]]}}
 +
}}
 
  |pages={{#if:{{{3|}}}|{{{2}}}–{{{3|}}}|}}
 
  |pages={{#if:{{{3|}}}|{{{2}}}–{{{3|}}}|}}
 
  |page={{#if:{{{3|}}}|<!--nothing-->|{{{2}}}<!-- -->}}
 
  |page={{#if:{{{3|}}}|<!--nothing-->|{{{2}}}<!-- -->}}

Revision as of 07:10, 12 July 2018

Template:Under construction

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

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:


{{#ifeq: ||Supply at least the first 2 unnamed parameters: Vol number, Start page, End page, Biographed person, Author of biography, GND number (see help page)|Wurzbach, Constantin, von, ed. (Error in volume number). "{{{4}}}" . Biographisches Lexikon des Kaiserthums Oesterreich [Biographical Encyclopedia of the Austrian Empire] (in German). p. {{{2}}} – via Wikisource. I am a postscript! Check date values in: |year= (help)


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

produces:


{{#ifeq: ||Supply at least the first 2 unnamed parameters: Vol number, Start page, End page, Biographed person, Author of biography, GND number (see help page)|Wurzbach, Constantin, von, ed. (Error in volume number). "{{{4}}}" . Biographisches Lexikon des Kaiserthums Oesterreich [Biographical Encyclopedia of the Austrian Empire] (in German). p. {{{2}}} – via Wikisource. Check date values in: |year= (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!