Difference between revisions of "Smart Text"

From Help Wiki
Line 42: Line 42:
 
{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} {{CURRENTTIME}}
 
{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} {{CURRENTTIME}}
 
<br/>
 
<br/>
 +
<br/>
 +
=====User Related Info=====
 +
<nowiki>
 +
{{gender:username
 +
|return text if user is male
 +
|return text if user is female
 +
|return text if user hasn't defined their gender}}
 +
</nowiki>
 
<br/>
 
<br/>
 
{{gender:username
 
{{gender:username

Revision as of 12:27, 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,314
{{NUMBEROFPAGES}} Current Pages: 4,504
{{NUMBEROFUSERS}} Current Users: 8,885


Date & Time

{{CURRENTWEEK}} Current Week: 34
{{CURRENTMONTH}} Current Month: 08
{{CURRENTMONTHNAME}} Current Month: August
{{CURRENTDAY}} Current Day: 19
{{CURRENTDAYNAME}} Current Day of the Week: Monday
{{CURRENTYEAR}} Current Year: 2019
{{CURRENTTIME}} Current Time: 18:39

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

Examples


ISO 8601
2019-08-19 18:39

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}}
return text if user hasn't defined their gender