"ഫലകം:When pagename is" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

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*".
വരി 10:
| <!--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-->
}}}
"https://ml.wikipedia.org/wiki/ഫലകം:When_pagename_is" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്