Template:Request: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(made documentation visible (pending completion))
(show divider line for pending status too)
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
</div>
</div>
{{DisplayBox|title=Documentation|text=
{{DisplayBox|title=Documentation|text=
;SYNTAX
;Basic syntax
:{{tl|Request|<title>|<composer given name(s)>|<composer surname>|<date requested>|<status(optional)>}}
<nowiki>{{Request|<title>|<composer given name(s)>|<composer surname>|<date requested>|<status(optional)>}}</nowiki>
where:
where:
*<date-requested> has yyyy-mm-dd format
*<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'
*<status(optional)> is one of 'Requested' 'Pending' 'Completed' 'Copyright-restricted' or it may be omitted and defaults to 'Requested'
;Complete syntax
If {{para|status|Completed}}, add the following entries:
<nowiki>{{Request|<title>|<composer given name(s)>|<composer surname>|<date requested>|Completed|
|requester      =
|requesternotes =
|volunteer      =
|volunteernotes =
|datecompleted  =
|scorepage      ={{PAGENAME}} or work title
}}</nowiki>
where <requester>, <requesternotes>, <volunteer> and <volunteernotes> are all optional.
}}</noinclude>
}}</noinclude>
'''Title:''' <i>{{{correctedtitle|{{{1|}}}}}}</i>
'''Title:''' <i>{{{correctedtitle|{{{1|}}}}}}</i>
Line 21: 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