"साचा:When pagename is" च्या विविध आवृत्यांमधील फरक
Content deleted Content added
Davidgothberg (चर्चा | योगदान) Since the new code is so efficient: Adding 6 and 8 character partial matching, as in "/someth*" and "/somethin*". |
Davidgothberg (चर्चा | योगदान) 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 "/
{{{ /{{lc: {{padleft:|
| <!--Check for match with "/someth*"-->
{{{ /{{lc: {{padleft:|6| {{#titleparts:{{#if:{{{page|}}}| {{{page|}}} | {{FULLPAGENAME}} }}|0|-1}}# }} }}*
| <!--Check for match with "/
{{{ /{{lc: {{padleft:|
| {{{subpage| {{{other|}}} }}} <!--Respecting empty parameter on purpose-->
}}}
|