Template:PAGENAMEBASE/doc

Ginen Wikipedia
Jump to navigation Jump to search
This is a documentation subpage for Template:PAGENAMEBASE (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Usage[edit source]

This template returns the current {{PAGENAME}} minus any disambiguation (text in parentheses).

e.g. {{PAGENAMEBASE}} on page Chiton (genus) returns Chiton

Can also pass an optional page parameter:

  • {{PAGENAMEBASE|foo (bar)}} → "foo"
  • {{PAGENAMEBASE|foo bar}} → "foo bar"

See also[edit source]