Module:Pagetype/doc

Revision as of 06:53, 28 January 2023 by Nomad (talk | contribs) (Created page with "{{Documentation}} {{Wikipedia template}} '''Module:Pagetype''' 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-module to create other page-type-detection templates.")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Pagetype

Function list
L 25 — shallowCopy
L 34 — checkPagetypeInput
L 46 — getPagetypeFromClass
L 63 — getNsDetectValue
L 165 — detectRedirects
L 195 — p._main
L 204 — p.main

Module:Pagetype 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-module to create other page-type-detection templates.