User:Hexmode/sandbox-demo
Appearance
Issue manifested
[edit]With no parameters
[edit]Is this a top-level wikipage: no (expected answer is "no")
With a page name passed
[edit]Is User:Hexmode/sandbox-demo a top-level wikipage: no (expected answer is "no")
Is User:Hexmode a top-level wikipage: yes (expected answer is "yes")
root template no arg
[edit]- {{User:Hexmode/sandbox-root}}
- no {{#if:{{User:Hexmode/sandbox-root}}|yes|no}}
- {{User:Hexmode/sandbox-root|{{FULLPAGENAME}}}}
- no
equal template no arg
[edit]{{User:Hexmode/sandbox-equal}}
- 1: none ({{#if:{{{1|}}}|{{{1}}}|''none''}})
- 2: none ({{#if:{{{2|}}}|{{{2}}}|''none''}})
- ifeq: yes ({{#ifeq:{{{1|}}}|{{{2|}}}|yes|no}})
({{#ifeq:{{{1|}}}|{{{2|}}}|{{{1|}}}}})
root template with Main ns page as arg
[edit]{{User:Hexmode/sandbox-root|Hexmode}}
root template with User ns page as arg
[edit]{{User:Hexmode/sandbox-root|User:Hexmode}}
- User:Hexmode
equal template with two mismatched args
[edit]{{User:Hexmode/sandbox-equal|one|two}}
- 1: one ({{#if:{{{1|}}}|{{{1}}}|''none''}})
- 2: two ({{#if:{{{2|}}}|{{{2}}}|''none''}})
- ifeq: no ({{#ifeq:{{{1|}}}|{{{2|}}}|yes|no}})
({{#ifeq:{{{1|}}}|{{{2|}}}|{{{1|}}}}})
equal template with two matched args
[edit]{{User:Hexmode/sandbox-equal|two|two}}
- 1: two ({{#if:{{{1|}}}|{{{1}}}|''none''}})
- 2: two ({{#if:{{{2|}}}|{{{2}}}|''none''}})
- ifeq: yes ({{#ifeq:{{{1|}}}|{{{2|}}}|yes|no}})
two ({{#ifeq:{{{1|}}}|{{{2|}}}|{{{1|}}}}})