Views

Difference between revisions of "Template:File-DL"

The Wiki of Unify contains information on clients and devices, communications systems and unified communications. - Unify GmbH & Co. KG is a Trademark Licensee of Siemens AG.

Jump to: navigation, search
Line 2: Line 2:
 
Use the template '''File-DL''' to put a link on an article to download a file like PDF, ZIP, XML or IMG.</noinclude>{{#switch: {{{2}}}
 
Use the template '''File-DL''' to put a link on an article to download a file like PDF, ZIP, XML or IMG.</noinclude>{{#switch: {{{2}}}
 
| zip = {{zip}} [[Media:{{{1}}}.{{{2}}}|{{{1}}}]]
 
| zip = {{zip}} [[Media:{{{1}}}.{{{2}}}|{{{1}}}]]
| pdf = {{pdf}} [[Media:{{{1}}}.{{{2}}}|{{{1}}}]]
+
| pdf = {{pdf}} [[Media:{{{1}}}.{{{2}}}|{{{1}}}]] {{lt}}filesize{{gt}}{{{1}}}.{{{2}}}{{lt}}/filesize{{gt}}
 
| xml = {{xml}} [[Media:{{{1}}}.{{{2}}}|{{{1}}}]]
 
| xml = {{xml}} [[Media:{{{1}}}.{{{2}}}|{{{1}}}]]
 
| img = {{img}} [[Media:{{{1}}}.{{{2}}}|{{{1}}}]]
 
| img = {{img}} [[Media:{{{1}}}.{{{2}}}|{{{1}}}]]

Revision as of 16:56, 6 September 2006

stop hand.svg This template is already used in some articles. Please be careful if you want to make changes.

Use the template File-DL to put a link on an article to download a file like PDF, ZIP, XML or IMG.link={{{1}}}  [[Media:{{{1}}}.{{{2}}}|{{{1}}}]] Template:ltfilesizeTemplate:gt{{{1}}}.{{{2}}}Template:lt/filesizeTemplate:gt


In order to insert the template in an article, you have to copy the following source text in the article (example):

{{File-DL|(File name)|(File extension)}}