Permanently protected template

Difference between revisions of "Template:Autolink"

From Yugipedia
Jump to: navigation, search
(If it finds, ''', it'll have already found ''.)
(allow link text to be overridden whenever {{{1}}} isn't a link, not just when {{{1}}} is unlinked and doesn't have italics or bolding)
Line 3: Line 3:
 
   | {{{1}}} | {{
 
   | {{{1}}} | {{
 
     #if: {{ #pos: {{{1}}} | '' }}
 
     #if: {{ #pos: {{{1}}} | '' }}
     | [[{{ #replace: {{ #replace: {{{1}}} | ''' }} | '' }}|{{{1}}}]]
+
     | [[{{ #replace: {{ #replace: {{{1}}} | ''' }} | '' }}|{{ #if: {{{2|}}} | {{{2}}} | {{{1}}} }}]]
 
     | [[{{{1<noinclude>|Main Page</noinclude>}}}|{{ #if: {{{2|}}} | {{{2}}} | {{{1<noinclude>|Main Page</noinclude>}}} }}]]
 
     | [[{{{1<noinclude>|Main Page</noinclude>}}}|{{ #if: {{{2|}}} | {{{2}}} | {{{1<noinclude>|Main Page</noinclude>}}} }}]]
 
   }}
 
   }}
 
}}<noinclude>{{Documentation}}</noinclude>
 
}}<noinclude>{{Documentation}}</noinclude>

Revision as of 03:24, 9 July 2013

Main Page