Difference between revisions of "Template:BLKO"

From blackwiki
Jump to navigation Jump to search
imported>Howcheng
imported>Howcheng
Line 10: Line 10:
 
  |trans-title=Biographical Encyclopedia of the Austrian Empire
 
  |trans-title=Biographical Encyclopedia of the Austrian Empire
 
  |chapter=X<!--dummy value, otherwise plainchapter doesn't show up-->
 
  |chapter=X<!--dummy value, otherwise plainchapter doesn't show up-->
  |plainchapter=[[s:de:BLKÖ:{{{wstitle}}}|{{{wstitle}}}]]
+
  |plainchapter={{#ifeq: {{{wstitle|}}}|<!--eq to empty-->
 +
                |<!--then--><sup>[[s:de:Biographisches Lexikon des Kaiserthums Oesterreich|<span style="color:red">article name needed</span>]]</sup>
 +
                |<!--else-->[[s:de:BLKÖ:{{{wstitle}}}|{{{wstitle}}}]]
 +
              }}
 
  |volume={{{volume|}}}
 
  |volume={{{volume|}}}
 
  |year={{#if:{{{year|}}}|{{{year}}}|{{#switch: {{{volume|}}}
 
  |year={{#if:{{{year|}}}|{{{year}}}|{{#switch: {{{volume|}}}

Revision as of 22:51, 14 July 2018

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:

File:Wikisource-logo.svg 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:

File:Wikisource-logo.svg Wurzbach, Constantin, von, ed. (Error in volume number). "Habsburg, Maria Anna von Bayern" . Biographisches Lexikon des Kaiserthums Oesterreich [Biographical Encyclopedia of the Austrian Empire] (in German) – 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!