Template:Pagetype/doc: Difference between revisions

[checked revision][checked revision]
Content deleted Content added
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-..."
 
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|7080000+|all-pages = yes}}
{{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:
&#123;{pagetype}}
 
That will produce the following results, depending on the page type or the [[Wikipedia:WP:NAMESPACE|namespace]]:
 
{| class="wikitable"