Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Template:Pagetype/doc
(section)
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==TemplateData== {{Collapse top|[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}} {{TemplateData header|noheader=1}} <templatedata> { "description": "This template Identifies the type of a given page. It is highly customisable. By default it detects redirects, articles, files, templates, categories, and modules, and other types of page are displayed as \"page\".", "params": { "1": { "label": "Class", "description": "Class is used to distinguish between different non-article pages in mainspace. 'disambig', 'disamb', 'dab', 'na' and 'n/a' give \"page\". The values can be customised with the \"dab\" and \"na\" parameters.", "type": "string", "required": false }, "page": { "label": "Page name", "description": "The name of the page to detect the type of. Defaults to the current subject page, or to the current page if the \"talk\" parameter is activated.", "type": "string/wiki-page-name", "required": false }, "main": { "type": "string", "label": "Main namespace", "description": "Adjust output for the main namespace. Use \"yes\" to enable with the output \"article\", \"no\" to disable, and other text to enable with custom output. Enabled by default." }, "user": { "type": "string", "label": "User namespace", "description": "Adjust output for the User namespace. Use \"yes\" to enable with the output \"user page\", \"no\" to disable, and other text to enable with custom output. Disabled by default." }, "wikipedia": { "aliases": [ "project", "wp" ], "type": "string", "label": "Wikipedia namespace", "description": "Adjust output for the Wikipedia namespace. Use \"yes\" to enable with the output \"project page\", \"no\" to disable, and other text to enable with custom output. Disabled by default." }, "file": { "type": "string", "aliases": [ "image" ], "label": "File namespace", "description": "Adjust output for the File namespace. Use \"yes\" to enable with the output \"file\", \"no\" to disable, and other text to enable with custom output. Enabled by default." }, "mediawiki": { "type": "string", "label": "MediaWiki namespace", "description": "Adjust output for the MediaWiki namespace. Use \"yes\" to enable with the output \"interface page\", \"no\" to disable, and other text to enable with custom output. Disabled by default." }, "template": { "type": "string", "label": "Template namespace", "description": "Adjust output for the Template namespace. Use \"yes\" to enable with the output \"template\", \"no\" to disable, and other text to enable with custom output. Enabled by default." }, "help": { "type": "string", "label": "Help namespace", "description": "Adjust output for the Help namespace. Use \"yes\" to enable with the output \"help page\", \"no\" to disable, and other text to enable with custom output. Disabled by default." }, "category": { "type": "string", "label": "Category namespace", "description": "Adjust output for the Category namespace. Use \"yes\" to enable with the output \"category\", \"no\" to disable, and other text to enable with custom output. Enabled by default." }, "portal": { "type": "string", "label": "Portal namespace", "description": "Adjust output for the Portal namespace. Use \"yes\" to enable with the output \"portal\", \"no\" to disable, and other text to enable with custom output. Disabled by default." }, "timedtext": { "type": "string", "label": "TimedText namespace", "description": "Adjust output for the TimedText namespace. Use \"yes\" to enable with the output \"Timed Text page\", \"no\" to disable, and other text to enable with custom output. Disabled by default." }, "module": { "type": "string", "label": "Module namespace", "description": "Adjust output for the Module namespace. Use \"yes\" to enable with the output \"module\", \"no\" to disable, and other text to enable with custom output. Enabled by default." }, "special": { "type": "string", "label": "Special namespace", "description": "Adjust output for the Special namespace. Use \"yes\" to enable with the output \"special page\", \"no\" to disable, and other text to enable with custom output. Disabled by default." }, "media": { "type": "string", "label": "Media namespace", "description": "Adjust output for the Media namespace. Use \"yes\" to enable with the output \"file\", \"no\" to disable, and other text to enable with custom output. Disabled by default." }, "talk": { "type": "string", "label": "All talk namespaces", "description": "Adjust output for all talk namespaces. Normally this template uses the subject page of the specified page to determine the pagetype, but if this parameter is enabled talk pages will be used as well. Use \"yes\" to enable with the output \"talk page\", \"no\" to disable, and other text to enable with custom output. Disabled by default." }, "dab": { "type": "string", "label": "Disambiguation page value", "description": "Adjust output for pages in mainspace when the \"Class\" parameter has been set to \"disambiguation\", \"disamb\", or \"dab\". Use \"yes\" to enable with the output \"disambiguation page\", \"no\" to disable, and other text to enable with custom output. Disabled by default." }, "na": { "type": "string", "label": "N/A page value", "description": "Adjust output for pages in mainspace when the \"Class\" parameter has been set to \"disambiguation\", \"disamb\", or \"dab\". Use \"yes\" to enable with the output \"page\", \"no\" to disable, and other text to enable with custom output. Disabled by default." }, "other": { "type": "string", "label": "Other namespaces", "description": "By default the template outputs the text \"page\" if the page is in a namespace that has not been specified. This value can be changed by using this parameter." }, "defaultns": { "type": "string/line", "label": "Set of default namespaces", "description": "This parameter is used to specify the set of namespaces used by default. By default the template detects page types in the main, File, Template, Category, and Module namespaces. If this parameter is set to \"none\", the template doesn't detect page types in any namespaces. If it is set to \"extended\", the template detects page types in the main, User, Wikipedia, File, MediaWiki, Template, Help, Category, Portal, and Module namespaces. If it is set to \"all\", the template detects page types in all namespaces, including talk pages. The namespaces set by this parameter can be overridden by the parameters for individual namespaces." }, "plural": { "type": "boolean", "label": "Pluralise output?", "description": "Setting this value to \"true\", \"yes\", \"y\" or similar will result in the output from the template being in plural form (e.g. \"articles\" instead of \"article\")." }, "caps": { "type": "boolean", "label": "Capitalise output?", "description": "Setting this value to \"true\", \"yes\", \"y\" or similar will result in the output from the template beginning with a capital letter (e.g. \"Article\" instead of \"article\")." } } } </templatedata> {{Collapse bottom}} <includeonly>{{Sandbox other|| <!--Categories below this line, please; interwikis at Wikidata--> [[Category:Namespace manipulation templates]] }}</includeonly>
Summary:
Please note that all contributions to Red Letter Media Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
RLMWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width