"ଛାଞ୍ଚ:When pagename is" ପୃଷ୍ଠାର ସଂସ୍କରଣ‌ଗୁଡ଼ିକ ମଧ୍ୟରେ ତଫାତ

Content deleted Content added
Using the parameter pipe-trick instead of #ifeq, to detect defined parameters. Much more efficient, and shorter and clearer code. Then it needs the surrounding whitespace stripping.
Since the new code is so efficient: Adding 6 and 8 character partial matching, as in "/someth*" and "/somethin*".
୧୨ କ ଧାଡ଼ି:
| <!--Check for match with "/some*"-->
{{{ /{{lc: {{padleft:|4| {{#titleparts:{{#if:{{{page|}}}| {{{page|}}} | {{FULLPAGENAME}} }}|0|-1}} }} }}*
| {{{subpage| {{{other|}}} }}} <!--RespectingCheck emptyfor parametermatch onwith purpose"/someth*"-->
{{{ /{{lc: {{padleft:|6| {{#titleparts:{{#if:{{{page|}}}| {{{page|}}} | {{FULLPAGENAME}} }}|0|-1}} }} }}*
| <!--Check for match with "/somethin*"-->
{{{ /{{lc: {{padleft:|8| {{#titleparts:{{#if:{{{page|}}}| {{{page|}}} | {{FULLPAGENAME}} }}|0|-1}} }} }}*
| {{{subpage| {{{other|}}} }}} <!--Respecting empty parameter on purpose-->
}}}
}}}
}}}
}}}