Difference between revisions of "Template:Fanzineindex"

From Fancyclopedia 3
Jump to navigation Jump to search
Line 6: Line 6:
 
'dir' is the fanac.org/fanzine folder name<br>
 
'dir' is the fanac.org/fanzine folder name<br>
 
<nowiki>{{fanzineindex|name=x|dir=}}</nowiki><br>
 
<nowiki>{{fanzineindex|name=x|dir=}}</nowiki><br>
</noinclude>[http://fanac.org/fanzines/{{#replace:{{{555}}}| |%20}}/index.html {{{name}}} page] on fanac.org
+
</noinclude>[fanac.org/fanzines/{{#if: {{{dir|}}} | {{{dir}}} | {{{name}}}}}/index.html {{{name}}} page] on fanac.org
  
 
dir: {{{dir|}}}
 
dir: {{{dir|}}}

Revision as of 05:28, 31 October 2020

This formalizes deep links to a fanac.org fanzine index page

Usage:
'name' is the fanzine's name
'dir' is the fanac.org/fanzine folder name
{{fanzineindex|name=x|dir=}}
[fanac.org/fanzines/{{{name}}}/index.html {{{name}}} page] on fanac.org

dir:

name: {{{name}}}

val: {{{name}}}

deblanked: {{_{{{dir}}}_}}

url: fanac.org/fanzines/{{{name}}}/index.html