Difference between revisions of "Template:FancyFile"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<noinclude>'''Usage:''' | <noinclude>'''Usage:''' | ||
− | <nowiki>{{FancyFile | directory/file | text}}</nowiki> | + | <nowiki>{{FancyFile | directory/file | text}} or {{FancyFile | directory/file | page | text}}</nowiki> |
will link to files in <nowiki>http://files.fancyclopedia.org/directory/file</nowiki>. Use spaces. | will link to files in <nowiki>http://files.fancyclopedia.org/directory/file</nowiki>. Use spaces. | ||
− | </noinclude>{{link | website=http://files.fancyclopedia.org/{{#replace:{{{1}}}| |%20}} | text={{{2}}}}} | + | </noinclude>{{#ifeq:{{{3|}}}||{{link | website=http://files.fancyclopedia.org/{{#replace:{{{1}}}| |%20}} | text={{{2}}}}}|{{link | website=http://files.fancyclopedia.org/{{#replace:{{{1}}}| |%20}}#page={{{3}}} | text={{{2}}}}} |