Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a22626ee592736cd

Jump to content

Template:Namespace name/doc

From Wikipedia, the free encyclopedia

Usage

[edit]
Namespaces
Subject namespacesTalk namespaces
0 (Main/Article)Talk 1
2 UserUser talk 3
4 WikipediaWikipedia talk 5
6 FileFile talk 7
8 MediaWikiMediaWiki talk 9
10 TemplateTemplate talk 11
12 HelpHelp talk 13
14 CategoryCategory talk 15
100 PortalPortal talk 101
118 DraftDraft talk 119
126 MOSMOS talk 127
710 TimedTextTimedText talk 711
828 ModuleModule talk 829
1728 EventEvent talk 1729
Former namespaces
108 BookBook talk 109
442 CourseCourse talk 443
444 InstitutionInstitution talk 445
446 Education ProgramEducation Program talk 447
2300 GadgetGadget talk 2301
2302 Gadget definitionGadget 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}}

TimedText talk

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

[edit]