Template:LLink

From ChoralWiki
Revision as of 03:24, 30 August 2009 by Pml (talk | contribs)
Jump to navigation Jump to search


Creates links with icons to local media (ie. "Image:") files hosted at CPDL.org.

1st optional parameter is the name (without "https://www.cpdl.org/wiki/images/x/xy/") of the local PDF file (eg. MyEdition.pdf, which is found at Image:MyEdition.pdf)

2nd optional parameter is the name (without "https://www.cpdl.org/wiki/images/x/xy/") of the local MID file (eg. MyEdition.mid, which is found at Image:MyEdition.mid)

3rd optional parameter is the name (without "https://www.cpdl.org/wiki/images/x/xy/") of the local source file (eg. MyEdition.enc,, which is found at Image:MyEdition.enc)

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

ext1-ext5 are optional parameters with links (without "http://") to any other local or external file, PLUS a space, PLUS the program name (Encore etc.) or an icon template, like Icon_pdf_globe.gif

The parameter media=filename can be used in place of the 3rd optional parameter, but this prevents the use of an icon as the 4th optional parameter – technically this creates a link of the form [[Media:filename|{{{4}}}]], which means that the 4th parameter must be plain text.