Difference between revisions of "Template:Recordings by orchestra/doc"
(→Best practices) |
|||
(12 intermediate revisions by the same user not shown) | |||
Line 17: | Line 17: | ||
|</code>''Name of the orchestra''<br /> | |</code>''Name of the orchestra''<br /> | ||
<code>|singer=</code>''Ángel Vargas''<br /> | <code>|singer=</code>''Ángel Vargas''<br /> | ||
+ | <code>|pianist=</code>''Lidio Fasoli''<br /> | ||
<code>|start=</code>''1937-01-01''<br /> | <code>|start=</code>''1937-01-01''<br /> | ||
<code>|end=</code>''1937-12-31''<br /> | <code>|end=</code>''1937-12-31''<br /> | ||
Line 44: | Line 45: | ||
Include the start date AND the end date for the date range. The query then uses the operators "bigger than >" and "smaller than <" to display only the recordings from this date range. | Include the start date AND the end date for the date range. The query then uses the operators "bigger than >" and "smaller than <" to display only the recordings from this date range. | ||
− | + | ===Records with a certain musician: piano player=== | |
+ | At the moment, it is only possible to query for the piano player: | ||
+ | |||
+ | <code><nowiki>|pianist=</nowiki>''Lidio Fasoli''</code> | ||
+ | |||
+ | The full query: | ||
+ | |||
+ | <code><nowiki>{{Recordings by orchestra|</nowiki>''Name of the orchestra''|pianist=''Lidio Fasoli''<nowiki>}}</nowiki></code>. | ||
+ | {{Note|If querying for the pianist, see that all related recordings have a pianist added! If there are recordings missing, it might be they are already there, but only missing the piano player.}} | ||
==Example== | ==Example== | ||
Line 116: | Line 125: | ||
*Side (A, B) | *Side (A, B) | ||
*Disc type (Shellac, Vinyl) | *Disc type (Shellac, Vinyl) | ||
− | + | ||
The table will NOT (yet) show the following recording data: | The table will NOT (yet) show the following recording data: | ||
Line 127: | Line 136: | ||
*Image | *Image | ||
*TangoTunes SKU, tango.info TINT | *TangoTunes SKU, tango.info TINT | ||
+ | *Sound snippet (is very Flash Player extensive in large lists!) | ||
+ | |||
+ | ==Best practices== | ||
+ | Sometimes it can be useful to test the simple query against subqueries with date ranges and musician options, to see if the number of recordings is the same. This way, recordings with missing information can be detected. | ||
+ | |||
+ | Example: On the page [[Juan D'Arienzo#Discography|Juan D'Arienzo]], the recordings are divided and it is queried for certain piano players and date ranges. The sum of all shown recordings should always equal the general sum of existing D'Arienzo recordings in the wiki, which can be shown with <code><nowiki>{{Recordings by orchestra|Juan D'Arienzo}}</nowiki></code>, for testing purposes on one's own [[Help:Sandbox on subpage|sandbox]]. | ||
+ | |||
+ | If you need to specify the query further, you shouldn't use this template, instead create a distinct query. | ||
+ | |||
+ | {{Note-info|title=A special trick:|If you want to show all singers but one, write an exclamation mark before the singer to choose all singers but this one: | ||
+ | |||
+ | <code><nowiki>{{Recordings by orchestra|Ángel D'Agostino|singer=!Ángel Vargas}}</nowiki></code>. This will show a list of all recordings by Ángel D'Agostino and all singers except Ángel Vargas.}} | ||
==Templates== | ==Templates== | ||
− | This template uses 3 subtemplates for the table: | + | This template uses 3 subtemplates for the table (different to song recordings!): |
− | *[[Template:Record table | + | *[[Template:Record table intro orchestra|Record table intro orchestra]] |
− | * | + | *[[Template:Record table body orchestra|Record table body orchestra]] |
− | *[[Template:Record table outro|Record table outro]]. | + | *[[Template:Record table outro orchestra |Record table outro orchestra]]. |
− | < | + | <includeonly>[[Category:Article template]]</includeonly> |
− | + |
Latest revision as of 16:24, 15 August 2015
This template can be included into articles. It shows a table of all recordings of a certain orchestra.
Edit the source code to see the template code.
Contents
Usage
Use the following code within an article of an orchestra:
{{Recordings by orchestra}}
This will list all recordings stored in the TangoWiki that are assigned to this orchestra with their data.
Full example with optional parameters:
{{Recordings by orchestra
Name of the orchestra
|
|singer=
Ángel Vargas
|pianist=
Lidio Fasoli
|start=
1937-01-01
|end=
1937-12-31
}}
Recordings with a different orchestra
If the recordings concern another orchestra as the one in the page name, like in the case of Edgardo Donato (with Donato-Zerrillo), use the following code:
{{Recordings by orchestra|Name of the orchestra}}
.
This will show only the recordings of the specified orchestra (using the short form of the orchestra, not the long form).
Recordings with a certain singer
To show only recordings with a certain singer (or only those "Instrumental"), include the value in the query:
|singer=Ángel Vargas
Hence, the full query could look like this (example):
{{Recordings by orchestra|Ángel D'Agostino|singer=Ángel Vargas}}
Recordings of a certain date range
When you only want to show a certain date range of recordings instead of all, you can include the date range in the query:
{{Recordings by orchestra|Name of the orchestra|start=1937-01-01|end=1937-12-31}}
.
Include the start date AND the end date for the date range. The query then uses the operators "bigger than >" and "smaller than <" to display only the recordings from this date range.
Records with a certain musician: piano player
At the moment, it is only possible to query for the piano player:
|pianist=Lidio Fasoli
The full query:
{{Recordings by orchestra|Name of the orchestra|pianist=Lidio Fasoli}}
.
Example
(In the example are only the first 3 recordings shown!)
Code on the page:
{{Recordings by orchestra|Edgardo Donato}}
Result: There are 0 recordings. Click expand to view all.
Code on the page:
{{Recordings by orchestra|Donato-Zerrillo}}
Result: There are 50 recordings. Click expand to view all.
Orchestra | Singer | Record date | Genre | Label | Disco No | Side | Matrix prefix | Matrix No | Disc type | Key | Sound snippet |
---|