Difference between revisions of "Smart Text"

From Help Wiki
(User Related Info)
m
 
(5 intermediate revisions by one other user not shown)
Line 16: Line 16:
 
<nowiki>{{NUMBEROFUSERS}}</nowiki> Current Users:    {{NUMBEROFUSERS}} <br/>
 
<nowiki>{{NUMBEROFUSERS}}</nowiki> Current Users:    {{NUMBEROFUSERS}} <br/>
 
<br/>
 
<br/>
 
+
<br/>
 +
=====Page Info=====
 +
----
 +
Version 1.7 is needed for these ''magic words''
 +
<br/>
 +
<nowiki>{{FULLPAGENAME}}</nowiki>
  
 
=====Date & Time=====
 
=====Date & Time=====
Line 52: Line 57:
 
<br/>
 
<br/>
 
<br/>
 
<br/>
{{gender:username
+
User Sex:{{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}}
 +
 
 +
[[Category:Mediawiki]]

Latest revision as of 16:15, 10 April 2017

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,311
{{NUMBEROFPAGES}} Current Pages: 4,543
{{NUMBEROFUSERS}} Current Users: 8,945


Page Info

Version 1.7 is needed for these magic words
{{FULLPAGENAME}}

Date & Time

{{CURRENTWEEK}} Current Week: 43
{{CURRENTMONTH}} Current Month: 10
{{CURRENTMONTHNAME}} Current Month: October
{{CURRENTDAY}} Current Day: 23
{{CURRENTDAYNAME}} Current Day of the Week: Wednesday
{{CURRENTYEAR}} Current Year: 2019
{{CURRENTTIME}} Current Time: 15:10

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

Examples


ISO 8601
2019-10-23 15:10

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}}

User Sex:other