模板:Wikivar
$wgMagicWordsEn at CVS Language.php meta:help:Variable, meta:Global variables
method a | method b | generates |
---|---|---|
↑ common namespaces [-2 - 15] / used at all MediaWiki projects ↓ | ||
{{ns:-2}} | {{ns:Media}} | Media |
{{ns:-1}} | {{ns:Special}} | Special |
↑ (Main) – MediaWiki:Blanknamespace – 条目 ↓ | ||
{{ns:1}} | {{ns:Talk}} | Talk |
{{ns:2}} | {{ns:User}} | User |
{{ns:3}} | {{ns:User_talk}} | User talk |
{{ns:4}} | {{ns:Project}} | Wikipedia |
{{ns:5}} | {{ns:Project_talk}} | Wikipedia 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 |
↑ reserved namespaces ↓ | ||
{{ns:16}} | ||
{{ns:17}} | ||
{{ns:98}} | ||
{{ns:99}} | ||
↑ custom namespaces ↓ | ||
{{ns:100}} | Portal | |
{{ns:101}} | Portal talk | |
{{ns:102}} | WikiProject | |
{{ns:103}} | WikiProject talk | |
{{ns:104}} | ||
{{ns:105}} | ||
{{ns:106}} | ||
{{ns:107}} | ||
{{ns:121}} | ||
{{ns:122}} | ||
{{ns:127}} | ||
{{ns:128}} | ||
{{ns:2147483646}} | ||
{{ns:2147483647}} | ||
↑ variables ↓ | ||
{{CURRENTDAY}} | 18 | |
{{CURRENTDAY2}} | 18 | |
{{CURRENTDAYNAME}} | 星期日 | |
{{CURRENTDOW}} | 0 | |
{{CURRENTMONTH}} | 08 | |
{{CURRENTMONTHABBREV}} | 8月 | |
{{CURRENTMONTHNAME}} | 8月 | |
{{CURRENTMONTHNAMEGEN}} | 8月 | |
{{CURRENTTIME}} | 10:35 | |
{{CURRENTWEEK}} | 33 | |
{{CURRENTYEAR}} | 2024 | |
{{FULLPAGENAME}} | Template:Wikivar | |
{{FULLPAGENAMEE}} | Template:Wikivar 1 | |
{{NAMESPACE}} | Template | |
{{NAMESPACEE}} | Template 1 | |
{{NUMBEROFARTICLES}} | 1,436,488 | |
{{NUMBEROFFILES}} | 67,996 | |
{{PAGENAME}} | Wikivar | |
{{PAGENAMEE}} | Wikivar 1 | |
{{SCRIPTPATH}} | /w 1 | |
{{SERVER}} | //zh.wikipedia.org | |
{{SERVERNAME}} | zh.wikipedia.org | |
{{SITENAME}} | Wikipedia | |
↑ predefined templates ↓ | ||
{{FULLURL:}} | ||
{{FULLURLE:}} | ||
{{GRAMMAR:}} | GRAMMAR CVS /languages/ | |
{{INT:}} | ||
{{LC:}} | ||
{{LCFIRST:}} | ||
{{LOCALURL:}} | ||
{{LOCALURLE:}} | ||
{{MSG:}} | ||
{{MSGNW:}} | ||
{{NS:}} | ||
{{PLURAL:}} | ||
{{REVISIONID:}} | ||
{{REVISIONID}} | - | |
{{SUBST:}} | ||
{{UC:}} | ||
{{UCFIRST:}} | ||
1 this documentation displays this value LTR (left to right) | ||
↑ | common reserved custom namespaces | variables | predefined templates | ↓ |