Template:Wikivar

From Wikimedia Commons, the free media repository
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}} = (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}}   19
{{CURRENTDAY2}}   19
{{CURRENTDAYNAME}}   Friday
{{CURRENTDOW}}   5
{{CURRENTMONTH}}   12
{{CURRENTMONTHABBREV}}   Dec
{{CURRENTMONTHNAME}}   December
{{CURRENTMONTHNAMEGEN}}   December
{{CURRENTTIME}}   13:21
{{CURRENTWEEK}}   51
{{CURRENTYEAR}}   2014
{{FULLPAGENAME}}   Template:Wikivar
{{FULLPAGENAMEE}}   Template:Wikivar 1
{{NAMESPACE}}   Template
{{NAMESPACEE}}   Template 1
{{NUMBEROFARTICLES}}   117,990
{{NUMBEROFFILES}}   24,121,160
{{PAGENAME}}   Wikivar
{{PAGENAMEE}}   Wikivar 1
{{SUBPAGENAME}}   Wikivar
{{SUBPAGENAMEE}}   Wikivar 1
{{REVISIONID}}   124314613
{{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.