Template:PageType/doc

From OtherX
Jump to navigation Jump to search
File:Information icon-grey.svg
This is a documentation subpage for Template:PageType.
It contains usage information, categories, and other content that is not part of the original template page.

Template providing a literal description of the type of a page. This will typically be an economical version of the page's namespace, worded in such a way that it will also be the natural way of describing it verbally. For instance the myriad of talk pages are simply referred to as 'talk page'(s) without any distinction. Namespaces not explicitly covered is handled by a catch-all returning '<page type>'.

This template is intended for transclusion by other templates, maintenance templates in particular.

Usage

{{PageType}}

Examples

{{PageType}}

{{#switch:Template

|=article |User=user page |RuneScape=project page |File=image |Template=template |Help=help page |Category=category |Map=map page |Forum=forum thread |Exchange=exchange page |Update=update page |Calculator=calculator |Transcript=transcript |Property=property |Module=module |Guide=guide

|Talk=talk page |User talk=talk page |RuneScape talk=talk page |File talk=talk page |Template talk=talk page |Help talk=talk page |Category talk=talk page |Map talk=map talk page |Forum talk=talk page |Exchange talk=talk page |Update talk=talk page |Calculator talk=talk page |Transcript talk=talk page |Property talk=talk page |Module talk=talk page |Guide talk=talk page

|#default=<page type> }}

Parameters

<templatedata> {

   "description": "",
   "params": {
   }

} </templatedata>