This site is supported by donations to The OEIS Foundation.

Template:Wikivar

From OeisWiki
Jump to: navigation, search


NOTE: The Media namespace ({{namespace ID|Media}} = −2) is disabled on OEIS Wiki.

Wiki variables
[⧼Purge⧽ Template:Wikivar] [<Edit> Template:Wikivar]


Namespaces
variable generates
(common namespaces: -2 to 15) (used at all MediaWiki projects)
{{ns:-2}}[1] {{ns:Media}}[1]   Media
{{ns:-1}} {{ns:Special}}   Special
{{ns:0}}[2]
 
 
{{MediaWiki:Blanknamespace}}
 
  (Main)
{{ns:1}} {{ns:Talk}}   Talk
{{ns:2}} {{ns:User}}   User
{{ns:3}} {{ns:User_talk}}   User talk
{{ns:4}} {{ns:Project}}   OeisWiki
{{ns:5}} {{ns:Project_talk}}   OeisWiki 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
{{ns:100}} {{ns:Extras}}   Extras
{{ns:101}} {{ns:Extras_talk}}   Extras talk


Current date and time
(Universal Time Coordinated —UTC)
variable generates
{{CURRENTDAY}}   24
{{CURRENTDAY2}}[3]   24
{{CURRENTDAYNAME}}   Wednesday
{{CURRENTDOW}}   3
{{CURRENTMONTH}}   04
{{CURRENTMONTHABBREV}}   Apr
{{CURRENTMONTHNAME}}   April
{{CURRENTMONTHNAMEGEN}}   April
{{CURRENTTIME}}   02:19
{{CURRENTWEEK}}   17
{{CURRENTYEAR}}   2019


Local date and time
(OEIS Wiki Server Time)
variable generates
{{LOCALDAY}}   23
{{LOCALDAY2}}[3]   23
{{LOCALDAYNAME}}   Tuesday
{{LOCALDOW}}   2
{{LOCALMONTH}}   04
{{LOCALMONTHABBREV}}   Apr
{{LOCALMONTHNAME}}   April
{{LOCALMONTHNAMEGEN}}   April
{{LOCALTIME}}   22:19
{{LOCALWEEK}}   17
{{LOCALYEAR}}   2019


Common MediaWiki variables
variable generates
{{BASEPAGENAME}}[4]   Wikivar
{{BASEPAGENAMEE}}[5][6]   Wikivar
{{FULLPAGENAME}}   Template:Wikivar
{{FULLPAGENAMEE}}[5]   Template:Wikivar
{{NAMESPACE}}   Template
{{NAMESPACEE}}[5]   Template
{{NUMBEROFARTICLES}}   179,213
{{NUMBEROFFILES}}   2,205
{{PAGENAME}}   Wikivar
{{PAGENAMEE}}[5]   Wikivar
{{SUBPAGENAME}}[7]   Wikivar
{{SUBPAGENAMEE}}[5][8]   Wikivar
{{REVISIONID}}[9]   1621453
{{CURRENTVERSION}}   1.30.0
{{SCRIPTPATH}}   /w
{{SERVER}}   http://oeis.org
{{SERVERNAME}}   oeis.org
{{SITENAME}}   OeisWiki



Notes

  1. 1.0 1.1 The Media namespace ({{namespace ID|Media}} = −2) is disabled on OEIS Wiki.
  2. Returns empty string.
  3. 3.0 3.1 Always show 2 digits (with leading 0 if required).
  4. See {{basepage name}}.
  5. 5.0 5.1 5.2 5.3 5.4 URL encoded version.
  6. See {{basepage name|e}}.
  7. See {{subpage name}}.
  8. See {{subpage name|e}}.
  9. Revision ID of the current page (changes with each saved edit).