Difference between revisions of "Template:Request"

From ChoralWiki
Jump to navigation Jump to search
(moved code up)
m
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
 
|<p>'''Additional notes:''' {{{requesternotes}}}</p>}}
 
|<p>'''Additional notes:''' {{{requesternotes}}}</p>}}
 
'''Status:''' {{CiteCat|{{{5|Requested}}}}}
 
'''Status:''' {{CiteCat|{{{5|Requested}}}}}
{{#if: {{{datecompleted|}}}{{{volunteer|}}}{{{scorepage|}}}|<hr>}}
+
{{#if: {{{datecompleted|}}}{{{volunteer|}}}{{{scorepage|}}}|{{#ifeq: {{{5|Requested}}}|Requested
 +
|<p style = "color:red;">'''Error:''' Please change status to "Completed".</p> [[Category:Completed requests with incorrect status]]}}
 +
<hr>}}
 
{{#if: {{{datecompleted|}}}
 
{{#if: {{{datecompleted|}}}
 
|<p>'''Date completed:''' {{{datecompleted}}}</p>}}{{#if: {{{volunteer|}}}
 
|<p>'''Date completed:''' {{{datecompleted}}}</p>}}{{#if: {{{volunteer|}}}

Latest revision as of 21:11, 22 November 2020

Title:

Composer: [[ ]]

Date of request:

Status: Requested


Note: This template was superseded by Template:ScoreRequest from 2008 to 2014 but is again in use by the new Form system.

Documentation
Basic syntax
{{Request|<title>|<composer given name(s)>|<composer surname>|<date requested>|<status(optional)>}}

where:

  • <date-requested> has yyyy-mm-dd format
  • <status(optional)> is one of 'Requested' 'Pending' 'Completed' 'Copyright-restricted' 'Available at IMSLP' or it may be omitted and defaults to 'Requested'
Complete syntax

If |status=Completed, add the following entries:

{{Request|<title>|<composer given name(s)>|<composer surname>|<date requested>|Completed|
|requester      =
|requesternotes =
|volunteer      =
|volunteernotes =
|datecompleted  =
|scorepage      ={{PAGENAME}} or work title
}}

where <requester>, <requesternotes>, <volunteer> and <volunteernotes> are all optional.