This template returns the page type (e.g., article, talk page, user page) based on the namespace. Used in documentation and templates to adapt wording.

Usage

{{pagetype}}

It automatically adjusts to the current page's type.