Template:Ifarchive index link
Bare link to a directory index at the IF Archive. (See also Template:ifarchive index for a link with description, Template:ifarchive link for a bare link directly to a file, and Template:ifarchive unbox link for a bare link to view a compressed file's contents.)
This:
[{{ifarchive index link|games/mini-comps/imaginary/}} imaginary games]
produces: imaginary games
The optional second parameter allows linking directly to the index entry for a specific file within a directory listing.
[{{ifarchive index link|games/tads/|Get-Corn.t3}} GET CORN]
produces: GET CORN
Special case: the fragment ID in the second parameter is almost always simply the filename, but unusual characters in filenames, such as spaces and certain punctuation, can lead to differences. The escaping system used in this case uses equals signs =, which you'll need to write as {{=}} to avoid ambiguity with template syntax.
[{{ifarchive index link|games/glulx/|{{=}}27{{=}}Steading{{=}}20{{=}}of{{=}}20{{=}}the{{=}}20{{=}}Hill{{=}}20{{=}}Giant{{=}}20{{=}}Chief.gblorb}} 'Steading of the Hill Giant Chief.gblorb]
produces: 'Steading of the Hill Giant Chief.gblorb