Vinismo is written by its readers -- Internet users like you -- and we need your help! Try our getting started guide to learn how.

Edit

Help:Variables

From Vinismo

Jump to: navigation, search

Vinismo knows some defined variables which can be used in texts. They are rendered differently depending on the time, the site and the page. Their syntax is similar to templates. If you want a page to show always the current time, you use {{CURRENTTIME}}. To distinguish variables from templates, most variables are capitalized.

Description You type You get
Date & Wiki variables
Current month {{CURRENTMONTH}} 11
Current month {{CURRENTMONTHNAME}} November
Genitive form
of current month name
{{CURRENTMONTHNAMEGEN}} November
Abbreviated month name {{CURRENTMONTHABBREV}} Nov
Day of the month {{CURRENTDAY}} 20
Day number in the week {{CURRENTDOW}} 4
Day name in the week {{CURRENTDAYNAME}} Thursday
Week {{CURRENTWEEK}} 47
Year {{CURRENTYEAR}} 2008
Current time {{CURRENTTIME}} 15:12
Total number of pages in Vinismo {{NUMBEROFPAGES}} 34,144
Total number of articles in Vinismo {{NUMBEROFARTICLES}} 11,410
Number of files uploaded to Vinismo {{NUMBEROFFILES}} 3
Namespaces
Pseudo-namespace "Special" {{ns:-1}} or {{ns:Special}} Special
Main namespace {{ns:0}} (empty)
Talk (articles in main namespace) {{ns:1}} or {{ns:Talk}} Talk
User pages {{ns:2}} or {{ns:User}} User
{{ns:3}} or {{ns:User_talk}} User_talk
Vinismo Community pages {{ns:4}} or {{ns:Vinismo}} Vinismo
{{ns:5}} or {{ns:Vinismo_talk}} Vinismo_talk
Images {{ns:6}} or {{ns:Image}} Image
{{ns:7}} or {{ns:Image_talk}} Image_talk
MediaWiki software pages {{ns:8}} or {{ns:MediaWiki}} MediaWiki
{{ns:9}} or {{ns:MediaWiki_talk}} MediaWiki_talk
Templates {{ns:10}} or {{ns:Template}} Template
{{ns:11}} or {{ns:Template_talk}} Template_talk
Help pages {{ns:12}} or {{ns:Help}} Help
{{ns:13}} or {{ns:Help_talk}} Help_talk
Categories {{ns:14}} or {{ns:Category}} Category
{{ns:15}} or {{ns:Category_talk}} Category_talk
Server specific
Sitename {{SITENAME}} Vinismo
Servername {{SERVERNAME}} vinismo.com
Server {{SERVER}} http://vinismo.com
Script path {{SCRIPTPATH}} /wiki/en
Local part of the URL
{{localurl:pagename}} /en/Pagename
{{localurl:pagename|query string}} /wiki/en/index.php?title=Pagename&query string
Page related
Pagename {{PAGENAME}} Variables
Pagename
(URL encoded)
{{PAGENAMEE}} Variables
Namespace {{NAMESPACE}} Help
Revision ID {{REVISIONID}} 3683
Page Actions
Languages
Creative Commons Attribution-ShareAlike 2.5 Canada