Template:TrainingAids: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
mNo edit summary
(short documentation)
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
*'''Training aids:''' {{#if:{{{file1|}}}
'''{{{1|Training aids}}}:''' {{#if:{{{file1|}}}
|   {{{desc1|}}}[[:file:{{{file1}}}|:]] [{{filepath:{{{file1}}}}} {{ {{lc:{{#explode:{{{file1}}}|.|-1}}}} }}]
|   {{{desc1|}}}: [[Media:{{{file1}}}|{{ {{lc:{{#explode:{{{file1}}}|.|-1}}}} }}]]
}}{{#if:{{{file2|}}}
}}{{#if:{{{file2|}}}
|   {{{desc2|}}}[[:file:{{{file2}}}|:]] [{{filepath:{{{file2}}}}} {{ {{lc:{{#explode:{{{file2}}}|.|-1}}}} }}]
|   {{{desc2|}}}: [[Media:{{{file2}}}|{{ {{lc:{{#explode:{{{file2}}}|.|-1}}}} }}]]
}}{{#if:{{{file3|}}}
|   {{{desc3|}}}: [[Media:{{{file3}}}|{{ {{lc:{{#explode:{{{file3}}}|.|-1}}}} }}]]
}}{{#if:{{{file4|}}}
|   {{{desc4|}}}: [[Media:{{{file4}}}|{{ {{lc:{{#explode:{{{file4}}}|.|-1}}}} }}]]
}}{{#if:{{{file5|}}}
|   {{{desc5|}}}: [[Media:{{{file5}}}|{{ {{lc:{{#explode:{{{file5}}}|.|-1}}}} }}]]
}}{{#if:{{{file6|}}}
|   {{{desc6|}}}: [[Media:{{{file6}}}|{{ {{lc:{{#explode:{{{file6}}}|.|-1}}}} }}]]
}}{{#if:{{{file7|}}}
|   {{{desc7|}}}: [[Media:{{{file7}}}|{{ {{lc:{{#explode:{{{file7}}}|.|-1}}}} }}]]
}}{{#if:{{{file8|}}}
|   {{{desc8|}}}: [[Media:{{{file8}}}|{{ {{lc:{{#explode:{{{file8}}}|.|-1}}}} }}]]
}}
}}
:'''Editor:''' [[User:{{{editor|<noinclude>Unknown</noinclude>}}}|{{{editor|<noinclude>Unknown</noinclude>}}}]] ''(submitted {{{date|1999-01-01}}})''. &nbsp; <!--
:{{#if:{{{editor|}}}|'''Editor:'''|'''Contributor:'''}} [[User:{{{editor|{{{contrib|<noinclude>Unknown</noinclude>}}}}}}|{{{editor|{{{contrib|<noinclude>Unknown</noinclude>}}}}}}]] ''(submitted {{{date|<noinclude>1999-01-01</noinclude>}}})''. &nbsp; {{copy|{{{right|CPDL}}}}}<includeonly>[[{{{editor|{{{contrib|}}}}}} training aids| ]][[Category:Works with training aids]]</includeonly>
{{editor|{{{editor|}}}|{{{date|1999-01-01}}}}}-->{{copy|{{{right|CPDL}}}}}<includeonly>[[Category:{{{editor|}}} training aids]]</includeonly>
:{{#if:{{{CPDL#|<noinclude>99999</noinclude>}}}
:{{#if:{{{CPDL#|<noinclude>99999</noinclude>}}}
|'''Edition notes:''' based on '''CPDL #<font color=green>{{{CPDL#|99999}}}</font>'''{{{notes|}}}
|'''Edition notes:''' based on '''CPDL #<font color=green>{{{CPDL#|99999}}}</font>'''. {{{notes|}}}
}}<noinclude>
|{{#if:{{{notes|}}}
|'''Edition notes:''' {{{notes|}}}
}} }}<noinclude>
{{Doc|1=
This template was created to allow contributors of MIDI files to have their files displayed on a works page without having to go through the ''Add work'' process (MIDI files alone aren't considered an edition and don't receive a CPDL# unless they are accompanied by a PDF file).


;Syntax
<pre>{{TrainingAids
|contrib = contributor name
|file1 = filename
|desc1 = optional description
|file2 = filename
|desc2 = optional description
|file3 = filename
|desc3 = optional description
|file4 = filename
|desc4 = optional description
|file5 = filename
|desc5 = optional description
|file6 = filename
|desc6 = optional description
|file7 = filename
|desc7 = optional description
|file8 = filename
|desc8 = optional description
|date  = upload date
|CPDL# = optional, inform only if aids are based on a specific edition
|notes = optional notes}}
</pre>}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 14:35, 16 March 2021

Training aids:

Contributor: Unknown (submitted 1999-01-01).   Copyright: CPDL
Edition notes: based on CPDL #99999.
Documentation

This template was created to allow contributors of MIDI files to have their files displayed on a works page without having to go through the Add work process (MIDI files alone aren't considered an edition and don't receive a CPDL# unless they are accompanied by a PDF file).

Syntax
{{TrainingAids
|contrib = contributor name
|file1 = filename
|desc1 = optional description
|file2 = filename
|desc2 = optional description
|file3 = filename
|desc3 = optional description
|file4 = filename
|desc4 = optional description
|file5 = filename
|desc5 = optional description
|file6 = filename
|desc6 = optional description
|file7 = filename
|desc7 = optional description
|file8 = filename
|desc8 = optional description
|date  = upload date
|CPDL# = optional, inform only if aids are based on a specific edition
|notes = optional notes}}