Difference between revisions of "Template:Classical works row"

From blackwiki
Jump to navigation Jump to search
imported>Gerda Arendt
(allow id)
imported>Mirokado
(correct html attr syntax haudio, checked with Carl Nielsen works)
Line 1: Line 1:
<includeonly>|- {{#if:{{{id|}}}|id="{{{id}}}"}} class"=haudio"
+
<includeonly>|- {{#if:{{{id|}}}|id="{{{id}}}"}} class="haudio"
 
! scope="row" class="fn" | <div class="contributor">{{{title|}}}</div><div class="contributor">{{{subtitle|}}}</div>
 
! scope="row" class="fn" | <div class="contributor">{{{title|}}}</div><div class="contributor">{{{subtitle|}}}</div>
 
| {{#if:{{{translation|}}}||data-sort-value="ZZZZ" {{!}}}} {{{translation|}}}
 
| {{#if:{{{translation|}}}||data-sort-value="ZZZZ" {{!}}}} {{{translation|}}}

Revision as of 12:55, 19 June 2016

Template documentation[view] [edit] [history] [purge]
{{Classical works header}}
{{Classical works row}} as many as needed

The template was developed similar to {{Cantata discography row}} and first used in Carl Nielsen works. The following examples are taken from that list.

General. as for other templates:

Parameters

All optional.

For dates and years, use {{Start date}}

For names to be sorted, use {{Sortname}}

For multiple values, use {{Plainlist}}, {{Flatlist}} or {{Hlist}}.

  • |id= an anchor for the row
  • |title= the name of the work
  • |translation= translation of the name to English
  • |key= key
  • |catalogue= catalogue number other than opus number
  • |opus= opus number
  • |year= a year or period of composition
  • |genre= genre
  • |description= description
  • |text= information about the text (author
  • |score= link to background information

Example

{{Classical works header|composer=Carl Nielsen|catalogue=FS|score=<abbr title="Catalogue of Carl Nielsen's Works">CNW</abbr>}}

{{Classical works row
| id = symphonies
| title = [[Symphony No. 1 (Nielsen)|Symphony No. 1]]
| key = {{nowrap|G minor}}
| catalogue = 16
| opus = 7
| year = {{start date|1892}}–1894
| genre = {{hidden sort key|3}} symphony
| score = [http://www.kb.dk/dcm/cnw/document.xq?doc=cnw0025.xml 25]
}}

{{Classical works row
| title = ''{{lang|da|Ulvens Søn}}''
| translation = ''{{sort|Wolf's Son|The Wolf's Son}}''
| catalogue = 50
| year = {{start date|1909}}
| genre = {{hidden sort key|2-7}} incidental
| description = two songs
| text = {{sortname|A.|Aakjær|nolink=1}}
| score = [http://www.kb.dk/dcm/cnw/document.xq?doc=cnw0011.xml 11]
}}

{{End}}
Works by Carl Nielsen
Title Translation Key FS Op. Time Genre Text CNW
G minor 16 7 1892 (1892)–1894 symphony 25
Ulvens Søn
The Wolf's Son 50 1909 (1909) incidental
two songs
A. Aakjær 11


Microformat

Template:UF-audio