"ഫലകം: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*". |
||
വരി 10:
| <!--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-->
}}}
|