More actions
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..." |
m Bates Larsson moved page User:Cassiel seraphim/Template:debug to User:Cassiel Seraphim/Template:debug: Automatically moved page while merging the account "Cassiel seraphim" to "Cassiel Seraphim" |
||
| (6 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
{| | |||
| valign="top" | | |||
{| class="wikitable" | {| class="wikitable" | ||
! colspan=" | ! colspan="2" style="background-color:#111111;" | Debugging [https://www.mediawiki.org/wiki/Help:Magic_words Magic words] | ||
|- | |- | ||
! | ! 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> | ||
! | ! style="background-color:#222222;" | Result | ||
|- | |- | ||
| FULLPAGENAME | | FULLPAGENAME || {{FULLPAGENAME}} | ||
| | |||
| {{FULLPAGENAME | |||
|- | |- | ||
| PAGENAME | | PAGENAME || {{PAGENAME}} | ||
| | |||
| {{PAGENAME | |||
|- | |- | ||
| BASEPAGENAME | | BASEPAGENAME || {{BASEPAGENAME}} | ||
| | |||
| {{BASEPAGENAME | |||
|- | |- | ||
| | | SUBPAGENAME || {{SUBPAGENAME}} | ||
| | |||
| {{ | |||
|- | |- | ||
| | | SUBJECTPAGENAME || {{SUBJECTPAGENAME}} | ||
| | |||
| {{ | |||
|- | |- | ||
| | | ARTICLEPAGENAME || {{ARTICLEPAGENAME}} | ||
| | |||
| {{ | |||
|- | |- | ||
| | | TALKPAGENAME || {{TALKPAGENAME}} | ||
| | |||
| {{ | |||
|- | |- | ||
| | <!-- Doesn't exist. | ||
| | | ROOTPAGENAME || {{ROOTPAGENAME}} | ||
| {{ | --> | ||
| {{ | | 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 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}} | |||
|- | |||
| CURRENTMONTH (+1) || {{CURRENTMONTH}} ({{CURRENTMONTH1}}) || {{LOCALMONTH}} ({{LOCALMONTH1}}) | |||
|- | |||
| CURRENTMONTHNAME (+ABBREV) || {{CURRENTMONTHNAME}} ({{CURRENTMONTHABBREV}}) || {{LOCALMONTHNAME}} ({{LOCALMONTHABBREV}}) | |||
|- | |||
| CURRENTDAY (+2) || {{CURRENTDAY}} ({{CURRENTDAY2}}) || {{LOCALDAY}} ({{LOCALDAY2}}) | |||
|- | |||
| CURRENTDAYNAME || {{CURRENTDAYNAME}} || {{LOCALDAYNAME}} | |||
|- | |||
| CURRENTDOW || ({{CURRENTDOW}}) || ({{LOCALDOW}}) | |||
|- | |||
| CURRENTTIME || {{CURRENTTIME}} || {{LOCALTIME}} | |||
|- | |||
| CURRENTHOUR || {{CURRENTHOUR}} || {{LOCALHOUR}} | |||
|- | |||
| CURRENTWEEK || {{CURRENTWEEK}} || {{LOCALWEEK}} | |||
|- | |- | ||
| CURRENTTIMESTAMP || {{CURRENTTIMESTAMP}} || {{LOCALTIMESTAMP}} | |||
| | |} | ||
| | |||
| {{ | |||
| {{ | |||
--> | --> | ||
| valign="top" | | |||
{| class="wikitable" | |||
! colspan="2" style="background-color:#111111;" | Debugging [https://www.mediawiki.org/wiki/Help:Parser_functions_in_templates Parser] | |||
|- | |||
! style="background-color:#222222; width:3em;" | Var | |||
! style="background-color:#222222;" | Value | |||
|- | |||
| <nowiki>{{{1}}}</nowiki> | |||
| <span style="background-color:black;">{{#if:{{{1|}}}|{{{1}}}|{{co|grey|N/A}}}}</span> | |||
|- | |||
| <nowiki>{{{2}}}</nowiki> | |||
| <span style="background-color:black;">{{#if:{{{2|}}}|{{{2}}}|{{co|grey|N/A}}}}</span> | |||
|- | |||
| <nowiki>{{{3}}}</nowiki> | |||
| <span style="background-color:black;">{{#if:{{{3|}}}|{{{3}}}|{{co|grey|N/A}}}}</span> | |||
|- | |||
| <nowiki>{{{4}}}</nowiki> | |||
| <span style="background-color:black;">{{#if:{{{4|}}}|{{{4}}}|{{co|grey|N/A}}}}</span> | |||
|- | |||
| <nowiki>{{{5}}}</nowiki> | |||
| <span style="background-color:black;">{{#if:{{{5|}}}|{{{5}}}|{{co|grey|N/A}}}}</span> | |||
|- | |||
| <nowiki>{{{6}}}</nowiki> | |||
| <span style="background-color:black;">{{#if:{{{6|}}}|{{{6}}}|{{co|grey|N/A}}}}</span> | |||
|- | |||
| <nowiki>{{{7}}}</nowiki> | |||
| <span style="background-color:black;">{{#if:{{{7|}}}|{{{7}}}|{{co|grey|N/A}}}}</span> | |||
|- | |||
| <nowiki>{{{8}}}</nowiki> | |||
| <span style="background-color:black;">{{#if:{{{8|}}}|{{{8}}}|{{co|grey|N/A}}}}</span> | |||
|- | |||
| <nowiki>{{{9}}}</nowiki> | |||
| <span style="background-color:black;">{{#if:{{{9|}}}|{{{9}}}|{{co|grey|N/A}}}}</span> | |||
|- | |||
| <nowiki>{{{10}}}</nowiki> | |||
| <span style="background-color:black;">{{#if:{{{10|}}}|{{{10}}}|{{co|grey|N/A}}}}</span> | |||
|- | |||
|} | |||
|} | |} | ||
<small><references/></small> | |||
Latest revision as of 21:29, 18 November 2019
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
- ^ 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".