Difference between revisions of "Smart Text"

From Help Wiki
(Date & Time)
Line 41: Line 41:
 
<br/>
 
<br/>
 
{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} {{CURRENTTIME}}
 
{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} {{CURRENTTIME}}
 +
<br/>
 +
<br/>
 +
{{gender:username
 +
|return text if user is male
 +
|return text if user is female
 +
|return text if user hasn't defined their gender}}

Revision as of 12:26, 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,423
{{NUMBEROFPAGES}} Current Pages: 5,295
{{NUMBEROFUSERS}} Current Users: 10,122


Date & Time

{{CURRENTWEEK}} Current Week: 13
{{CURRENTMONTH}} Current Month: 03
{{CURRENTMONTHNAME}} Current Month: March
{{CURRENTDAY}} Current Day: 29
{{CURRENTDAYNAME}} Current Day of the Week: Friday
{{CURRENTYEAR}} Current Year: 2024
{{CURRENTTIME}} Current Time: 11:48

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

Examples


ISO 8601
2024-03-29 11:48

return text if user hasn't defined their gender