Difference between revisions of "Smart Text"

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

Revision as of 11:28, 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,368
{{NUMBEROFPAGES}} Current Pages: 4,664
{{NUMBEROFUSERS}} Current Users: 9,022


Date & Time

{{CURRENTWEEK}} Current Week: 9
{{CURRENTMONTH}} Current Month: 02
{{CURRENTMONTHNAME}} Current Month: February
{{CURRENTDAY}} Current Day: 25
{{CURRENTDAYNAME}} Current Day of the Week: Tuesday
{{CURRENTYEAR}} Current Year: 2020
{{CURRENTTIME}} Current Time: 13:17

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

Examples


ISO 8601
2020-02-25 13:17

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