Template:Recent postings: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(lists works with recently posted editions, genre, voicing, language, and accompaniment specific)
 
m (Text replacement - "Category:Templates]]" to "Category:DPL templates]] Category:Templates")
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>'''Default output'''</noinclude>
<noinclude>'''Default output'''</noinclude>
{{#dpl:
{{#dpl:
|categorymatch=Posted on day%
<!--|categorymatch=Posted on day {{CURRENTDAY}}{{!}}Posted on day {{#time:j|now-1days}}{{!}}Posted on day {{#time:j|now-2days}}{{!}}Posted on day {{#time:j|now-3days}}{{!}}Posted on day {{#time:j|now-4days}}{{!}}Posted on day {{#time:j|now-5days}}{{!}}Posted on day {{#time:j|now-6days}}{{!}}Posted on day {{#time:j|now-7days}}{{!}}Posted on day {{#time:j|now-8days}}{{!}}Posted on day {{#time:j|now-9days}}{{!}}Posted on day {{#time:j|now-10days}}{{#ifexpr:{{{days|30}}}>19|{{!}}Posted on day {{#time:j|now-11days}}{{!}}Posted on day {{#time:j|now-12days}}{{!}}Posted on day {{#time:j|now-13days}}{{!}}Posted on day {{#time:j|now-14days}}{{!}}Posted on day {{#time:j|now-15days}}{{!}}Posted on day {{#time:j|now-16days}}{{!}}Posted on day {{#time:j|now-17days}}{{!}}Posted on day {{#time:j|now-18days}}{{!}}Posted on day {{#time:j|now-19days}}{{!}}Posted on day {{#time:j|now-20days}}}}{{#ifexpr:{{{days|30}}}>29|{{!}}Posted on day {{#time:j|now-21days}}{{!}}Posted on day {{#time:j|now-22days}}{{!}}Posted on day {{#time:j|now-23days}}{{!}}Posted on day {{#time:j|now-24days}}{{!}}Posted on day {{#time:j|now-25days}}{{!}}Posted on day {{#time:j|now-26days}}{{!}}Posted on day {{#time:j|now-27days}}{{!}}Posted on day {{#time:j|now-28days}}{{!}}Posted on day {{#time:j|now-29days}}{{!}}Posted on day {{#time:j|now-30days}}}}-->
|notcategory=At least {{{days|30}}} days old
|category=Sheet music
|category=Sheet music
|category={{{genre|{{{1|Renaissance music}}}}}}
|category={{{era|{{{1|Renaissance music}}}}}}
|category={{{voicing|{{{2|*SATB}}}}}}
|category={{#if:{{{voicing|{{{2|}}}}}}|{{{voicing|{{{2|}}}}}}|_none_}}
|category=Works in {{{language|{{{3|}}}}}}%
|category={{#if:{{{language|{{{3|}}}}}}|Works in {{{language|{{{3|}}}}}}%|_none_}}
|category={{{instruments|{{{4|a cappella}}}}}}
|category={{#if:{{{instruments|{{{4|}}}}}}|{{{instruments|{{{4|}}}}}}|_none_}}
|namespace=
|namespace=
|distinct=false
|distinct=false
|mode=category
|mode=category
|ordermethod=sortkey
|ordermethod=sortkey
|resultsheader='''{{{genre|{{{1|Renaissance music}}}}}}''' works for '''{{{voicing|{{{2|*SATB}}}}}}''' voices in {{{language|{{{3|any language}}}}}} and {{{instruments|{{{4|no accompanying instruments}}}}}} posted in the past 31 days.
|resultsheader=({{{era|{{{1|Renaissance music}}}}}}) works for ({{{voicing|{{{2|any combination of voices}}}}}}), in {{{language|{{{3|any language}}}}}}, {{{instruments|{{{4|arbitrary instrumentation}}}}}}, posted in the past ({{{days|30}}}) days.
|noresultsheader=There were no new editions of ''{{{genre|{{{1|Renaissance music}}}}}}'' works for {{{voicing|{{{2|*SATB}}}}}} voices in {{{language|{{{3|any language}}}}}} with {{{instruments|{{{4|no accompanying instruments}}}}}} contributed in the past 31 days.
|noresultsheader=There were no new editions of ({{{era|{{{1|Renaissance music}}}}}}) works for ({{{voicing|{{{2|any combination of voices}}}}}}), in {{{language|{{{3|any language}}}}}}, {{{instruments|{{{4|arbitrary instrumentation}}}}}}, contributed in the past ({{{days|30}}}) days.
|rowcolformat=width=100%
|rowcolformat=width=100%
|offset={{{skip|0}}}
|offset={{{skip|0}}}
|count=200
|count=200
}}
}}
<noinclude>
<noinclude><hr>
'''Parameters:'''
'''Parameters:'''
* '''genre''' (or first unnamed parameter): defaults to Renaissance. To specify, say, Baroque and Classical era music, use
* '''days''': defaults to '''30'''.  This yields a listing of works posted in the past 31 days (ie. the current day and the 30 preceding days).  '''The only other acceptable value is 90'''.
* '''era''' (or first unnamed parameter): defaults to '''Renaissance music'''. To specify, say, Baroque and Classical era music, use
<pre>genre=Baroque music{{!}}Classical music</pre>
<pre>genre=Baroque music{{!}}Classical music</pre>
* '''voicing''' (or second unnamed parameter): defaults to *SATB. To specify, say, SSATBB and SSAATTBB works (including those with possibly divided chorus such as SATB.SB or SATB.SATB), use
* '''voicing''' (or second unnamed parameter): defaults to all voicings (none specified). To specify, say, SSATBB and SSAATTBB works (including those with possibly divided chorus such as SATB.SB or SATB.SATB), use
<pre>voicing=*SSATB{{!}}*SSAATTBB</pre>
<pre>voicing=SSATB{{!}}SSAATTBB</pre>
* '''language''' (or third unnamed parameter): defaults to any language.  To specify, say, Latin, use
* '''language''' (or third unnamed parameter): defaults to any language (none specified).  To specify, say, Latin, use
<pre>language=Latin</pre>
<pre>language=Latin</pre>
* '''instruments''' (or fourth unnamed parameter): defaults to ''a cappella''.  To specify, say, organ accompaniment, use the name of the corresponding instrumental accompaniment category,
* '''instruments ''' (or fourth unnamed parameter): defaults to arbitrary instrumentation (none specified).  To specify an accompaniment, use the name of the corresponding instrumental accompaniment category, such as '''a cappella''' or '''organ accompaniment'''.  For example,
<pre>instruments=organ accompaniment</pre>
<pre>instruments=organ accompaniment</pre>


'''Example:'''
'''Example:'''
<pre>{{Recent Postings|Modern|*SATB{{!}}*SSATB|Latin|organ accompaniment}}</pre>
<pre>{{Recent postings|Modern music{{!}}Early 20th century music}}</pre>
yields:
yields:
{{Recent Postings|Modern|*SATB{{!}}*SSATB|Latin|organ accompaniment}}
{{Recent postings|Modern music{{!}}Early 20th century music}}


'''Another example:'''
<pre>{{Recent postings|days=90|Baroque music{{!}}Renaissance music|SATB{{!}}SSATBB|Latin|a cappella}}</pre>
yields:
{{Recent postings|days=90|Baroque music{{!}}Renaissance music|SATB{{!}}SSATBB|Latin|a cappella}}
[[Category:DPL templates]]
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 04:39, 5 January 2020

Default output

(Renaissance music) works for (any combination of voices), in any language, arbitrary instrumentation, posted in the past (30) days.

A


Parameters:

  • days: defaults to 30. This yields a listing of works posted in the past 31 days (ie. the current day and the 30 preceding days). The only other acceptable value is 90.
  • era (or first unnamed parameter): defaults to Renaissance music. To specify, say, Baroque and Classical era music, use
genre=Baroque music{{!}}Classical music
  • voicing (or second unnamed parameter): defaults to all voicings (none specified). To specify, say, SSATBB and SSAATTBB works (including those with possibly divided chorus such as SATB.SB or SATB.SATB), use
voicing=SSATB{{!}}SSAATTBB
  • language (or third unnamed parameter): defaults to any language (none specified). To specify, say, Latin, use
language=Latin
  • instruments (or fourth unnamed parameter): defaults to arbitrary instrumentation (none specified). To specify an accompaniment, use the name of the corresponding instrumental accompaniment category, such as a cappella or organ accompaniment. For example,
instruments=organ accompaniment

Example:

{{Recent postings|Modern music{{!}}Early 20th century music}}

yields:

(Modern music|Early 20th century music) works for (any combination of voices), in any language, arbitrary instrumentation, posted in the past (30) days.

A


Another example:

{{Recent postings|days=90|Baroque music{{!}}Renaissance music|SATB{{!}}SSATBB|Latin|a cappella}}

yields:

There were no new editions of (Baroque music|Renaissance music) works for (SATB|SSATBB), in Latin, a cappella, contributed in the past (90) days.