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}} = (Gallery)
{{ns:1}} {{ns:Talk}}   Talk
{{ns:2}} {{ns:User}}   User
{{ns:3}} {{ns:User_talk}}   User talk
{{ns:4}} {{ns:Project}}   Commons
{{ns:5}} {{ns:Project_talk}}   Commons 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.] [clarification needed] Depending on the project
{{ns:100}}   Creator
{{ns:101}}   Creator talk
{{ns:102}}   TimedText
{{ns:103}}   TimedText talk
{{ns:104}}   Sequence
{{ns:105}}   Sequence talk
Variable Generates
{{CURRENTDAY}}   26
{{CURRENTDAY2}}   26
{{CURRENTDAYNAME}}   Thursday
{{CURRENTDOW}}   4
{{CURRENTMONTH}}   12
{{CURRENTMONTHABBREV}}   Dec
{{CURRENTMONTHNAME}}   December
{{CURRENTMONTHNAMEGEN}}   December
{{CURRENTTIME}}   01:39
{{CURRENTWEEK}}   52
{{CURRENTYEAR}}   2024
{{FULLPAGENAME}}   Template:Wikivar
{{FULLPAGENAMEE}}   Template:Wikivar 1
{{NAMESPACE}}   Template
{{NAMESPACEE}}   Template 1
{{NUMBEROFARTICLES}}   107,766,221
{{NUMBEROFFILES}}   112,090,435
{{PAGENAME}}   Wikivar
{{PAGENAMEE}}   Wikivar 1
{{SUBPAGENAME}}   Wikivar
{{SUBPAGENAMEE}}   Wikivar 1
{{REVISIONID}}   -
{{SCRIPTPATH}}   /w 1
{{SERVER}}   //commons.wikimedia.org
{{SERVERNAME}}   commons.wikimedia.org
{{SITENAME}}   Wikimedia Commons
1 This documentation displays this value LTR (left to right)



This template can be used to trace the values of many « magic words » see svn:MagicWord.php · view.

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