Template:Wikivar
purge commons: m: n: q: s: testwiki: w: wikt: ? version | ||
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}} | 22 | |
{{CURRENTDAY2}} | 22 | |
{{CURRENTDAYNAME}} | Sunday | |
{{CURRENTDOW}} | 0 | |
{{CURRENTMONTH}} | 12 | |
{{CURRENTMONTHABBREV}} | Dec | |
{{CURRENTMONTHNAME}} | December | |
{{CURRENTMONTHNAMEGEN}} | December | |
{{CURRENTTIME}} | 16:16 | |
{{CURRENTWEEK}} | 51 | |
{{CURRENTYEAR}} | 2024 | |
{{FULLPAGENAME}} | Template:Wikivar | |
{{FULLPAGENAMEE}} | Template:Wikivar 1 | |
{{NAMESPACE}} | Template | |
{{NAMESPACEE}} | Template 1 | |
{{NUMBEROFARTICLES}} | 97,714 | |
{{NUMBEROFFILES}} | 2,687 | |
{{PAGENAME}} | Wikivar | |
{{PAGENAMEE}} | Wikivar 1 | |
{{SUBPAGENAME}} | Wikivar | |
{{SUBPAGENAMEE}} | Wikivar 1 | |
{{REVISIONID}} | - | |
{{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.