Template:Ns2idx

From XionKB
Revision as of 02:08, 8 March 2023 by Alexander (talk | contribs) (Created page with "<noinclude><span style="display:none"></noinclude><onlyinclude>{{#switch:{{{1|}}}|media=-2|Media=-2|special=-1|Special=-1|-=0|#default=0|talk=1|Talk=1|user=2|User=2|user talk=3|User talk=3|user_talk=3|User_talk=3|project=4|Project=4|{{SITENAME}}=4|project talk=5|Project talk=5|project_talk=5|Project_talk=5|file=6|File=6|file talk=7|File talk=7|file_talk=7|File_talk=7|mediawiki=8|Mediawiki=8|MediaWiki=8|mediawiki talk=9|Mediawiki talk=9|MediaWiki talk=9|mediawiki_talk=9|M...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

0

This template takes a string parameter {{{1}}} that contains the human-readable form of a built-in namespace, and provides the built-in namespace ID number as its content. It handles all valid forms of capitalisation and space-underscore variance, as well as talk page namespaces.