Difference between revisions of "User:Cassiel Seraphim/Template:debug"
From EVE University Wiki
(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=" | + | ! 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}} | |
− | |||
− | |||
− | |||
− | |||
− | | TALKPAGENAME | ||
− | | | ||
− | | {{TALKPAGENAME | ||
− | |||
|- | |- | ||
<!-- Doesn't exist. | <!-- Doesn't exist. | ||
− | | ROOTPAGENAME | + | | ROOTPAGENAME || {{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 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
|
|
- ^ 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 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|}}} =