Actions

Template

Difference between revisions of "File"

From Sonic Retro

m (Text replace - "Category:Sonic Retro Templates" to "Category:Sonic Retro templates")
Line 1: Line 1:
<includeonly>[[Media:{{{1}}}|{{{2|{{{1}}}}}}]] <sup>([[:File:{{{1}}}|info]])</sup></includeonly><noinclude>
+
<includeonly>[[Media:{{{1}}}|{{{2|{{{1}}}}}}]] <sup>([[:File:{{{1}}}|info]])</sup> ({{filesize|{{{1}}}}})</includeonly><noinclude>
 
==Usage==
 
==Usage==
 
This template is used to create a direct link to a file, as well as a link to the file's page.
 
This template is used to create a direct link to a file, as well as a link to the file's page.
Line 19: Line 19:
 
{{file | Sonic1 title.png | Sonic the Hedgehog title screen. }}
 
{{file | Sonic1 title.png | Sonic the Hedgehog title screen. }}
  
[[Category:Sonic Retro templates|File]]
+
[[Category:Sonic Retro templates]]
 
</noinclude>
 
</noinclude>

Revision as of 23:38, 28 July 2015

Usage

This template is used to create a direct link to a file, as well as a link to the file's page.

{{file | *filename* | *text* }}

*text* is optional.

Example

{{file | Sonic1 title.png | Sonic the Hedgehog title screen. }}

becomes:

Sonic the Hedgehog title screen. (info) (7 kB)