Difference between revisions of "Template:FancyFile"

From Fancyclopedia 3
Jump to navigation Jump to search
Line 1: Line 1:
 
<noinclude>'''Usage:'''
 
<noinclude>'''Usage:'''
  
<nowiki>{{FancyFile | directory/file}}</nowiki>
+
<nowiki>{{FancyFile | directory/file| 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>Bugger me
+
</noinclude>{{link | website=http://files.fancy-test.com/{{#replace:{{{1}}}| |%20}} | text={{{2}}}}}
{{link | website=http://files.fancy-test.com/{{#replace:{{{1}}}| |%20}} | text={{{1}}}}}
 

Revision as of 05:30, 27 February 2020

Usage:

{{FancyFile | directory/file| text}}

will link to files in http://files.fancyclopedia.org/directory/file. Use spaces. {{{2}}}