Template:Request: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(fix sorting)
(updating code with #if instead of switch)
Line 18: Line 18:
'''Date of request:''' {{{4}}}
'''Date of request:''' {{{4}}}
{{switch|{{{requester|empty}}}|case: empty=|default=<p>'''Requested by:''' {{{requester}}}</p>}}{{switch|{{{requesternotes|empty}}}|case: empty=|default=<p>'''Additional notes:''' {{{requesternotes}}}</p>}}
{{switch|{{{requester|empty}}}|case: empty=|default=<p>'''Requested by:''' {{{requester}}}</p>}}{{switch|{{{requesternotes|empty}}}|case: empty=|default=<p>'''Additional notes:''' {{{requesternotes}}}</p>}}
'''Status:''' {{CiteCat|{{{5|Requested}}}}}{{switch|{{{datecompleted|empty}}}|case: empty=|default=<hr>}}{{switch|{{{datecompleted|empty}}}|case: empty=|default=<p>'''Date completed:''' {{{datecompleted}}}</p>}}{{switch|{{{volunteer|empty}}}|case: empty=|default=<p>'''Volunteer:''' [[User:{{{volunteer}}}|{{{volunteer}}}]]</p>}}{{switch|{{{volunteernotes|empty}}}|case: empty=|default=<p>'''Edition notes:''' {{{volunteernotes}}}</p>}}{{switch|{{{scorepage|empty}}}|case: empty=|default=<p><b>[[{{{scorepage}}}|Click here]]</b> to view the page where the completed score is located.</p>}}<includeonly>
'''Status:''' {{CiteCat|{{{5|Requested}}}}}{{switch|{{{datecompleted|empty}}}|case: empty=|default=<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><b>[[{{{scorepage}}}|Click here]]</b> to view the page where the completed score is located.</p>}}<includeonly>
[[Category:Requests|{{switch|{{{correctedtitle|empty}}}|case: empty={{switch|{{{scorepage|empty}}}|case: empty={{PAGENAME}}|default={{{scorepage}}}}}|default={{{correctedtitle}}}}}]]
[[Category:Requests|{{switch|{{{correctedtitle|empty}}}|case: empty={{switch|{{{scorepage|empty}}}|case: empty={{PAGENAME}}|default={{{scorepage}}}}}|default={{{correctedtitle}}}}}]]
[[Category:Requests by composer|{{uc:{{{3}}}, {{{2}}}}} - {{{1}}}]]
[[Category:Requests by composer|{{uc:{{{3}}}, {{{2}}}}} - {{{1}}}]]

Revision as of 03:43, 7 April 2014

Note: This template has been superceded by ChoralWiki:ScoreRequest

Title: {{{1}}}

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

Date of request: {{{4}}}

Status: Requested{{#if

|

[[{{{scorepage}}}|Click here]] to view the page where the completed score is located.

}}