Template:File archive: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
oh yeah, I can just hide it |
||
| Line 1: | Line 1: | ||
<includeonly>([{{filepath:{{{1}}}}} {{#if:{{{2|}}}|{{{2}}}|local archive}}] •[[File:{{{1}}}|1px]] [[:File:{{{1}}}|info]])</includeonly><noinclude>{{documentation}}</noinclude> | <includeonly>([{{filepath:{{{1}}}}} {{#if:{{{2|}}}|{{{2}}}|local archive}}] •<span style="display:none;">[[File:{{{1}}}|1px|alt=]]</span> [[:File:{{{1}}}|info]])</includeonly><noinclude>{{documentation}}</noinclude> | ||
Latest revision as of 07:57, 10 September 2025
Documentation [edit]
This template is used to link to a local archive file of an external resource, such as a forum post, in case the external site goes down. This template must always be used for such files because it will list the page as linking to the file and remove it from Special:UnusedFiles. See also Category:Archive files.
Parameters
- first unnamed parameter - required, the name of the local file including the extension but not the File: prefix.
- (optional) second unnamed parameter - the text to display for the archive link, defaults to "local archive" and should usually contain the word "archive" if replaced.
Examples
{{file archive|We're Still Watching You - Part 1.JPG}}produces: (local archive • info)
The above documentation is transcluded from Template:File archive/doc.