Difference between revisions of "Template:FancyFile"

From Fancyclopedia 3
Jump to navigation Jump to search
m (Text replacement - "http:" to "https:")
 
(11 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
<noinclude>'''Usage:'''
 
<noinclude>'''Usage:'''
  
<nowiki>{{FancyFile | directory/file}}</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>https://files.fancyclopedia.org/directory/file</nowiki>. Use spaces.
</noinclude>Bugger me
+
</noinclude>{{#ifeq:{{{3|}}}||[https://files.fancyclopedia.org/{{#replace:{{{1}}}| |%20}} {{{2}}}]|[https://files.fancyclopedia.org/{{#replace:{{{1}}}| |%20}}#page={{#replace:{{{2}}}| |%20}}  {{{3}}}]}}
{{link | website=http://files.fancy-test.com/{{#replace:{{{1}}}| |%20}} | text={{{1}}}}}
 

Latest revision as of 15:28, 28 November 2022

Usage:

{{FancyFile | directory/file | text}} or {{FancyFile | directory/file | page | text}}

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