Permanently protected template

Difference between revisions of "Template:Autolink"

From Yugipedia
Jump to: navigation, search
(I'm tired of looking for unusual cases one page at a time, so steal the idea behind Property:((Card query)) query value)
(actually, only store ones with some formatting going on)
Line 1: Line 1:
{{ #invoke: Autolink | link }}{{ #if: {{{2|}}} | [[Category:((Autolink)) transclusions with second parameter]] }}[[((Autolink)) value::{{ #replace: {{ #replace: {{ #replace: {{{1|}}} | {{!}} | &#124; }} | {{!(}} | &#91; }} | {{)!}} | &#93; }}| ]]<noinclude>{{Documentation}}</noinclude>
+
{{ #invoke: Autolink | link }}{{ #if: {{{2|}}} | [[Category:((Autolink)) transclusions with second parameter]] }}{{ #if: {{ #pos: {{{1}}} | '' }}{{ #pos: {{{1}}} | "" }}{{ #pos: {{{1}}} | # }}{{ #pos: {{{1}}} | * }}{{ #pos: {{{1}}} | {{!((}} }} | [[((Autolink)) value::{{ #replace: {{ #replace: {{ #replace: {{{1|}}} | {{!}} | &#124; }} | {{!(}} | &#91; }} | {{)!}} | &#93; }}| ]] }}<noinclude>{{Documentation}}</noinclude>

Revision as of 13:30, 1 May 2023