Ашаблон:Pagetype/doc
Ари ашаблон 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
аредакциазура- Basic code
{{pagetype}}
- Full code
{{pagetype | page = | defaultns = | main = | user = | wikipedia = | project = | wp = | file = | image = | mediawiki = | template = | help = | category = | portal = | timedtext = | module = | special = | media = | talk = | redirect = | dab = | na = | other = | plural = }}
Basic usage
аредакциазураFor simple detection of the page type of the current page, use the default settings:
{{pagetype}}
That will produce the following results, depending on the page type or the namespace: