Difference between revisions of "Template:Recordings by orchestra"
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly> |
− | {{# | + | {{#ask:[[Rec:+]][[Record has orchestra::{{{1|{{BASEPAGENAME}}}}}]] {{#if:{{{start|}}}|[[Record has record date::>{{{start}}}]]}} {{#if:{{{end|}}}|[[Record has record date::<{{{end}}}]]}} {{#if:{{{singer|}}}|[[Record has singer::{{{singer}}}]]}} {{#if:{{{pianist|}}}|[[Record has piano player::{{{pianist}}}]]}} |
|?Record has title | |?Record has title | ||
− | |||
|?Record has singer | |?Record has singer | ||
|?Record has record date | |?Record has record date | ||
Line 12: | Line 11: | ||
|?Record has side | |?Record has side | ||
|?Record has disc type | |?Record has disc type | ||
− | | | + | {{#if:{{{pianist|}}}|{{!}}?Record has piano player}} |
− | + | ||
− | |?Record has | + | |
|format=template | |format=template | ||
|template=Record table body orchestra | |template=Record table body orchestra | ||
|introtemplate=Record table intro orchestra | |introtemplate=Record table intro orchestra | ||
|outrotemplate=Record table outro orchestra | |outrotemplate=Record table outro orchestra | ||
+ | |intro=<small>''There are '''{{#ask:[[Rec:+]][[Record has orchestra::{{{1|{{BASEPAGENAME}}}}}]]{{#if:{{{start|}}}|[[Record has record date::>{{{start}}}]]}} {{#if:{{{end|}}}|[[Record has record date::<{{{end}}}]]}} {{#if:{{{singer|}}}|[[Record has singer::{{{singer}}}]]}}{{#if:{{{pianist|}}}|[[Record has piano player::{{{pianist}}}]]}}|format=count}}''' recordings. Click '''expand''' to view all. Sort results with the little arrows.''</small> | ||
+ | |default=<small>''There are '''no''' recordings. See the [[Help:Add a song recording|help section on how to add new recordings]].''</small> | ||
|headers=plain | |headers=plain | ||
|link=all | |link=all |
Latest revision as of 15:10, 17 May 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 |
---|