Template:Request: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(added to templates cat)
mNo edit summary
 
(34 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<!-- SYNTAX:
'''Title:''' <i>{{{correctedtitle|{{{1|}}}}}}</i>
{{Request|<title>|<composer given name(s)>|<composer surname>|<date requested>|<status>}}
where:
<date-requested> has yyyy-mm-dd format
<status> is one of 'Requested' 'Pending' 'Completed' 'Copyright-restricted'
-->
'''Title:''' ''{{{1}}}''


'''Composer:''' {{{2}}} {{{3}}}
'''Composer:''' [[{{{2|}}} {{{3|}}}]]


'''Status:''' {{{5}}}
'''Date of request:''' {{{4|}}}
{{#if: {{{requester|}}}
|<p>'''Requested by:''' {{{requester}}}</p>}}{{#if: {{{requesternotes|}}}
|<p>'''Additional notes:''' {{{requesternotes}}}</p>}}
'''Status:''' {{CiteCat|{{{5|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]]}}
<hr>}}
{{#if: {{{datecompleted|}}}
|<p>'''Date completed:''' {{{datecompleted}}}</p>}}{{#if: {{{volunteer|}}}
|<p>'''Volunteer:''' [[User:{{{volunteer}}}|{{{volunteer}}}]]</p>}}{{#if: {{{volunteernotes|}}}
|<p>'''Edition notes:''' {{{volunteernotes}}}</p>}}{{#if: {{{scorepage|}}}
|<p>'''Location of requested score:''' [[{{{scorepage}}}]]</p>}}<includeonly>
[[Category:Requests|{{#if: {{{correctedtitle|}}} |{{{correctedtitle}}} |{{PAGENAME}} }}]]
[[Category:Requests by composer|{{uc:{{{3}}}, {{{2}}}}} - {{{1}}}]]
[[Category:{{{5}}}|{{#if: {{{correctedtitle|}}} |{{{correctedtitle}}} |{{PAGENAME}} }}]]
[[Category:{{{4}}}]]</includeonly><noinclude>
<div style="margin: 0; margin-right: 30px; margin-left: 30px; border: 1px solid #3399ff; padding: 1em 1em 1em 1em; background-color: #ffdddd">
<center>
'''Note:''' This template was superseded by [[Template:ScoreRequest]] from 2008 to 2014 but is again in use by the new Form system.
</center>
</div>
{{DisplayBox|title=Documentation|text=
;Basic syntax
<nowiki>{{Request|<title>|<composer given name(s)>|<composer surname>|<date requested>|<status(optional)>}}</nowiki>
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'


'''Date Requested:''' {{{4}}}
;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.
}}


[[Category:Requests|{{PAGENAME}}]][[Category:Requests by composer|{{{3}}}, {{{2}}}-{{{1}}}]][[Category:{{{5}}}|{{PAGENAME}}]]<noinclude>[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

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.