Difference between revisions of "Template:FancyFile"

From Fancyclopedia 3
Jump to navigation Jump to search
m (Text replacement - "http:" to "https:")
 
(2 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|}}}||[http://files.fancyclopedia.org/{{#replace:{{{1}}}| |%20}} {{{2}}}]|[http://files.fancyclopedia.org/{{#replace:{{{1}}}| |%20}}#page={{{2}}} {{{3}}}]}}
+
</noinclude>{{#ifeq:{{{3|}}}||[https://files.fancyclopedia.org/{{#replace:{{{1}}}| |%20}} {{{2}}}]|[https://files.fancyclopedia.org/{{#replace:{{{1}}}| |%20}}#page={{#replace:{{{2}}}| |%20}} {{{3}}}]}}
 
 
 
 
{{#ifeq:{{{3|}}}||http://files.fancyclopedia.org/{{#replace:{{{1}}}| |%20}} {{{2}}}|http://files.fancyclopedia.org/{{#replace:{{{1}}}| |%20}}#page={{{2}}} {{{3}}}}}
 

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}}}