Template:Edc: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{{1|}}}|arr=Arranged by {{cat|{{{2|}}} arrangements|{{{2|}}}}}[[Category:{{{2|}}} compositions]]|ins=with {{{2|}}}|lan=in {{cat|Works in {{{2|}}}|{{{2|}}}}}|lyr=lyrics by {{cat|Works with {{{2|}}} texts|{{{2|}}}}}|tex=see text at [[{{{2|}}}}}]] page|von=for {{cat|{{{2|}}}-part choral music|{{{2|}}}}} voices|voi=for {{cat|{{{2|}}}|{{{2|}}}}}}}</includeonly><noinclude>
<includeonly>{{#switch:{{{1|}}}|arr=Arranged by {{cat|{{{2|}}} arrangements|{{{2|}}}}}<!--[[Category:{{{2|}}} compositions]]-->|ins=with {{{2|}}}|lan=in {{cat|Works in {{{2|}}}|{{{2|}}}}}|lyr=lyrics by {{cat|Works with {{{2|}}} texts|{{{2|}}}}}|tex=see text at [[{{{2|}}}}}]] page|von=for {{cat|{{{2|}}}-part choral music|{{{2|}}}}} voices|voi=for {{cat|{{{2|}}}|{{{2|}}}}}}}</includeonly><noinclude>
 
THIS TEMPLATE is intended for use with the {{tl|EdNotes}} template, so that proper categorization of the Edition can occur. For example, use of {{tl|Edc}} to categorize a voicing (rather that adding the Edition's voicing to the {{tl|Voicing}} template) means the Voicing template will correctly reflect the original edition, while still including the page in the proper voicing category. Including all Editions in the {{tl|Voicing}} template is possible for works with one or two editions, but becomes nearly impossible (and meaningless) for more complex pages.
 
THIS TEMPLATE is for experimental use. It does not yet check against accepted values for categories, so be careful. Currently editor must supply punctuation at end or beginning as needed.
 
<u>'''Syntax'''</u>
:<tt><nowiki>{{Edc|<code for category>|<value>}}</nowiki></tt>
 
<u>'''Parameters'''</u>
:1. One of seven codes:
::*<tt>arr</tt> – Displays "Arranged by <font color=blue><value></font>". Puts <value> in Category:<value> arrangements. Use a name in [[:Category:Composers]]<!--; otherwise a link will appear to create a page with that name-->.
::*<tt>ins</tt> – Displays "in <font color=blue><value></font>". Puts <value> in Template:{{tl|Instruments}} '''(Please don't use this yet - not developed)'''
::*<tt>lan</tt> – Displays "in <font color=blue><value></font>". Puts <value> in Category:Works in <value>.
::*<tt>lyr</tt> – Displays "lyrics by <font color=blue><value></font>". Puts <value> in Category:Works with <value> texts. Use a name in [[:Category:Lyricists]]<!--; otherwise a link will appear to create a page with that name-->.
::*<tt>tex</tt> – Displays "see text at <font color=blue><value></font> page"
::*<tt>von</tt> – Displays "for <font color=blue><value></font> voices". Puts <value> in Category:<value>-part choral music. One integer number only, "1" through "26".
::*<tt>voi</tt> – Displays "for <font color=blue><value></font>". Puts <value> in Category:<value>. Use existing category values for voicing, listed at …… .
:2. The value for the codes in parameter 1.


THIS TEMPLATE is a temporary substitute for {{tl|EdCha}}.


[[Category:Experimental templates]]
[[Category:Experimental templates]]


</noinclude>
</noinclude>

Latest revision as of 18:24, 18 July 2021


THIS TEMPLATE is intended for use with the {{EdNotes}} template, so that proper categorization of the Edition can occur. For example, use of {{Edc}} to categorize a voicing (rather that adding the Edition's voicing to the {{Voicing}} template) means the Voicing template will correctly reflect the original edition, while still including the page in the proper voicing category. Including all Editions in the {{Voicing}} template is possible for works with one or two editions, but becomes nearly impossible (and meaningless) for more complex pages.

THIS TEMPLATE is for experimental use. It does not yet check against accepted values for categories, so be careful. Currently editor must supply punctuation at end or beginning as needed.

Syntax

{{Edc|<code for category>|<value>}}

Parameters

1. One of seven codes:
  • arr – Displays "Arranged by <value>". Puts <value> in Category:<value> arrangements. Use a name in Category:Composers.
  • ins – Displays "in <value>". Puts <value> in Template:{{Instruments}} (Please don't use this yet - not developed)
  • lan – Displays "in <value>". Puts <value> in Category:Works in <value>.
  • lyr – Displays "lyrics by <value>". Puts <value> in Category:Works with <value> texts. Use a name in Category:Lyricists.
  • tex – Displays "see text at <value> page"
  • von – Displays "for <value> voices". Puts <value> in Category:<value>-part choral music. One integer number only, "1" through "26".
  • voi – Displays "for <value>". Puts <value> in Category:<value>. Use existing category values for voicing, listed at …… .
2. The value for the codes in parameter 1.