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

From EVE University Wiki
Jump to: navigation, search
m
Line 30: Line 30:
 
| TALKSPACE|| {{TALKSPACE}}
 
| TALKSPACE|| {{TALKSPACE}}
 
|}
 
|}
 +
<!--
 
| valign="top" |
 
| valign="top" |
 
{| class="wikitable"
 
{| class="wikitable"
Line 57: Line 58:
 
|-
 
|-
 
| CURRENTTIMESTAMP || {{CURRENTTIMESTAMP}} || {{LOCALTIMESTAMP}}
 
| 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
 +
|-
 +
{{#if: {{#varexists: {{{1|}}} }} |
 +
| <nowiki>{{{1}}}</nowiki>
 +
| <span style="background-color:black;">{{{1}}}</span>
 +
|-
 +
}}{{#if: {{#varexists: {{{2|}}} }} |
 +
| <nowiki>{{{2}}}</nowiki>
 +
| <span style="background-color:black;">{{{2|}}}</span>
 +
|-
 +
}}{{#if: {{#varexists: {{{3|}}} }} |
 +
| <nowiki>{{{3}}}</nowiki>
 +
| "<span style="background-color:black;">{{{3|}}}</span>"
 +
|-
 +
}}{{#if: {{#varexists: {{{4|}}} }} |
 +
| <nowiki>{{{4}}}</nowiki>
 +
| "<span style="background-color:black;">{{{4|}}}</span>"
 +
|-
 +
}}{{#if: {{#varexists: {{{5|}}} }} |
 +
| <nowiki>{{{5}}}</nowiki>
 +
| <span style="background-color:black;">{{{5|}}}</span>
 +
|-
 +
}}{{#if: {{#varexists: {{{6|}}} }} |
 +
| <nowiki>{{{6}}}</nowiki>
 +
| <span style="background-color:black;">{{{6|}}}</span>
 +
|-
 +
}}{{#if: {{#varexists: {{{7|}}} }} |
 +
| <nowiki>{{{7}}}</nowiki>
 +
| <span style="background-color:black;">{{{7|}}}</span>
 +
|-
 +
}}{{#if: {{#varexists: {{{8|}}} }} |
 +
| <nowiki>{{{8}}}</nowiki>
 +
| <span style="background-color:black;">{{{8|}}}</span>
 +
|-
 +
}}{{#if: {{#varexists: {{{9|}}} }} |
 +
| <nowiki>{{{9}}}</nowiki>
 +
| <span style="background-color:black;">{{{9|}}}</span>
 +
|-
 +
}}{{#if: {{#varexists: {{{10|}}} }} |
 +
| <nowiki>{{{10|}}}</nowiki>
 +
| <span style="background-color:black;">{{{10|}}}</span>
 +
|-
 +
}}
 
|}
 
|}
 
|}
 
|}
 
<small><references/></small>
 
<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>{{{2|}}}</nowiki> = <span style="background-color:black;">{{{2|}}}</span><br>
 
<nowiki>{{{3}}}</nowiki> = <span style="background-color:black;">{{{3}}}</span><br>
 
<nowiki>{{{3|}}}</nowiki> = <span style="background-color:black;">{{{3|}}}</span><br>
 
<nowiki>{{{4}}}</nowiki> = <span style="background-color:black;">{{{4}}}</span><br>
 
<nowiki>{{{4|}}}</nowiki> = <span style="background-color:black;">{{{4|}}}</span><br>
 
<nowiki>{{{5}}}</nowiki> = <span style="background-color:black;">{{{5}}}</span><br>
 
<nowiki>{{{5|}}}</nowiki> = <span style="background-color:black;">{{{5|}}}</span><br>
 

Revision as of 10:45, 20 August 2019

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
Debugging Parser
Var Value
  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".