Template:Ifarchive: Difference between revisions
From IFWiki
(reworking of what this template does) |
(cross-reference other link templates) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
Download <tt>[ | <includeonly>Download <tt>[{{ifarchive link|{{{1}}}{{{2}}}}} {{{2}}}]</tt> from the [[IF Archive]]</includeonly><noinclude>Link directly to a file on the [[IF Archive]], with link text. (See also [[:Template:ifarchive link]] for a bare link, [[:Template:ifarchive unbox]] for ZIP files etc, and [[:Template:ifarchive index]] to link to the index with file descriptions.) | ||
Two arguments: the directory path, and the filename itself. ''The directory path must end in a slash (<tt>/</tt>)!'' | |||
Example: | |||
<nowiki>* {{ifarchive|games/glulx/|sheep_here.gblorb}}</nowiki> | |||
produces: | |||
* {{ifarchive|games/glulx/|sheep_here.gblorb}} | |||
[[Category:Link templates]]</noinclude> |
Latest revision as of 23:24, 18 August 2024
Link directly to a file on the IF Archive, with link text. (See also Template:ifarchive link for a bare link, Template:ifarchive unbox for ZIP files etc, and Template:ifarchive index to link to the index with file descriptions.)
Two arguments: the directory path, and the filename itself. The directory path must end in a slash (/)!
Example:
* {{ifarchive|games/glulx/|sheep_here.gblorb}}
produces:
- Download sheep_here.gblorb from the IF Archive