Difference between revisions of "File"
From Sega Retro
Scarred Sun (talk | contribs) m (Text replace - "Sega Retro Templates" to "Sega 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> ({{#replace:{{#mediasize:{{{1}}}}}|K|k}})</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 12: | Line 12: | ||
<pre> | <pre> | ||
− | {{file | | + | {{file | Genecyst vX.XX.rar | Final version of Genecyst, a Mega Drive emulator. }} |
</pre> | </pre> | ||
becomes: | becomes: | ||
− | {{file | | + | {{file | Genecyst vX.XX.rar | Final version of Genecyst, a Mega Drive emulator. }} |
[[Category:Sega Retro templates|File]] | [[Category:Sega Retro templates|File]] | ||
</noinclude> | </noinclude> |
Revision as of 00:37, 15 February 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 | Genecyst vX.XX.rar | Final version of Genecyst, a Mega Drive emulator. }}
becomes:
Final version of Genecyst, a Mega Drive emulator. (info) ("Genecyst vX.XX.rar" does not exist)