Difference between revisions of "Template:Download/doc"

From comp.tf
Jump to navigation Jump to search
Line 6: Line 6:
  
 
== Example ==
 
== Example ==
<code><nowiki>{{download|https://comp.tf/images/6/69/Scout.png}}</nowiki></code>
+
<code><nowiki>{{download|https://dl.serveme.tf/maps/cp_gullywash_f8.bsp}}</nowiki></code>
  
Will produce a download icon with a link to downloading the comp.tf image for the [[Scout]]:
+
Will produce a download icon with a link to downloading <code>cp_gullywash_f8.bsp</code> from [https://serveme.tf]:
  
 
{{download|https://comp.tf/images/6/69/Scout.png}}
 
{{download|https://comp.tf/images/6/69/Scout.png}}

Revision as of 04:05, 21 June 2022

Template:Download displays a download icon with a link.

Usage

{{download|link}}

  • link - the full URL of the desired link for the icon

Example

{{download|https://dl.serveme.tf/maps/cp_gullywash_f8.bsp}}

Will produce a download icon with a link to downloading cp_gullywash_f8.bsp from [1]:

Download icon.png