Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Usage

Namespaces
Subject namespaces Talk namespaces
0 (Main/Article) Talk 1
2 User User talk 3
4 KenshiDB KenshiDB talk 5
6 File File talk 7
8 MediaWiki MediaWiki talk 9
10 Template Template talk 11
12 Help Help talk 13
14 Category Category talk 15
100 [[Wikipedia:Portal|]] 101
118 [[Wikipedia:Drafts|]] 119
126 [[Wikipedia:Manual of Style|]] 127
710 [[mw:Extension:TimedMediaHandler|]] 711
828 Module Module talk 829
Former namespaces
108 Book Book talk 109
442 Course Course talk 443
444 Institution Institution talk 445
446 Education Program Education Program talk 447
2300 Gadget Gadget talk 2301
2302 Gadget definition Gadget definition talk 2303
2600 Topic 2601
Virtual namespaces
-1 Special
-2 Media
Current list

This returns the proper namespace name, given the single parameter of its ID number, per Template:Namespaces. For example:

{{Namespace name|1}}

Talk

{{Namespace name|711}}


Plays well with {{Database report}}.

This does, more or less, the same thing as the magic word {{ns:711}} (and it indeed incorporates that magic word to handle alphabetic input). However, it adds the functionality of parsing deprecated namespaces as well, like Book: and Gadget: et cetera.

See also