Content deleted Content added
GKNishimoto (talk | contribs) No edit summary Tags: Mobile edit Mobile web edit Advanced mobile edit |
m Expand {{lua}}. |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1:
{{high use}}
{{module rating|protected}}
{{cascade-protected template|page=module}}
{{Lua|Module:Pagetype/config|Module:Arguments|Module:Disambiguation|Module:Namespace detect|Module:
This module is used to detect the page type of a given page. It detects [[WP:REDIRECT|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. This module can also be accessed using {{tl|pagetype}}.
Line 38 ⟶ 39:
| media =
| talk =
| redirect =
| soft_redirect =
| dab =
| na =
| other =
| sia =
| nonexistent =
| plural =
}}
Line 486 ⟶ 490:
== Disambiguation pages ==
By default, the module uses [[Module:Disambiguation]] to detect [[WP:DAB|disambiguation pages]] in the main namespace. If you want, you can turn this detection off, or use a custom value for disambiguation pages.
Line 505 ⟶ 508:
| <code><nowiki>{{#invoke:pagetype|main|page=Mercury|dab=custom text}}</nowiki></code> || {{#invoke:pagetype|main|page=Mercury|dab=custom text}}
|}
== Set index articles ==
Documentation pending.
== Soft redirects ==
Documentation pending.
== Non-existent pages ==
Documentation pending.
== Other namespaces ==
|