Template:PageType
From IdleOn MMO Wiki
This template produces a descriptive name for pages in different namespaces.
Namespace | Output |
---|---|
Main | article |
File | image |
Category | category |
Template | template |
Module | module |
IdleOn | project page |
* talk | talk page |
Any namespaces not handled above will converted to lowercase and the "page" suffix will be added.
Examples
What you type | What it produces |
---|---|
{{PageType}} |
template |
{{PageType|Hello World}} |
article |
{{PageType|Module:NumberParser}} |
module |
{{PageType|Mediawiki talk:Common.css}} |
talk page |
Parameters
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | The name of the page to get a descriptive name for.
| Page name | optional |