Template:SongsTable-devel
A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
| All songs (toggle alternate titles )
{{#cargo_query: tables=Songs,Performances |
join on=Songs.page=Performances.song | group by=sort_title | fields=title,disambiguation,Songs.type=sType,w_title,lookup_title,Songs.page=sPage,sort_title,COUNT(*) | order by=sort_title,disambiguation | format=template | template=SongRow-devel | offset= | limit=max |
|---|
A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
Documentation
This is a development template, which means it is not for general production use (yet), and it's possibly poorly documented, as it is still under (possibly rapid) development.
This can be used to experiment with Cargo queries for the performance database, listing all known songs Angelina has sung or a subset of that list. Each table row is rendered by the {{SongRow-devel}} template.
Usage
{{SongsTable-devel}}{{SongsTable-devel|offset=|limit=}}
If specified, offset is how many results (song titles) will be skipped at the start of the list (default value: 0) and limit is the maximum number of results to display (default value: max, meaning all results will be displayed).
Example
{{SongsTable-devel|offset=200|limit=10}}
⇓
A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
| All songs (toggle alternate titles )
{{#cargo_query: tables=Songs,Performances |
join on=Songs.page=Performances.song | group by=sort_title | fields=title,disambiguation,Songs.type=sType,w_title,lookup_title,Songs.page=sPage,sort_title,COUNT(*) | order by=sort_title,disambiguation | format=template | template=SongRow-devel | offset=200 | limit=10 |
|---|
A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
Note that some of the rows are hidden until you toggle-on the alternate titles.
See also
{{SongRow-devel}}