Template:Legend: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(Actually a 40th -- numbering starts at zero. Doesn't matter how many we have, by the way)
(Added a few lines, to allow up to 46 icons (currently 44 in Template:LegendOrder))
 
(16 intermediate revisions by 3 users not shown)
Line 126: Line 126:
{{#ifexpr:{{#rpos:{{{2}}}|{{#explode:{{LegendOrder}}||39}}}}<>-1|
{{#ifexpr:{{#rpos:{{{2}}}|{{#explode:{{LegendOrder}}||39}}}}<>-1|
{{!}}{{ {{padleft:|{{#expr:{{#len:{{#explode:{{LegendOrder}}||39}}}}-1}}|{{#explode:{{LegendOrder}}||39}}}} }} {{!}}{{!}} {{padright:{{Label|{{padleft:|{{#expr:{{#len:{{#explode:{{LegendOrder}}||39}}}}-1}}|{{#explode:{{LegendOrder}}||39}}}}}}}}
{{!}}{{ {{padleft:|{{#expr:{{#len:{{#explode:{{LegendOrder}}||39}}}}-1}}|{{#explode:{{LegendOrder}}||39}}}} }} {{!}}{{!}} {{padright:{{Label|{{padleft:|{{#expr:{{#len:{{#explode:{{LegendOrder}}||39}}}}-1}}|{{#explode:{{LegendOrder}}||39}}}}}}}}
{{!}}- align="center"}}
{{#ifexpr:{{#rpos:{{{2}}}|{{#explode:{{LegendOrder}}||40}}}}<>-1|
{{!}}{{ {{padleft:|{{#expr:{{#len:{{#explode:{{LegendOrder}}||40}}}}-1}}|{{#explode:{{LegendOrder}}||40}}}} }} {{!}}{{!}} {{padright:{{Label|{{padleft:|{{#expr:{{#len:{{#explode:{{LegendOrder}}||40}}}}-1}}|{{#explode:{{LegendOrder}}||40}}}}}}}}
{{!}}- align="center"}}
{{#ifexpr:{{#rpos:{{{2}}}|{{#explode:{{LegendOrder}}||41}}}}<>-1|
{{!}}{{ {{padleft:|{{#expr:{{#len:{{#explode:{{LegendOrder}}||41}}}}-1}}|{{#explode:{{LegendOrder}}||41}}}} }} {{!}}{{!}} {{padright:{{Label|{{padleft:|{{#expr:{{#len:{{#explode:{{LegendOrder}}||41}}}}-1}}|{{#explode:{{LegendOrder}}||41}}}}}}}}
{{!}}- align="center"}}
{{#ifexpr:{{#rpos:{{{2}}}|{{#explode:{{LegendOrder}}||42}}}}<>-1|
{{!}}{{ {{padleft:|{{#expr:{{#len:{{#explode:{{LegendOrder}}||42}}}}-1}}|{{#explode:{{LegendOrder}}||42}}}} }} {{!}}{{!}} {{padright:{{Label|{{padleft:|{{#expr:{{#len:{{#explode:{{LegendOrder}}||42}}}}-1}}|{{#explode:{{LegendOrder}}||42}}}}}}}}
{{!}}- align="center"}}
{{#ifexpr:{{#rpos:{{{2}}}|{{#explode:{{LegendOrder}}||43}}}}<>-1|
{{!}}{{ {{padleft:|{{#expr:{{#len:{{#explode:{{LegendOrder}}||43}}}}-1}}|{{#explode:{{LegendOrder}}||43}}}} }} {{!}}{{!}} {{padright:{{Label|{{padleft:|{{#expr:{{#len:{{#explode:{{LegendOrder}}||43}}}}-1}}|{{#explode:{{LegendOrder}}||43}}}}}}}}
{{!}}- align="center"}}
{{#ifexpr:{{#rpos:{{{2}}}|{{#explode:{{LegendOrder}}||44}}}}<>-1|
{{!}}{{ {{padleft:|{{#expr:{{#len:{{#explode:{{LegendOrder}}||44}}}}-1}}|{{#explode:{{LegendOrder}}||44}}}} }} {{!}}{{!}} {{padright:{{Label|{{padleft:|{{#expr:{{#len:{{#explode:{{LegendOrder}}||44}}}}-1}}|{{#explode:{{LegendOrder}}||44}}}}}}}}
{{!}}- align="center"}}
{{#ifexpr:{{#rpos:{{{2}}}|{{#explode:{{LegendOrder}}||45}}}}<>-1|
{{!}}{{ {{padleft:|{{#expr:{{#len:{{#explode:{{LegendOrder}}||45}}}}-1}}|{{#explode:{{LegendOrder}}||45}}}} }} {{!}}{{!}} {{padright:{{Label|{{padleft:|{{#expr:{{#len:{{#explode:{{LegendOrder}}||45}}}}-1}}|{{#explode:{{LegendOrder}}||45}}}}}}}}
{{!}}- align="center"}}
{{#ifexpr:{{#rpos:{{{2}}}|{{#explode:{{LegendOrder}}||46}}}}<>-1|
{{!}}{{ {{padleft:|{{#expr:{{#len:{{#explode:{{LegendOrder}}||46}}}}-1}}|{{#explode:{{LegendOrder}}||46}}}} }} {{!}}{{!}} {{padright:{{Label|{{padleft:|{{#expr:{{#len:{{#explode:{{LegendOrder}}||46}}}}-1}}|{{#explode:{{LegendOrder}}||46}}}}}}}}
{{!}}- align="center"}}{{#ifexpr: {{#rpos:{{{2}}}|ScoreError}}<>-1|
{{!}}- align="center"}}{{#ifexpr: {{#rpos:{{{2}}}|ScoreError}}<>-1|
{{!}}{{Error}} {{!}}{{!}} Score Error
{{!}}{{Error}} {{!}}{{!}} Score Error
{{!}}- align="center"}}
{{!}}- align="center"}}
|[[File:Question.gif|20px]] || [[Help]]
|[[File:File_details.gif|link=]] || File details
|- align="center"
|[[File:Question.gif|20px|link=Help]] || [[Help]]
|}
|}
</includeonly><noinclude>
</includeonly><noinclude>
<!--
==Previous Legend (2017-02-24)
<div style="margin: 0 0 1em 0; border: 1px solid #ff99cc; padding: .5em .5em .5em .5em; font-size:75%"><center><strong>[[Template:Legend|L E G E N D ]]</strong> – INTERNAL FILES<br>[[File:Icon_pdf.gif|link=Help:How do I download files?]] PDF&nbsp;&nbsp;[[File:Icon_snd.gif|link=Help:How do I download files?]] MIDI&nbsp;&nbsp;[[File:Icon_mp3.gif|link=Help:How do I download files?]] MP3&nbsp;&nbsp;[[File:MusicXML.png|link=Help:How do I download files?]] MusicXML&nbsp;&nbsp;[[File:Finale.png|link=Help:How do I download files?]] &nbsp;[[File:Finale_2014_icon.png|link=Help:How do I download files?]] &nbsp;[[File:Finale_2014_5_icon.png|link=Help:How do I download files?]] Finale&nbsp;&nbsp;[[File:Sibelius.png|link=Help:How do I download files?]] Sibelius&nbsp;&nbsp;[[File:Capella.png|link=Help:How do I download files?]] [[File:Logo_capella-software_kurz_2011_16x16.png|link=Help:How do I download files?]] Capella&nbsp;&nbsp;[[File:Icon_ly.gif|link=Help:How do I download files?]] LilyPond&nbsp;&nbsp;[[File:Encore_Icon2.png|link=Help:How do I download files?]] Encore&nbsp;&nbsp;[[File:MUP_file_icon.png|link=Help:How do I download files?]] MuP&nbsp;&nbsp;[[File:MuScor.png|link=Help:How do I download files?]] MuseScore&nbsp;&nbsp;[[File:Myr.png|link=Help:How do I download files?]] Myriad&nbsp;&nbsp;[[File:Nwc.png|link=Help:How do I download files?]] NoteWorthy&nbsp;&nbsp;<font color=blue>Program</font>-Other<br>
EXTERNAL FILES:&nbsp;[[File:Network.png|link=Help:How do I download files?]] Web page ([[ChoralWiki:Disclaimer|Disclaimer]])&nbsp;[[File:Icon_pdf_globe.gif|link=Help:How do I download files?]] PDF&nbsp;[[File:Icon_snd_globe.gif|link=Help:How do I download files?]] MIDI&nbsp;[[File:Icon_mp3_globe.gif]] MP3&nbsp;[[File:Icon_ly_ext.png]] LilyPond&nbsp;[[File:Encore_globe.png]]-Encore&nbsp;[[File:Nwc_globe.png]] NoteWorthy&nbsp;MISCELLANEOUS: [[File:Icon_zip.gif|21px|link=Help:How do I download files?]] ZIP file&nbsp;[[File:Error.gif|18px|link=Help:How do I download files?]] Score error&nbsp;[[File:Broken.gif|link=Help:How do I download files?]] Broken link&nbsp;[[File:Question.gif|17px|link=Help:How do I download files?]] Help</center></div>
<noinclude>
-->
==Explanation==
==Explanation==
On an individual work page, only the icons shown on that page are displayed in the legend. All the possible icons are shown in the table to the right. To display the legend on a work page (not a composer page), add <tt><nowiki>{{#Legend:}}</nowiki></tt> on a line just below <tt>==Music Files==</tt>. '''Please do not use <tt><nowiki>{{Legend}}</nowiki></tt> by itself''' – it produces a blank legend.
On an individual work page, only the icons shown on that page are displayed in the legend. All the possible icons are shown in the table to the right. To display the legend on a work page (not a composer page), add <tt><nowiki>{{#Legend:}}</nowiki></tt> on a line just below <tt>==Music Files==</tt>. '''Please do not use <tt><nowiki>{{Legend}}</nowiki></tt> by itself''' – it produces a blank legend.
Line 145: Line 162:
*[[File:Icon_pdf.gif]] – Icon is automatically inserted when pdf file is uploaded into AddWorks form. The primary format for music scores. See [https://get.adobe.com/reader/ this] to download reader
*[[File:Icon_pdf.gif]] – Icon is automatically inserted when pdf file is uploaded into AddWorks form. The primary format for music scores. See [https://get.adobe.com/reader/ this] to download reader
*[[File:Icon_snd.gif]] – Icon is automatically inserted when midi file is uploaded into AddWorks form.  
*[[File:Icon_snd.gif]] – Icon is automatically inserted when midi file is uploaded into AddWorks form.  
*[[File:Icon_mp3.gif]] – Icon is automatically inserted when mp3 file is uploaded into AddWorks form.  
*[[File:Icon_mp3.gif]] – Icon is automatically inserted when mp3 file is uploaded into AddWorks form.
*[[File:Icon_vid2.gif]] – Manually inserted video file.  
'''2. Music Notation Files'''
'''2. Music Notation Files'''
*[[File:MusicXML.png]] – mxl (zipped xml), not automatically inserted; also used for XML files. See [[Help:Format_Choice#Why_should_I_include_a_MusicXML_format_version_of_my_score_or_provide_my_score_in_MusicXML_format|Explanation]]
*[[File:MusicXML.png]] – mxl (zipped xml), inserted when mxl file uploaded into AddWorks form. See [[Help:Format_Choice#Why_should_I_include_a_MusicXML_format_version_of_my_score_or_provide_my_score_in_MusicXML_format|Explanation]]
*[[File:Finale.png]] &nbsp;[[File:Finale_2014_icon.png]] &nbsp;[[File:Finale_2014_5_icon.png]]  – Finale notation (Finale 2012 or before, Finale 2014, Finale 2014.5 and after)
*[[File:Finale.png]] &nbsp;[[File:Finale_2014_icon.png]] &nbsp;[[File:Finale_2014_5_icon.png]]  – Finale notation (Finale 2012 or before, Finale 2014, Finale 2014.5 and after)
*[[File:Sibelius.png]] – Sibelius notation
*[[File:Sibelius.png]] – Sibelius notation
*[[File:Logo_capella-software_kurz_2011_16x16.png]] – Capella-x notation (older Capella files use [[File:Capella.png]])
*[[File:Logo_capella-software_kurz_2011_16x16.png]] – Capella-x notation (older Capella files use [[File:Capella.png]])
*[[File:Dorico.png]] – Dorico music notation software
*[[File:Encore_Icon2.png]] – Encore notation
*[[File:Encore_Icon2.png]] – Encore notation
*[[File:MUP_file_icon.png]] – MuP notation
*[[File:MUP_file_icon.png]] – MuP notation
*[[File:MuScor.png]] – MuseScore notation
*[[File:MuScor.png]]&nbsp;[[File:Musc3.png]]&nbsp;[[File:Musc4.png]] – MuseScore notation
*[[File:Myr.png]] – Myriad notation (Harmony Assistant/Melody Assistant)
*[[File:Myr.png]] – Myriad notation (Harmony Assistant/Melody Assistant)
*[[File:Nwc.png]] – NoteWorthy Composer notation
*[[File:Nwc.png]] – NoteWorthy Composer notation
*[[File:GABC.png]] – Gregorio notation
*[[File:Icon_ly.gif]] – LilyPond notation
*[[File:Icon_ly.gif]] – LilyPond notation
*<font color=blue>'''Program'''</font> – other notation
*<font color=blue>'''Program'''</font> – other notation
Line 167: Line 187:
*[[File:Nwc_globe.png]] – External NoteWorthy Composer
*[[File:Nwc_globe.png]] – External NoteWorthy Composer
*[[File:Capella_globe.png]] – External Capella
*[[File:Capella_globe.png]] – External Capella
*[[File:Dorico_globe.png]] – External Dorico
*[[File:Sib_globe.png]] – External Sibelius
*[[File:XML_globe.png]] – External XML
*[[File:XML_globe.png]] – External XML
*[[File:ExtMuse.png]] – External MuseScore
*[[File:ExtMuse3.png]] – External MuseScore 3
'''4. Miscellaneous'''
'''4. Miscellaneous'''
*[[File:Error.gif|18px]] – Score Error, see [[Help:How_do_I_report_score_errors_in_CPDL_editions?|this help page]]
*[[File:Error.gif|18px]] – Score Error, see [[Help:How_do_I_report_score_errors_in_CPDL_editions?|this help page]]
*[[File:Broken.gif]] – Broken Link
*[[File:Broken.gif]] – Broken Link
*[[File:File_details.gif]] – File details (internal files): history, size, pages that link to the file
*[[File:Question.gif|17px]] – Help
*[[File:Question.gif|17px]] – Help
<!--
<!--
Line 185: Line 210:
*Template {{tl|IconLabelTable}} – Contains the original table reproduced on this page.
*Template {{tl|IconLabelTable}} – Contains the original table reproduced on this page.
*Template {{tl|LegendOrder}} – Contains the order (sequence) for icons to be listed in the Legend.
*Template {{tl|LegendOrder}} – Contains the order (sequence) for icons to be listed in the Legend.
*Category '''{{CiteCat|Label templates}}''' and all the templates shown there – Templates each containing an icon to be displayed n the Legend.
*Category '''{{CiteCat|Label templates}}''' and all the templates shown there – Templates each containing an icon to be displayed in the Legend.
-->
-->


[[Category:Templates]]
[[Category:Templates]]

Latest revision as of 02:54, 31 January 2023

Explanation

On an individual work page, only the icons shown on that page are displayed in the legend. All the possible icons are shown in the table to the right. To display the legend on a work page (not a composer page), add {{#Legend:}} on a line just below ==Music Files==. Please do not use {{Legend}} by itself – it produces a blank legend.

No. Template
& Code
Icon Exten
sion
Label Score
Location
Comment
1 Pdf Icon_pdf.gif pdf Pdf Internal
2 Mid Icon_snd.gif mid Midi Internal
3 Mp3 Icon_mp3.gif mp3 Mp3 Internal
4 XML MusicXML.png xml MusicXML Internal
5 Mp4 Icon_vid2.gif mp4 Video Internal
6 F14 Finale_2014_icon.png musx Finale 2014 Internal
7 F15 Finale_2014_5_icon.png musx Finale 2015 Internal
8 Mus Finale.png mus Finale Internal
9 Sib Sibelius.png sib Sibelius Internal
10 Cap Capella.png cap Capella Internal
11 Dorico Dorico.png dorico Dorico Internal
12 Capx Logo_capella-software_kurz_2011_16x16.png capx Capella Internal
13 Enc Encore_Icon2.png enc Encore Internal
14 Ly Icon_ly.gif ly LilyPond Internal
15 MUP MUP_file_icon.png mup MUP Internal Or zip
16 Muse MuScor.png mscz MuseScore Internal
17 Muse3 Musc3.png mscz MuseScore3 Internal
18 Muse4 Musc4.png mscz MuseScore4 Internal
19 Myr Myr.png myr Myriad Internal
20 NWC Nwc.png nwc Noteworthy Internal
21 GABC GABC.png gabc Gregorio Internal
22 Per Personal_Composer_icon.png Personal Composer Internal Obsolete
23 Zip Icon_zip.gif zip Zip file Internal (Program)
24 Broken Broken.gif Broken link Other
25 Error Error.gif Score Error Other
26 Net Network.png Web Page External
27 Extenc Encore_globe.png enc Encore External
28 IMSLP link=imslp:{{{1}}} IMSLP links External
29 Extly Icon_ly_ext.png ly LilyPond External
30 Extmid Icon_snd_globe.gif mid Midi External
31 Extmp3 Icon_mp3_globe.gif mp3 Mp3 External
32 Extnwc Nwc_globe.png nwc Noteworthy External
33 Extpdf Icon_pdf_globe.gif pdf Pdf External
34 Extper Personal_Composer_globe.png Personal Composer External Obsolete
35 Extzip Icon_zip_globe.gif zip Zip file External
36 Extcap Capella_globe.png cap Capella External
37 Extdorico Dorico_globe.png dorico Dorico External
38 Extfin Finale_globe.png mus
musx
Finale External
39 Extsib Sib_globe.png sib Sibelius External
40 Extmup mup MUP External For future expansion
41 Extmuse ExtMuse.png mscz MuseScore External
42 Extmuse3 ExtMuse3.png mscz MuseScore3 External
43 Extmyr myr Myriad External For future expansion
44 Extxml XML_globe.png xml XML External


1. Basic Files

  • Icon pdf.gif – Icon is automatically inserted when pdf file is uploaded into AddWorks form. The primary format for music scores. See this to download reader
  • Icon snd.gif – Icon is automatically inserted when midi file is uploaded into AddWorks form.
  • Icon mp3.gif – Icon is automatically inserted when mp3 file is uploaded into AddWorks form.
  • Icon vid2.gif – Manually inserted video file.

2. Music Notation Files

  • MusicXML.png – mxl (zipped xml), inserted when mxl file uploaded into AddWorks form. See Explanation
  • Finale.png  Finale 2014 icon.png  Finale 2014 5 icon.png – Finale notation (Finale 2012 or before, Finale 2014, Finale 2014.5 and after)
  • Sibelius.png – Sibelius notation
  • Logo capella-software kurz 2011 16x16.png – Capella-x notation (older Capella files use Capella.png)
  • Dorico.png – Dorico music notation software
  • Encore Icon2.png – Encore notation
  • MUP file icon.png – MuP notation
  • MuScor.png Musc3.png Musc4.png – MuseScore notation
  • Myr.png – Myriad notation (Harmony Assistant/Melody Assistant)
  • Nwc.png – NoteWorthy Composer notation
  • GABC.png – Gregorio notation
  • Icon ly.gif – LilyPond notation
  • Program – other notation

3. External Links

  • Network.png – External Site; see disclaimer
  • Icon pdf globe.gif – External pdf
  • Icon snd globe.gif – External midi
  • Icon mp3 globe.gif – External mp3
  • Icon ly ext.png – External LilyPond
  • Encore globe.png – External Encore
  • Nwc globe.png – External NoteWorthy Composer
  • Capella globe.png – External Capella
  • Dorico globe.png – External Dorico
  • Sib globe.png – External Sibelius
  • XML globe.png – External XML
  • ExtMuse.png – External MuseScore
  • ExtMuse3.png – External MuseScore 3

4. Miscellaneous

  • Error.gif – Score Error, see this help page
  • Broken.gif – Broken Link
  • File details.gif – File details (internal files): history, size, pages that link to the file
  • Question.gif – Help