Template:Category TOC custom/core: Difference between revisions

Content deleted Content added
prefix link with {{{3|}}}
allow a piped link [​[Foo|Bar]] to link from=Foo with Bar as display text
Line 1:
{{#if:{{{1|}}}|{{#ifeq:{{{2|}}}|yes|*| }} [{{fullurl:{{FULLPAGENAME}}|from={{urlencode:{{{3|}}}{{#invoke:String|replace|source={{{1}}}|pattern=.*%[(.-)[%{{{!}}%]].*|replace=%1|plain=false}}}}}} {{delink|{{{1}}}}}]}}