Template:Wikivar

From WikiEducator
Jump to: navigation, search

[‎edit]‎ Template:Wikivar‎ at: www (en), el, es, fr, he, hi, mi, pt, ru, ta, te · test: · Language Installations · uselang=en, el, es, fr, he, hi, mi, pt, ru, ta, te · [‎purge]‎


Last update:00:03, 21 December 2009 (UTC) validator.w3.org

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}}   WikiEducator
{{ns:5}} {{ns:Project_talk}}   WikiEducator 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:016}}  
{{ns:100}}   Portal
{{ns:101}}   Portal talk
{{ns:102}}   Practice
{{ns:103}}   Practice talk
{{ns:104}}   OERF
{{ns:105}}   OERF talk
{{ns:106}}  
variable generates
{{CURRENTDAY}}   18
{{CURRENTDAY2}}   18
{{CURRENTDAYNAME}}   Sunday
{{CURRENTDOW}}   0
{{CURRENTMONTH}}   02
{{CURRENTMONTHABBREV}}   Feb
{{CURRENTMONTHNAME}}   February
{{CURRENTMONTHNAMEGEN}}   February
{{CURRENTTIME}}   01:49
{{CURRENTWEEK}}   7
{{CURRENTYEAR}}   2018
{{FULLPAGENAME}}   Template:Wikivar
{{FULLPAGENAMEE}}   Template:Wikivar 1
{{NAMESPACE}}   Template
{{NAMESPACEE}}   Template 1
{{NUMBEROFARTICLES}}   24,106
{{NUMBEROFFILES}}   38,685
{{PAGENAME}}   Wikivar
{{PAGENAMEE}}   Wikivar 1
{{SUBPAGENAME}}   Wikivar
{{SUBPAGENAMEE}}   Wikivar 1
{{REVISIONID}}   495021
{{SCRIPTPATH}}   1
{{SERVER}}   //wikieducator.org
{{SERVERNAME}}   wikieducator.org
{{SITENAME}}   WikiEducator
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.