Template:Pagetype/doc: Difference between revisions
| [checked revision] | [checked revision] |
Content deleted Content added
Caleb Cooper (talk | contribs) Created page with "{{Documentation subpage}} <!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{high-use|7080000+|all-..." |
Caleb Cooper (talk | contribs) m Text replacement - "[[WP:" to "[[Wikipedia:WP:" |
||
| (One intermediate revision by the same user not shown) | |||
Line 1:
{{Documentation subpage}}
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{high-use
{{used in system|in [[MediaWiki:Templatesandbox-editform-legend]]}}
{{Commons Import}}
{{lua|Module:Pagetype}}
This template is used to detect the page type of a given page. It detects [[Wikipedia:WP:REDIRECT|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 ==
Line 52 ⟶ 53:
{{pagetype}}
That will produce the following results, depending on the page type or the [[Wikipedia:WP:NAMESPACE|namespace]]:
{| class="wikitable"
| |||