Difference between revisions of "Smart Text"

From Help Wiki
(User Related Info)
(User Related Info)
Line 53: Line 53:
 
<br/>
 
<br/>
 
{{gender:username
 
{{gender:username
|return text if user is male
+
|male
|return text if user is female
+
|female
|return text if user hasn't defined their gender}}
+
|other}}

Revision as of 11:29, 14 May 2012

Smart Text (Magic Words)

media wiki source

System

{{CURRENTVERSION}} Current Version: 1.26.3
{{SITENAME}} Site Name: Help Wiki
{{Server}} Server: http://helpwiki.evergreen.edu
{{SERVERNAME}} Server Name: helpwiki.evergreen.edu

Site Info

{{NUMBEROFARTICLES}} Current Articles: 1,413
{{NUMBEROFPAGES}} Current Pages: 4,835
{{NUMBEROFUSERS}} Current Users: 9,250


Date & Time

{{CURRENTWEEK}} Current Week: 4
{{CURRENTMONTH}} Current Month: 01
{{CURRENTMONTHNAME}} Current Month: January
{{CURRENTDAY}} Current Day: 26
{{CURRENTDAYNAME}} Current Day of the Week: Tuesday
{{CURRENTYEAR}} Current Year: 2021
{{CURRENTTIME}} Current Time: 03:46

{{CURRENTTIMESTAMP}} TimeStamp: 20210126034601
Autoformatting date to ISO 8601
{{#formatdate:Jan 1 2012|ISO 8601}}
2012-01-01

Examples


ISO 8601
2021-01-26 03:46

User Related Info

{{gender:username |return text if user is male |return text if user is female |return text if user hasn't defined their gender}}

other