Template:PAGENAMEBASE/doc: Difference between revisions
Jump to navigation
Jump to search
>Vinifera7 No edit summary |
>Vinifera7 No edit summary |
(No difference)
|
Revision as of 18:32, 5 June 2021
This subpage provides documentation for Template:PAGENAMEBASE.
This template returns the current page name without text in parentheses. If the page name has more than one set of parentheses, only the last one is removed.
It is not to be confused with the magic word, {{BASEPAGENAME}}
, which returns the page name without its subpages.
Usage
{{PAGENAMEBASE}}
The first unnamed parameter can be used to specify the page name. Otherwise, it defaults to {{PAGENAME}}
.
Examples
{{PAGENAMEBASE|Blight (game mechanic)}}
→ Blight
{{PAGENAMEBASE|Blight league}}
→ Blight league