Template:Request: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(enhanced documentation)
(show divider line for pending status too)
(One intermediate revision by the same user not shown)
Line 14: Line 14:
;Complete syntax
;Complete syntax
If {{para|status|Completed}}, add the following entries:
If {{para|status|Completed}}, add the following entries:
  <nowiki>{{Request|<title>|<composer given name(s)>|<composer surname>|<date requested>|Completed
  <nowiki>{{Request|<title>|<composer given name(s)>|<composer surname>|<date requested>|Completed|
|requester      =
|requester      =
|requesternotes =
|requesternotes =
|volunteer      =
|volunteer      =
|volunteernotes =
|volunteernotes =
|datecompleted  =
|datecompleted  =
|scorepage      ={{PAGENAME}} or work title
|scorepage      ={{PAGENAME}} or work title
}}</nowiki>
}}</nowiki>
where <requester>, <requesternotes>, <volunteer> and <volunteernotes> are all optional.
where <requester>, <requesternotes>, <volunteer> and <volunteernotes> are all optional.
}}</noinclude>
}}</noinclude>
Line 33: Line 33:
|<p>'''Additional notes:''' {{{requesternotes}}}</p>}}
|<p>'''Additional notes:''' {{{requesternotes}}}</p>}}
'''Status:''' {{CiteCat|{{{5|Requested}}}}}
'''Status:''' {{CiteCat|{{{5|Requested}}}}}
{{#if: {{{datecompleted|}}}  
{{#if: {{{datecompleted|}}}{{{volunteer|}}}{{{scorepage|}}}|<hr>}}
|<hr><p>'''Date completed:''' {{{datecompleted}}}</p>}}{{#if: {{{volunteer|}}}
{{#if: {{{datecompleted|}}}
|<p>'''Date completed:''' {{{datecompleted}}}</p>}}{{#if: {{{volunteer|}}}
|<p>'''Volunteer:''' [[User:{{{volunteer}}}|{{{volunteer}}}]]</p>}}{{#if: {{{volunteernotes|}}}
|<p>'''Volunteer:''' [[User:{{{volunteer}}}|{{{volunteer}}}]]</p>}}{{#if: {{{volunteernotes|}}}
|<p>'''Edition notes:''' {{{volunteernotes}}}</p>}}{{#if: {{{scorepage|}}}
|<p>'''Edition notes:''' {{{volunteernotes}}}</p>}}{{#if: {{{scorepage|}}}

Revision as of 17:17, 26 September 2015

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' 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.

Title:

Composer: [[ ]]

Date of request:

Status: Requested