Difference between revisions of "Template:FancyFile"

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

Revision as of 03:54, 25 July 2020

Usage:

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

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


http://files.fancyclopedia.org/{{{1}}} {{{2}}}