Template:Pagetype/doc
This is a documentation subpage for Template:Pagetype It may contain usage information, categories and other content that is not part of the original template page. |
This template is used to identify what kind of page it or its subject page is.
Usage
edit{{pagetype | classification | page= }}
Parameters
edit- classification
This unnamed parameter is optional and is used to distinguish between different non-book pages in mainspace (e.g. disambiguation pages and redirects). See below for details.
- page
The name of a page. The default is the current page.
- subjectspace
If set to yes then subjectspace pages will be treated the same as talkspace pages.
Output
editNamespace | classification | Output |
---|---|---|
Talk | disambig, disamb, dab | page |
redirect, redir | ||
nb | ||
anything else | page | |
User talk | anything | page |
MediaWiki talk | ||
Help talk | ||
Wikijunior talk | ||
Wikibooks talk | anything | project page |
File talk | anything | file |
Template talk | anything | template |
Category talk | anything | category |
Subject talk | anything | subject |
Cookbook talk | anything | recipe |
Any subjectspace | wikijunior, junior | page |
disambig, disamb, dab | ||
redirect, redir | ||
nb | ||
project, wikibooks | project page | |
image, file | file | |
template, temp, templ | template | |
category, cat, categ | category | |
subject | subject | |
cookbook, cook, recipe | recipe | |
anything else | page |