Template:PageType

From IdleOn MMO Wiki
Revision as of 06:44, 12 June 2024 by Nads (talk | contribs) (Created page with "<includeonly>{{#invoke:PageType|main|{{NAMESPACE:{{{1|{{FULLPAGENAME}}}}}}}}}</includeonly><noinclude>{{/doc}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Template parameters

ParameterDescriptionTypeStatus
11

The name of the page to get a descriptive name for.

Default
{{{FULLPAGENAME}}}
Example
Template:RFD
Page nameoptional