Template:BASICPAGENAME: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
Sumone10154 (talk | contribs) temporary fix |
Sumone10154 (talk | contribs) copied from w:Template:PAGENAMEBASE |
||
Line 1: | Line 1: | ||
{{PAGENAME}} |
{{Strloc prefix|{{{1|{{PAGENAME}}}}}| |
||
strloc= {{strfind_short|{{{1|{{PAGENAME}}}}}|(|1| |
|||
lenstr= {{strlen_quick|{{{1|{{PAGENAME}}}}}|}}}}-2 |
|||
}}<noinclude> |
|||
{{documentation}} |
|||
<!-- Add categories and interwikis to the /doc subpage, not here! --> |
|||
</noinclude> |
Revision as of 01:54, 16 November 2012
Usage
Returns the page name without the parent page or disambiguator.
e.g.
- {{BASICPAGENAME}} on page
Newark (New Jersey)
returnsTemplate:Strloc prefix
- {{BASICPAGENAME}} on page
Manhattan/Midtown
returnsTemplate:Strloc prefix