Permanently protected template

Difference between revisions of "Template:Autolink"

From Yugipedia
Jump to: navigation, search
(also allow for bolding, in the off-chance it's ever actually needed)
(check for unknown parameters)
 
(25 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{
+
{{ safesubst:<noinclude/>#invoke: Autolink | link }}{{#invoke:Check for unknown parameters|check|showblankpositional=1|unknown=[[Category:((Autolink)) transclusions using unknown parameters]]|preview=unknown <nowiki>{{Autolink}}</nowiki> parameter "_VALUE_"|1|t}}{{ #if: {{{t|}}} || {{ #if: {{ #pos: {{{1}}} | '' }}{{ #pos: {{{1}}} | "" }}{{ #pos: {{{1}}} | # }}{{ #pos: {{{1}}} | * }}{{ #pos: {{{1}}} | {{!((}} }} | [[((Autolink)) value::{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{{1|}}} | {{!}} | &#124; }} | {{!(}} | &#91; }} | {{)!}} | &#93; }} | * | &#42; }}| ]] }} }}<noinclude>{{Documentation}}</noinclude>
  #if: {{ #pos: {{{1}}} | {{!((}} }}
 
  | {{{1}}} | {{
 
    #if: {{ #pos: {{{1}}} | '' }}{{ #pos: {{{1}}} | ''' }}
 
    | [[{{ #replace: {{ #replace: {{{1}}} | ''' }} | '' }}|{{{1}}}]]
 
    | [[{{{1<noinclude>|Main Page</noinclude>}}}|{{ #if: {{{2|}}} | {{{2}}} | {{{1<noinclude>|Main Page</noinclude>}}} }}]]
 
  }}
 
}}<noinclude>{{Documentation}}</noinclude>
 

Latest revision as of 19:31, 31 March 2024