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}}  
 
| zip = {{zip}}  
| pdf = {{pdf}}  
+
| pdf = {{#switch: {{{3}}} | en = {{pdf-en}} | de = {{pdf-de}} | {{pdf}} }}
 
| xml = {{xml}}  
 
| xml = {{xml}}  
 
| img = {{img}}  
 
| img = {{img}}  
Line 11: Line 11:
  
 
<pre><nowiki>
 
<pre><nowiki>
{{File-DL|(File name)|(File extension)}}
+
{{File-DL|(File name)|(File extension)|(optional on PDF: Language)}}
 
</nowiki></pre>
 
</nowiki></pre>
 
</noinclude>
 
</noinclude>

Revision as of 14:30, 30 October 2008

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}}}]] [[:Image:{{{1}}}.{{{2}}}|readme]]


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)|(optional on PDF: Language)}}