Difference between revisions of "Smart Text"
(→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
Contents
Smart Text (Magic Words)
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,422
{{NUMBEROFPAGES}} Current Pages: 5,401
{{NUMBEROFUSERS}} Current Users: 10,291
Date & Time
{{CURRENTWEEK}} Current Week: 47
{{CURRENTMONTH}} Current Month: 11
{{CURRENTMONTHNAME}} Current Month: November
{{CURRENTDAY}} Current Day: 23
{{CURRENTDAYNAME}} Current Day of the Week: Saturday
{{CURRENTYEAR}} Current Year: 2024
{{CURRENTTIME}} Current Time: 18:38
{{CURRENTTIMESTAMP}} TimeStamp: 20241123183837
Autoformatting date to ISO 8601
{{#formatdate:Jan 1 2012|ISO 8601}}
2012-01-01
Examples
ISO 8601
2024-11-23 18:38
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