Difference between revisions of "Template:BLKO"
imported>Howcheng |
imported>Howcheng |
||
| Line 1: | Line 1: | ||
| − | <includeonly>{{#ifeq: {{{ | + | <includeonly>{{#ifeq: {{{wstitle|}}}|<!--eq to empty-->|<span style="color:red">Supply at least the article title (<code>wstitle</code> parameter)</span>{{main other|[[Category:BLKO template error]]}} (see [[Template:BLKO/doc|help page]])|<!--else |
-->{{cite wikisource | -->{{cite wikisource | ||
|wslanguage=de | |wslanguage=de | ||
| Line 6: | Line 6: | ||
|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Ö:{{{ | + | |plainchapter=[[s:de:BLKÖ:{{{wstitle}}}|{{{wstitle}}}]] |
| − | |volume={{{ | + | |volume={{{volume|}}} |
| − | |year={{#switch: {{{ | + | |year={{#if:{{{year|}}}|{{{year}}}|{{#switch: {{{volume|}}} |
| 1=1856 | | 1=1856 | ||
| 2=1857 | | 2=1857 | ||
| Line 71: | Line 71: | ||
| #default = <span class="error">Error in volume number</span>{{main other|[[Category:BLKO template error]]}} | | #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|}}} |
|editor-first=Constantin, von | |editor-first=Constantin, von | ||
|editor-last=Wurzbach | |editor-last=Wurzbach | ||
| Line 82: | Line 82: | ||
}} | }} | ||
}} | }} | ||
| − | |{{#if:{{{postscript|}}}{{{5|}}}|postscript | | + | |{{#if:{{{postscript|}}}{{{5|}}}|postscript |HIDE_PARAMETER3}}={{#if:{{{5|}}}|none|{{{postscript|}}}}}<!-- unset the postscript here--> |
}} | }} | ||
}} | }} | ||
Revision as of 22:37, 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:
Wurzbach, Constantin, von, ed. (1868). . 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:
Wurzbach, Constantin, von, ed. (Error in volume number). . 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
- ↑ 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!
| The above documentation is transcluded from Template:BLKO/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |