Permanently protected template

Difference between revisions of "Template:Autolink"

From Yugipedia
Jump to: navigation, search
(now, put the documentation back =P )
(well, that worked out *great*)
Line 1: Line 1:
{{ #arraydefine: links | {{{1<nowiki>|Main Page</nowiki>}}} | * | unique }}{{ #arrayprint: links || $x$ | <nowiki/>
+
{{
* {{
+
   #if: {{ #pos: {{{1}}} | {{!((}} }}
   #if: {{ #pos: $x$ | {{!((}} }}
+
   | {{{1}}}
   | $x$
+
   | [[{{ #replace: {{ #replace: {{{1<noinclude>|Main Page</noinclude>}}} | ''' }} | '' }}|{{ #if: {{{2|}}} | {{{2}}} | {{{1<noinclude>|Main Page</noinclude>}}} }}]]
   | [[{{ #replace: {{ #replace: $x$ | ''' }} | '' }}|{{ #if: {{{2|}}} | {{{2}}} | $x$ }}]]
+
}}<noinclude>{{Documentation}}</noinclude>
}} }}<noinclude>{{Documentation}}</noinclude>
 

Revision as of 04:48, 17 July 2013

Main Page