Template:Wikivar

From Wikibooks, open books for an open world
Jump to: navigation, search
variable generates
common namespaces [-2 ... 15] used at all MediaWiki projects
{{ns:-2}} {{ns:Media}}   Media
{{ns:-1}} {{ns:Special}}   Special
{{ns:0}}   {{MediaWiki:Blanknamespace}} = (Main)
{{ns:1}} {{ns:Talk}}   Talk
{{ns:2}} {{ns:User}}   User
{{ns:3}} {{ns:User_talk}}   User talk
{{ns:4}} {{ns:Project}}   Wikibooks
{{ns:5}} {{ns:Project_talk}}   Wikibooks talk
{{ns:6}} {{ns:Image}}   File
{{ns:7}} {{ns:Image_talk}}   File talk
{{ns:8}} {{ns:MediaWiki}}   MediaWiki
{{ns:9}} {{ns:MediaWiki_talk}}   MediaWiki talk
{{ns:10}} {{ns:Template}}   Template
{{ns:11}} {{ns:Template_talk}}   Template talk
{{ns:12}} {{ns:Help}}   Help
{{ns:13}} {{ns:Help_talk}}   Help talk
{{ns:14}} {{ns:Category}}   Category
{{ns:15}} {{ns:Category_talk}}   Category talk
custom namespaces [100 ff.] depending on the project
{{ns:102}}   Cookbook
{{ns:103}}   Cookbook talk
{{ns:108}}   Transwiki
{{ns:109}}   Transwiki talk
{{ns:110}}   Wikijunior
{{ns:111}}   Wikijunior talk
{{ns:112}}   Subject
{{ns:113}}   Subject talk
variable generates
{{CURRENTDAY}}   24
{{CURRENTDAY2}}   24
{{CURRENTDAYNAME}}   Friday
{{CURRENTDOW}}   5
{{CURRENTMONTH}}   10
{{CURRENTMONTHABBREV}}   Oct
{{CURRENTMONTHNAME}}   October
{{CURRENTMONTHNAMEGEN}}   October
{{CURRENTTIME}}   10:28
{{CURRENTWEEK}}   43
{{CURRENTYEAR}}   2014
{{FULLPAGENAME}}   Template:Wikivar
{{FULLPAGENAMEE}}   Template:Wikivar 1
{{NAMESPACE}}   Template
{{NAMESPACEE}}   Template 1
{{NUMBEROFARTICLES}}   49,921
{{NUMBEROFFILES}}   7,309
{{PAGENAME}}   Wikivar
{{PAGENAMEE}}   Wikivar 1
{{SUBPAGENAME}}   Wikivar
{{SUBPAGENAMEE}}   Wikivar 1
{{REVISIONID}}   2649621
{{SCRIPTPATH}}   /w 1
{{SERVER}}   //en.wikibooks.org
{{SERVERNAME}}   en.wikibooks.org
{{SITENAME}}   Wikibooks
1 this documentation displays this value LTR (left to right)



This template can be used to trace the values of many magic words.

Just insert {{wikivar}} at a page and make a preview.