Template:Pagetype
Jump to navigation
Jump to search
template
Template:Documentation subpage Template:Lua
This template is used to detect the page type of a given page. It detects redirect pages automatically and is highly customisable. It can be used on its own or as a meta-template to create other page-type-detection templates.
Syntax[edit source]
- Basic code
{{pagetype}}
- Full code
{{pagetype | page = | defaultns = | main = | user = | wikis wiki = | project = | ww = | file = | image = | mediawiki = | template = | help = | category = | portal = | book = | education program = | timedtext = | module = | special = | media = | talk = | redirect = | dab = | na = | other = }}
![]() |
This template uses material from the Wikipedia template Template:Pagetype, which is released under the Creative Commons Attribution-ShareAlike 3.0 Unported License (view authors). |
The above documentation is transcluded from Template:Pagetype/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |