"ଛାଞ୍ଚ:When pagename is" ପୃଷ୍ଠାର ସଂସ୍କରଣଗୁଡ଼ିକ ମଧ୍ୟରେ ତଫାତ
Content deleted Content added
ଟିକେ Protected Template:If pagename: This template will likely become widely used literally overnight, as has happened with other similar templates. So at least semi-protected is reasonable. ([edit=autoconfirmed] (indefinite) [move=sysop] (indefinite)) |
Adding matching "User:Somepage/+" and changing syntax "User:Somepage/" to "User:Somepage/*". |
||
୨ କ ଧାଡ଼ି:
| <!--Check for match with full pagename-->
{{{ {{#if:{{{page|}}}| {{{page|}}} | {{FULLPAGENAME}} }} <!--Has data, or is empty but defined-->
| <!--
{{
| <!--
{{
| <!--
{{{ {{#titleparts:{{#if:{{{page|}}}|
| <!--Check for match with "Somepage/
{{{
| <!--Check for match with "/
{{{ /
| <!--Check for match with "/
{{{ /{{lc: {{padleft:|
| <!--Check for match with "/
{{{ /{{lc: {{padleft:|
{{{ /{{lc: {{padleft:|4| {{#titleparts:{
}}}▼
}}}
}}}
Line ୨୨ ⟶ ୨୫:
}}}
}}}
| <!--We are on a basepage, check for match with "Somepage"-->▼
▲ }}}
{{{ {{#if:{{{page|}}}| {{PAGENAME:{{{page|}}}}} | {{PAGENAME}} }}▼
▲ | <!--We are on a basepage, check for match with "Somepage"-->
| {{{basepage| {{{other|}}} }}} <!--Respecting empty parameter on purpose-->
▲ {{{ {{#if:{{{page|}}}| {{PAGENAME:{{{page|}}}}} | {{PAGENAME}} }}
}}}▼
▲ | {{{basepage| {{{other|}}} }}} <!--Respecting empty parameter on purpose-->
}} <!--End if, are we on a subpage or a basepage?-->▼
▲ }}}
}}}
▲ }} <!--End if, are we on a subpage or a basepage?-->
}}}
}}<noinclude>
|