Template:LinkW: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
m (Version of LLinkW without enclosing brackets)
 
mNo edit summary
Line 1: Line 1:
<includeonly>{{switch|{{{1|}}}|case:= |default=[{{SERVER}}/wiki/images/sheet/{{{1}}} {{pdf}}]&nbsp;}}{{switch|{{{2|}}}|case:= |default=[{{SERVER}}/wiki/images/sound/{{{2}}} {{mid}}]&nbsp;}}{{switch|{{{3|}}}|case:= |default=[{{SERVER}}/wiki/images/source/{{{3}}} {{{4}}}]&nbsp;}}{{switch|{{{ext1|}}}|case:= |default=[http://{{{ext1}}}]&nbsp;}}{{switch|{{{ext2|}}}|case:= |default=[http://{{{ext2}}}]&nbsp;}}{{switch|{{{ext3|}}}|case:= |default=[http://{{{ext3}}}]&nbsp;}}{{switch|{{{ext4|}}}|case:= |default=[http://{{{ext4}}}]&nbsp;}}{{switch|{{{ext5|}}}|case:= |default=[http://{{{ext5}}}]</includeonly><noinclude>
<includeonly>{{switch|{{{1|}}}|case:= |default=[{{SERVER}}/wiki/images/sheet/{{{1}}} {{pdf}}]&nbsp;}}{{switch|{{{2|}}}|case:= |default=[{{SERVER}}/wiki/images/sound/{{{2}}} {{mid}}]&nbsp;}}{{switch|{{{3|}}}|case:= |default=[{{SERVER}}/wiki/images/source/{{{3}}} {{{4}}}]&nbsp;}}{{switch|{{{ext1|}}}|case:= |default=[http://{{{ext1}}}]&nbsp;}}{{switch|{{{ext2|}}}|case:= |default=[http://{{{ext2}}}]&nbsp;}}{{switch|{{{ext3|}}}|case:= |default=[http://{{{ext3}}}]&nbsp;}}{{switch|{{{ext4|}}}|case:= |default=[http://{{{ext4}}}]&nbsp;}}{{switch|{{{ext5|}}}|case:= |default=[http://{{{ext5}}}]}}</includeonly><noinclude>
{{DisplayBox|bgcolor=g|text=
{{DisplayBox|bgcolor=g|text=
Creates links with icons to local files originally hosted at the Williams server (wso.williams.edu):
Creates links with icons to local files originally hosted at the Williams server (wso.williams.edu):

Revision as of 01:09, 13 November 2009


Creates links with icons to local files originally hosted at the Williams server (wso.williams.edu):

1st optional parameter is the name (without "http://.../sheet/") of the PDF file (eg. MyEdition.pdf).

2nd optional parameter is the name (without "http://.../sound/") of the MID file (eg. MyEdition.mid).

3rd optional parameter is the name (without "http://.../source/") of the source file (eg. MyEdition.enc).

4th optional parameter is the program name (eg. Encore) corresponding to the source file from the 3rd parameter.

ext1-ext5 optional parameters are links (without "http://") to any other local or external files, PLUS a space, PLUS the program name (Encore etc.) or an icon template, as {{extpdf}}.