Difference between revisions of "Template:RepQ2"
Jump to navigation
Jump to search
MasonConklin (talk | contribs) |
MasonConklin (talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
{{#cargo_query: | {{#cargo_query: | ||
tables=Repertoire | tables=Repertoire | ||
|fields=_pageName=RepertoirePage | |fields= Title, Composer,Level,_pageName=RepertoirePage | ||
|where= | |where= | ||
{{#if: | {{#if: | ||
{{{LevelLow|}}} | {{{LevelLow|}}} | ||
|Level >= '{{{LevelLow|}}}' AND|}} | |Level >= '{{{LevelLow|}}}' AND | ||
}} | |||
{{#if: | |||
{{{LevelHi|}}} | |||
|Level <= '{{{LevelHi|}}}' AND | |||
}} | |||
{{#if: | |||
{{{Tonic|}}} | |||
|Tonic= '{{{Tonic|}}}' AND | |||
}} | |||
{{#if: | |||
{{{Mode|}}} | |||
|Mode= '{{{Mode|}}}' AND | |||
}} | |||
{{#if: | |||
{{{Tempo|}}} | |||
|Tempo= '{{{Tempo|}}}' AND | |||
}} | |||
{{#if: | |||
{{{Period|}}} | |||
|Period = '{{{Period|}}}' AND | |||
}} | |||
{{#if: | |||
{{{Mood|}}} | |||
|Mood= '{{{Mood|}}}' AND | |||
}} | |||
_pageID > 0 | _pageID > 0 | ||
|format= | |format=table | ||
}} | }} | ||
</includeonly> | </includeonly> |
Latest revision as of 20:30, 23 March 2022
This is the Repertoire Query, attempt 2 at a query form. Form:RepQ2 to call in RunQuery This is the "RepQ2" template.
It should be called in the following format:
{{RepQ2 |LevelLow= |LevelHi= |Tonic= |Mode= |Tempo= |Period= |Mood= }}
Edit the page to see the template text.