Template:Request: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(request categorizing done first by correctedtitle, then by scoretitle (really the scorelocation), then last by PAGENAME)
(show divider line for pending status too)
(20 intermediate revisions by 2 users not shown)
Line 2: Line 2:
<div style="margin: 0; margin-right: 30px; margin-left: 30px; border: 1px solid #3399ff; padding: 1em 1em 1em 1em; background-color: #ffdddd">
<div style="margin: 0; margin-right: 30px; margin-left: 30px; border: 1px solid #3399ff; padding: 1em 1em 1em 1em; background-color: #ffdddd">
<center>
<center>
'''Note: This template has been superceded by [[ChoralWiki:ScoreRequest]]'''
'''Note:''' This template was superseded by [[Template:ScoreRequest]] from 2008 to 2014 but is again in use by the new Form system.
</center>
</center>
</div>
</div>
</noinclude>
{{DisplayBox|title=Documentation|text=
<!-- SYNTAX:
;Basic syntax
{{Request|<title>|<composer given name(s)>|<composer surname>|<date requested>|<status>}}
<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> is one of 'Requested' 'Pending' 'Completed' 'Copyright-restricted'
*<status(optional)> is one of 'Requested' 'Pending' 'Completed' 'Copyright-restricted' or it may be omitted and defaults to 'Requested'
-->
'''Title:''' <i>{{switch|{{{correctedtitle|empty}}}|case: empty={{{1}}}|default={{{correctedtitle}}}}}</i>


'''Composer:''' [[{{{2}}} {{{3}}}]]
;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>
'''Title:''' <i>{{{correctedtitle|{{{1|}}}}}}</i>


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


'''Date Requested:''' {{{4}}}
'''Date of request:''' {{{4|}}}
{{switch|{{{requester|empty}}}|case: empty=|default=<p>'''Requested by:''' {{{requester}}}}}</p>
{{#if: {{{requester|}}}  
{{switch|{{{requesternotes|empty}}}|case: empty=|default=<p>'''Additional notes:''' {{{requesternotes}}}}}</p>
|<p>'''Requested by:''' {{{requester}}}</p>}}{{#if: {{{requesternotes|}}}
{{switch|{{{datecompleted|empty}}}|case: empty=|default=<hr>}}
|<p>'''Additional notes:''' {{{requesternotes}}}</p>}}
{{switch|{{{datecompleted|empty}}}|case: empty=|default=<p>'''Date Completed:''' {{{datecompleted}}}}}</p>
'''Status:''' {{CiteCat|{{{5|Requested}}}}}
{{switch|{{{volunteer|empty}}}|case: empty=|default=<p>'''Volunteer:''' [[User:{{{volunteer}}}|{{{volunteer}}}]]}}</p>
{{#if: {{{datecompleted|}}}{{{volunteer|}}}{{{scorepage|}}}|<hr>}}
{{switch|{{{volunteernotes|empty}}}|case: empty=|default=<p>'''Edition notes:''' {{{volunteernotes}}}}}</p>
{{#if: {{{datecompleted|}}}
{{switch|{{{scoretitle|empty}}}|case: empty=|default=<p><b>[[{{{scoretitle}}}|Click here]]</b> to view the page where the completed score is located.</p>
|<p>'''Date completed:''' {{{datecompleted}}}</p>}}{{#if: {{{volunteer|}}}
}}<includeonly>
|<p>'''Volunteer:''' [[User:{{{volunteer}}}|{{{volunteer}}}]]</p>}}{{#if: {{{volunteernotes|}}}
[[Category:Requests|{{switch|{{{correctedtitle|empty}}}|case: empty={{switch|{{{scoretitle|empty}}}|case: empty={{PAGENAME}}|default={{{scoretitle}}}}}|default={{{correctedtitle}}}}}]]
|<p>'''Edition notes:''' {{{volunteernotes}}}</p>}}{{#if: {{{scorepage|}}}
[[Category:Requests by composer|{{{3}}}, {{{2}}}-{{{1}}}]]
|<p>'''Location of requested score:''' [[{{{scorepage}}}]]</p>}}<includeonly>
[[Category:{{{5}}}|{{switch|{{{correctedtitle|empty}}}|case: empty={{switch|{{{scoretitle|empty}}}|case: empty={{PAGENAME}}|default={{{scoretitle}}}}}|default={{{correctedtitle}}}}}]]
[[Category:Requests|{{#if: {{{correctedtitle|}}} |{{{correctedtitle}}} |{{PAGENAME}} }}]]
[[Category:{{{4}}}]]
[[Category:Requests by composer|{{uc:{{{3}}}, {{{2}}}}} - {{{1}}}]]
</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
[[Category:{{{5}}}|{{#if: {{{correctedtitle|}}} |{{{correctedtitle}}} |{{PAGENAME}} }}]]
[[Category:{{{4}}}]]</includeonly><noinclude>
 
[[Category:Templates]]</noinclude>

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