Difference between revisions of "User:Cassiel Seraphim/Template:debug"

From EVE University Wiki
Jump to: navigation, search
Line 36: Line 36:
 
! style="background-color:#222222;" | Template
 
! style="background-color:#222222;" | Template
 
! style="background-color:#222222;" | Current
 
! style="background-color:#222222;" | Current
! style="background-color:DarkSlateGray;" | Local time <ref>By using LOCALYEAR, LOCALMONTH etc you get the time based on your [[Special:Preferences#mw-prefsection-datetime|date and time]] preference here on the wiki.</ref>
+
! style="background-color:DarkSlateGray;" | Local server time <ref>By using LOCALYEAR, LOCALMONTH etc you seem to get the local time of the server, sadly not the time based on your [[Special:Preferences#mw-prefsection-datetime|date and time]] preference (which would be cool).</ref>
 
|-
 
|-
 
| CURRENTYEAR || {{CURRENTYEAR}} || {{CURRENTYEAR}}
 
| CURRENTYEAR || {{CURRENTYEAR}} || {{CURRENTYEAR}}
Line 44: Line 44:
 
| CURRENTMONTHNAME (+ABBREV) || {{CURRENTMONTHNAME}} ({{CURRENTMONTHABBREV}}) || {{LOCALMONTHNAME}} ({{LOCALMONTHABBREV}})
 
| CURRENTMONTHNAME (+ABBREV) || {{CURRENTMONTHNAME}} ({{CURRENTMONTHABBREV}}) || {{LOCALMONTHNAME}} ({{LOCALMONTHABBREV}})
 
|-
 
|-
| CURRENTDAY (+2) ( || {{CURRENTDAY}} ({{CURRENTDAY2}}) || {{LOCALDAY}} ({{LOCALDAY2}})
+
| CURRENTDAY (+2) || {{CURRENTDAY}} ({{CURRENTDAY2}}) || {{LOCALDAY}} ({{LOCALDAY2}})
 
|-
 
|-
| CURRENTDAYNAME +DOW<) || {{CURRENTDAYNAME}} ({{CURRENTDOW}}) || {{LOCALDAYNAME}} ({{LOCALDOW}})
+
| CURRENTDAYNAME || {{CURRENTDAYNAME}} || {{LOCALDAYNAME}}  
 
|-
 
|-
| CURRENTTIME (HOUR) || {{CURRENTTIME}} ({{CURRENTHOUR}}) || {{LOCALTIME}} ({{LOCALHOUR}})
+
| CURRENTDOW || ({{CURRENTDOW}}) || ({{LOCALDOW}})
 +
|-
 +
| CURRENTTIME || {{CURRENTTIME}} || {{LOCALTIME}}  
 +
|-
 +
| CURRENTHOUR || {{CURRENTHOUR}} || {{LOCALHOUR}}
 
|-
 
|-
 
| CURRENTWEEK || {{CURRENTWEEK}} || {{LOCALWEEK}}
 
| CURRENTWEEK || {{CURRENTWEEK}} || {{LOCALWEEK}}

Revision as of 14:32, 8 September 2015

Debugging Magic words
Template [1] Result
FULLPAGENAME User:Cassiel Seraphim/Template:debug
PAGENAME Cassiel Seraphim/Template:debug
BASEPAGENAME Cassiel Seraphim
SUBPAGENAME Template:debug
SUBJECTPAGENAME User:Cassiel Seraphim/Template:debug
ARTICLEPAGENAME User:Cassiel Seraphim/Template:debug
TALKPAGENAME User talk:Cassiel Seraphim/Template:debug
NAMESPACE User
ARTICLESPACE User
TALKSPACE User talk
Date and time - UTC
Template Current Local server time [2]
CURRENTYEAR 2024 2024
CURRENTMONTH (+1) 11 (11) 11 (11)
CURRENTMONTHNAME (+ABBREV) November (Nov) November (Nov)
CURRENTDAY (+2) 23 (23) 23 (23)
CURRENTDAYNAME Saturday Saturday
CURRENTDOW (6) (6)
CURRENTTIME 07:31 07:31
CURRENTHOUR 07 07
CURRENTWEEK 47 47
CURRENTTIMESTAMP 20241123073138 20241123073138
  1. ^ Any -NAME template will show spaces as " " while similarly named -NAMEE templates will show spaces as "_". PAGENAME for the main page will show "Main Page" whereas PAGENAMEE shows "Main_Page".
  2. ^ By using LOCALYEAR, LOCALMONTH etc you seem to get the local time of the server, sadly not the time based on your date and time preference (which would be cool).


Optional variables:

{{{1}}} = {{{1}}}
{{{1|}}} =
{{{2}}} = {{{2}}}
{{{1|}}} =
{{{3}}} = {{{3}}}
{{{1|}}} =
{{{4}}} = {{{4}}}
{{{1|}}} =
{{{5}}} = {{{5}}}
{{{1|}}} =