Difference between revisions of "Smart Text"

From Help Wiki
(Date & Time)
m
 
(9 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 33: Line 38:
 
<br/>
 
<br/>
 
<nowiki>{{#formatdate:Jan 1 2012|ISO 8601}}</nowiki>
 
<nowiki>{{#formatdate:Jan 1 2012|ISO 8601}}</nowiki>
 +
<br/>
 
{{#formatdate:Jan 1 2012|ISO 8601}}
 
{{#formatdate:Jan 1 2012|ISO 8601}}
  
Line 40: Line 46:
 
<br/>
 
<br/>
 
{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} {{CURRENTTIME}}
 
{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} {{CURRENTTIME}}
 +
<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/>
 +
User Sex:{{gender:username
 +
|male
 +
|female
 +
|other}}
 +
 +
[[Category:Mediawiki]]

Latest revision as of 15: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,314
{{NUMBEROFPAGES}} Current Pages: 4,563
{{NUMBEROFUSERS}} Current Users: 8,975


Page Info

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

Date & Time

{{CURRENTWEEK}} Current Week: 50
{{CURRENTMONTH}} Current Month: 12
{{CURRENTMONTHNAME}} Current Month: December
{{CURRENTDAY}} Current Day: 10
{{CURRENTDAYNAME}} Current Day of the Week: Tuesday
{{CURRENTYEAR}} Current Year: 2019
{{CURRENTTIME}} Current Time: 19:27

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

Examples


ISO 8601
2019-12-10 19:27

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