Difference between revisions of "Template:Edc"

From ChoralWiki
Jump to navigation Jump to search
m
 
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 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.

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.