"साचा:When pagename is" च्या विविध आवृत्यांमधील फरक

Content deleted Content added
Since the new code is so efficient: Adding 6 and 8 character partial matching, as in "/someth*" and "/somethin*".
Longer partial subpage names should of course match first. And padding with # so "/a" doesn't match "/aaaa*".
ओळ १०:
| <!--Check for match with "/something"-->
{{{ /{{#titleparts:{{#if:{{{page|}}}| {{{page|}}} | {{FULLPAGENAME}} }}|0|-1}}
| <!--Check for match with "/somesomethin*"-->
{{{ /{{lc: {{padleft:|48| {{#titleparts:{{#if:{{{page|}}}| {{{page|}}} | {{FULLPAGENAME}} }}|0|-1}}# }} }}*
| <!--Check for match with "/someth*"-->
{{{ /{{lc: {{padleft:|6| {{#titleparts:{{#if:{{{page|}}}| {{{page|}}} | {{FULLPAGENAME}} }}|0|-1}}# }} }}*
| <!--Check for match with "/somethinsome*"-->
{{{ /{{lc: {{padleft:|84| {{#titleparts:{{#if:{{{page|}}}| {{{page|}}} | {{FULLPAGENAME}} }}|0|-1}}# }} }}* <!--Pad with # so "/a" doesn't match "/aaaa*"-->
| {{{subpage| {{{other|}}} }}} <!--Respecting empty parameter on purpose-->
}}}