Difference between revisions of "Template:FancyFile"

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

Latest revision as of 14: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}}}