Difference between revisions of "User:Cassiel Seraphim/Template:debug"
From EVE University Wiki
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 | + | ! 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 (+2) || {{CURRENTDAY}} ({{CURRENTDAY2}}) || {{LOCALDAY}} ({{LOCALDAY2}}) |
|- | |- | ||
− | | CURRENTDAYNAME | + | | CURRENTDAYNAME || {{CURRENTDAYNAME}} || {{LOCALDAYNAME}} |
|- | |- | ||
− | | | + | | CURRENTDOW || ({{CURRENTDOW}}) || ({{LOCALDOW}}) |
+ | |- | ||
+ | | CURRENTTIME || {{CURRENTTIME}} || {{LOCALTIME}} | ||
+ | |- | ||
+ | | CURRENTHOUR || {{CURRENTHOUR}} || {{LOCALHOUR}} | ||
|- | |- | ||
| CURRENTWEEK || {{CURRENTWEEK}} || {{LOCALWEEK}} | | CURRENTWEEK || {{CURRENTWEEK}} || {{LOCALWEEK}} |
Revision as of 14:32, 8 September 2015
|
|
- ^ 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".
- ^ 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|}}} =