Jump to content

Template:Italic title prefixed and Template:Italic title prefixed/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
Re-write from scratch - no need for such complicated syntax. The removed parameters are not in use or useful.
 
Simplify markup
 
Line 3: Line 3:
|''{{#invoke:string|sub
|''{{#invoke:string|sub
|{{PAGENAME}}|{{#expr:{{{1}}}+1}}}}''|{{#invoke:MultiReplace|main|{{#invoke:string|sub
|{{PAGENAME}}|{{#expr:{{{1}}}+1}}}}''|{{#invoke:MultiReplace|main|{{#invoke:string|sub
|{{PAGENAME}}|{{#expr:{{{1}}}+1}}}}|^(.*)(%b())$|''%1''%2|.*|''%1''}}}}}}</includeonly><noinclude>
|{{PAGENAME}}|{{#expr:{{{1}}}+1}}}}|^(.*)(%b())$|''%1''%2|.*|''%1''}}}}}}-{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{#invoke:string|sub
|{{PAGENAME}}|1|{{{1}}}|ignore_errors=1}}{{#if:{{{force|}}}
|''{{#invoke:string|sub
|{{PAGENAME}}|{{#expr:{{{1}}}+1}}}}''|{{#invoke:MultiReplace|main|{{#invoke:string|sub
|{{PAGENAME}}|{{#expr:{{{1}}}+1}}}}|^(.*)(%b())$|''%1''%2|.*|''%1''}}}}-</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->