00:36

Welcome
Welcome!Welcome to Ships Nostalgia, the world's greatest online community for people worldwide with an interest in ships and shipping. Whether you are crew, ex-crew, ship enthusiasts or cruisers, this is the forum for you. And what's more, it's completely FREE.

Click here to go to the forums home page and find out more.
Click here to join.
Log in
User Name Password

Help:Variables

From SN Guides

MediaWiki 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}} 02
Current month {{CURRENTMONTHNAME}} February
Genitive form
of current month name
{{CURRENTMONTHNAMEGEN}} February
Abbreviated month name {{CURRENTMONTHABBREV}} Feb
Day of the month {{CURRENTDAY}} 5
Day of the week {{CURRENTDOW}} 0
Day of the week {{CURRENTDAYNAME}} Sunday
Week {{CURRENTWEEK}} 5
Year {{CURRENTYEAR}} 2012
current time {{CURRENTTIME}} 00:36
numbers of articles in this Wiki {{NUMBEROFARTICLES}} 224
numbers of uploaded files {{NUMBEROFFILES}} 1,295
Namespaces
{{ns:-2}} or {{ns:Media}} Media
{{ns:-1}} or {{ns:Special}} Special
{{ns:1}} or {{ns:Talk}} Talk
{{ns:2}} or {{ns:User}} User
{{ns:3}} or {{ns:User_talk}} User_talk
{{ns:4}} or {{ns:Project}} SN_Guides
{{ns:5}} or {{ns:Project_talk}} SN_Guides_talk
{{ns:6}} or {{ns:Image}} Image
{{ns:7}} or {{ns:Image_talk}} Image_talk
{{ns:8}} or {{ns:MediaWiki}} MediaWiki
{{ns:9}} or {{ns:MediaWiki_talk}} MediaWiki_talk
{{ns:10}} or {{ns:Template}} Template
{{ns:11}} or {{ns:Template_talk}} Template_talk
{{ns:12}} or {{ns:Help}} Help
{{ns:13}} or {{ns:Help_talk}} Help_talk
{{ns:14}} or {{ns:Category}} Category
{{ns:15}} or {{ns:Category_talk}} Category_talk
Server specific
Sitename {{SITENAME}} SN Guides
Servername {{SERVERNAME}} www.shipsnostalgia.com
Server {{SERVER}} http://www.shipsnostalgia.com
Script path {{SCRIPTPATH}} /guides
Local part of the URL
{{localurl:pagename}} /guides/Pagename
{{localurl:pagename|query string}} /guides/index.php?title=Pagename&query string
Page related
Pagename {{PAGENAME}} Variables
Pagename
(URL encoded)
{{PAGENAMEE}} Variables
Namespace {{NAMESPACE}} Help
Revision ID {{REVISIONID}} 1468



Search the net with ask.com
Support SN
Ask.com and get


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Powered by vbWiki Pro 1.0.3 Beta 3. Copyright ©2006, NuHit, LLC