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

From EVE University Wiki
Jump to: navigation, search
(Created page with "{| class="wikitable" ! colspan="4" style="background-color:#111111;" | Debugging [https://www.mediawiki.org/wiki/Help:Magic_words Magic words] |- ! colspan="2" style="backgrou...")
 
Line 1: Line 1:
 +
{|
 +
| valign="top" |
 
{| class="wikitable"
 
{| class="wikitable"
! colspan="4" style="background-color:#111111;" | Debugging [https://www.mediawiki.org/wiki/Help:Magic_words Magic words]
+
! colspan="2" style="background-color:#111111;" | Debugging [https://www.mediawiki.org/wiki/Help:Magic_words Magic words]
 
|-
 
|-
! colspan="2" style="background-color:#222222;" | Template
+
! style="background-color:#222222;" | Template <ref>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".</ref>
! colspan="2" style="background-color:#222222;" | Result
+
! style="background-color:#222222;" | Result
 
|-
 
|-
| FULLPAGENAME
+
| FULLPAGENAME || {{FULLPAGENAME}}
| FULLPAGENAMEE
 
| {{FULLPAGENAME}}
 
| {{FULLPAGENAMEE}}
 
 
|-
 
|-
| PAGENAME
+
| PAGENAME || {{PAGENAME}}
| PAGENAMEE
 
| {{PAGENAME}}
 
| {{PAGENAMEE}}
 
 
|-
 
|-
| BASEPAGENAME
+
| BASEPAGENAME || {{BASEPAGENAME}}
| BASEPAGENAMEE
 
| {{BASEPAGENAME}}
 
| {{BASEPAGENAMEE}}
 
 
|-
 
|-
| BASEPAGENAME
+
| SUBPAGENAME || {{SUBPAGENAME}}
| BASEPAGENAMEE
 
| {{BASEPAGENAME}}
 
| {{BASEPAGENAMEE}}
 
 
|-
 
|-
| SUBPAGENAME
+
| SUBJECTPAGENAME || {{SUBJECTPAGENAME}}
| SUBPAGENAMEE
 
| {{SUBPAGENAME}}
 
| {{SUBPAGENAMEE}}
 
 
|-
 
|-
| SUBJECTPAGENAME
+
| ARTICLEPAGENAME || {{ARTICLEPAGENAME}}
| SUBJECTPAGENAMEE
 
| {{SUBJECTPAGENAME}}
 
| {{SUBJECTPAGENAMEE}}
 
 
|-
 
|-
| ARTICLEPAGENAME
+
| TALKPAGENAME || {{TALKPAGENAME}}
| ARTICLEPAGENAMEE
 
| {{ARTICLEPAGENAME}}
 
| {{ARTICLEPAGENAMEE}}
 
|-
 
| TALKPAGENAME
 
| TALKPAGENAMEE
 
| {{TALKPAGENAME}}
 
| {{TALKPAGENAMEE}}
 
 
|-
 
|-
 
<!-- Doesn't exist.
 
<!-- Doesn't exist.
| ROOTPAGENAME
+
| ROOTPAGENAME || {{ROOTPAGENAME}}
| ROOTPAGENAMEE
 
| {{ROOTPAGENAME}}
 
| {{ROOTPAGENAMEE}}
 
 
-->
 
-->
 +
| NAMESPACE || {{NAMESPACE}}
 +
|-
 +
| ARTICLESPACE|| {{ARTICLESPACE}}
 +
|-
 +
| TALKSPACE|| {{TALKSPACE}}
 +
|}
 +
| valign="top" |
 +
{| class="wikitable"
 +
! colspan="3" style="background-color:#111111;" | Date and time - [http://www.timeanddate.com/time/aboututc.html UTC]
 +
|-
 +
! style="background-color:#222222;" | Template
 +
! 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>
 +
|-
 +
| CURRENTYEAR || {{CURRENTYEAR}} || {{CURRENTYEAR}}
 +
|-
 +
| CURRENTMONTH (+1) || {{CURRENTMONTH}} ({{CURRENTMONTH1}}) || {{LOCALMONTH}} ({{LOCALMONTH1}})
 +
|-
 +
| CURRENTMONTHNAME (+ABBREV) || {{CURRENTMONTHNAME}} ({{CURRENTMONTHABBREV}}) || {{LOCALMONTHNAME}} ({{LOCALMONTHABBREV}})
 +
|-
 +
| CURRENTDAY (+2) ( || {{CURRENTDAY}} ({{CURRENTDAY2}}) || {{LOCALDAY}} ({{LOCALDAY2}})
 +
|-
 +
| CURRENTDAYNAME +DOW<) || {{CURRENTDAYNAME}} ({{CURRENTDOW}}) || {{LOCALDAYNAME}} ({{LOCALDOW}})
 +
|-
 +
| CURRENTTIME (HOUR) || {{CURRENTTIME}} ({{CURRENTHOUR}}) || {{LOCALTIME}} ({{LOCALHOUR}})
 +
|-
 +
| CURRENTWEEK || {{CURRENTWEEK}} || {{LOCALWEEK}}
 +
|-
 +
| CURRENTTIMESTAMP || {{CURRENTTIMESTAMP}} || {{LOCALTIMESTAMP}}
 +
|}
 
|}
 
|}
 +
<small><references/></small>
 +
<br>'''Optional variables:'''<br><br>
 +
<nowiki>{{{1}}}</nowiki> = <span style="background-color:black;">{{{1}}}</span><br>
 +
<nowiki>{{{1|}}}</nowiki> = <span style="background-color:black;">{{{1|}}}</span><br>
 +
<nowiki>{{{2}}}</nowiki> = <span style="background-color:black;">{{{2}}}</span><br>
 +
<nowiki>{{{1|}}}</nowiki> = <span style="background-color:black;">{{{2|}}}</span><br>
 +
<nowiki>{{{3}}}</nowiki> = <span style="background-color:black;">{{{3}}}</span><br>
 +
<nowiki>{{{1|}}}</nowiki> = <span style="background-color:black;">{{{3|}}}</span><br>
 +
<nowiki>{{{4}}}</nowiki> = <span style="background-color:black;">{{{4}}}</span><br>
 +
<nowiki>{{{1|}}}</nowiki> = <span style="background-color:black;">{{{4|}}}</span><br>
 +
<nowiki>{{{5}}}</nowiki> = <span style="background-color:black;">{{{5}}}</span><br>
 +
<nowiki>{{{1|}}}</nowiki> = <span style="background-color:black;">{{{5|}}}</span><br>

Revision as of 14:23, 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 time [2]
CURRENTYEAR 2024 2024
CURRENTMONTH (+1) 11 (11) 11 (11)
CURRENTMONTHNAME (+ABBREV) November (Nov) November (Nov)
CURRENTDAY (+2) ( 23 (23) 23 (23)
CURRENTDAYNAME +DOW<) Saturday (6) Saturday (6)
CURRENTTIME (HOUR) 04:33 (04) 04:33 (04)
CURRENTWEEK 47 47
CURRENTTIMESTAMP 20241123043348 20241123043348
  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 get the time based on your date and time preference here on the wiki.


Optional variables:

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