Anonymous user
Template:Pagetype/doc: Difference between revisions
Rm {{used in system}}, no longer used in system messages
Richardpruen (talk | contribs) m (1 revision imported) |
imported>Pppery (Rm {{used in system}}, no longer used in system messages) |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
{{high | {{high use}} | ||
{{lua|Module:Pagetype}} | {{lua|Module:Pagetype}} | ||
Line 32: | Line 31: | ||
| category = | | category = | ||
| portal = | | portal = | ||
| timedtext = | | timedtext = | ||
| module = | | module = | ||
Line 68: | Line 65: | ||
|- | |- | ||
| Module namespace || <code>module</code> | | Module namespace || <code>module</code> | ||
|- | |- | ||
| Other namespaces || <code>page</code> | | Other namespaces || <code>page</code> | ||
Line 120: | Line 115: | ||
| help = ''yes'' | | help = ''yes'' | ||
| portal = ''yes'' | | portal = ''yes'' | ||
| timedtext = ''yes'' | | timedtext = ''yes'' | ||
| special = ''yes'' | | special = ''yes'' | ||
Line 142: | Line 136: | ||
|- | |- | ||
| Portal namespace || <code>portal</code> | | Portal namespace || <code>portal</code> | ||
|- | |- | ||
| Timed Text namespace || <code>Timed Text page</code> | | Timed Text namespace || <code>Timed Text page</code> | ||
Line 160: | Line 152: | ||
| category = ''no'' | | category = ''no'' | ||
| module = ''no'' | | module = ''no'' | ||
}} | }} | ||
Line 264: | Line 255: | ||
| style="text-align: center;" | {{cross}} | | style="text-align: center;" | {{cross}} | ||
| portal | | portal | ||
|- | |- | ||
| TimedText | | TimedText | ||
Line 358: | Line 335: | ||
| category = ''custom text'' | | category = ''custom text'' | ||
| portal = ''custom text'' | | portal = ''custom text'' | ||
| timedtext = ''custom text'' | | timedtext = ''custom text'' | ||
| module = ''custom text'' | | module = ''custom text'' | ||
Line 538: | Line 513: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "This template Identifies the type of a given page. It is highly customisable. By default it detects redirects, articles, files, templates, categories | "description": "This template Identifies the type of a given page. It is highly customisable. By default it detects redirects, articles, files, templates, categories, and modules, and other types of page are displayed as \"page\".", | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
Line 603: | Line 578: | ||
"label": "Portal namespace", | "label": "Portal namespace", | ||
"description": "Adjust output for the Portal namespace. Use \"yes\" to enable with the output \"portal\", \"no\" to disable, and other text to enable with custom output. Disabled by default." | "description": "Adjust output for the Portal namespace. Use \"yes\" to enable with the output \"portal\", \"no\" to disable, and other text to enable with custom output. Disabled by default." | ||
}, | }, | ||
"timedtext": { | "timedtext": { | ||
Line 657: | Line 622: | ||
"type": "string/line", | "type": "string/line", | ||
"label": "Set of default namespaces", | "label": "Set of default namespaces", | ||
"description": "This parameter is used to specify the set of namespaces used by default. By default the template detects page types in the main, File, Template, Category | "description": "This parameter is used to specify the set of namespaces used by default. By default the template detects page types in the main, File, Template, Category, and Module namespaces. If this parameter is set to \"none\", the template doesn't detect page types in any namespaces. If it is set to \"extended\", the template detects page types in the main, User, Wikipedia, File, MediaWiki, Template, Help, Category, Portal, and Module namespaces. If it is set to \"all\", the template detects page types in all namespaces, including talk pages. The namespaces set by this parameter can be overridden by the parameters for individual namespaces." | ||
}, | }, | ||
"plural": { | "plural": { |