Difference between revisions of "Template:Request"

From ChoralWiki
Jump to navigation Jump to search
(catching completed requests with wrong status)
m
 
Line 9: Line 9:
 
'''Status:''' {{CiteCat|{{{5|Requested}}}}}
 
'''Status:''' {{CiteCat|{{{5|Requested}}}}}
 
{{#if: {{{datecompleted|}}}{{{volunteer|}}}{{{scorepage|}}}|{{#ifeq: {{{5|Requested}}}|Requested
 
{{#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]]
+
|<p style = "color:red;">'''Error:''' Please change status to "Completed".</p> [[Category:Completed requests with incorrect status]]}}
 
<hr>}}
 
<hr>}}
 
{{#if: {{{datecompleted|}}}
 
{{#if: {{{datecompleted|}}}

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.