Template:ValidateUP/testcases

From Wikipedia, the free encyclopedia


Testing sandbox version 4[edit]

{{#ifeq: {{REVISIONUSER}} | {{BASEPAGENAME}} | {{#if: {{{1|}}} | {{#ifeq:{{{1}}}|1|<div align="center" style="background-color: #FFFFFF; border: 2px solid #008800; margin: 2em; padding: 0em; color: #000000; width: 100%; margin-right: auto; margin-left: auto;" >{{tick}} [[Template:ValidateUP|Validated]] page to be last changed by me.</div>|{{{1}}}}} |}} | <div align="center" style="background-color: #FFFFFF; border: 2px solid #FF0000; margin: 2em; padding: 0em; color: #000000; width: 100%; margin-right: auto; margin-left: auto;" >{{subst:Cross}} <big>This page was last edited by [[User:{{REVISIONUSER}}|{{REVISIONUSER}}]] and not {{BASEPAGENAME}}</big></div> }}

Output

NoN This page was last edited by Edokter and not ValidateUP
checkY Validated page to be last changed by me.

Testing sandbox version 3[edit]

<noinclude>==Validate User Page template==
</noinclude>
{|style="background-color: #FFFFFF; border: 2px solid #FF0000; margin: 2em; padding: 0em; color: #000000;"
|{{#ifeq: {{REVISIONUSER}} | {{BASEPAGENAME}} | {{#if: {{{1|}}} | {{#ifeq:{{{1}}}|1|This page was last edited by {{REVISIONUSER}}|{{{1}}}}} |}} | {{subst:Cross}} <big>This page was last edited by [[User:{{REVISIONUSER}}|{{REVISIONUSER}}]] and not {{BASEPAGENAME}}</big> }}
|}

Output

NoN This page was last edited by Edokter and not ValidateUP

Testing sandbox version 2[edit]

<noinclude>==Validate User Page template==
</noinclude>{{#ifeq: {{REVISIONUSER}} | {{BASEPAGENAME}} | {{#if: {{{1|}}} | {{#ifeq:{{{1}}}|1|This page was last edited by {{REVISIONUSER}}|{{{1}}}}} |}} | {{subst:Cross}} <big>This page was last edited by [[User:{{REVISIONUSER}}|{{REVISIONUSER}}]] and not {{BASEPAGENAME}}</big> }}

Output

NoN This page was last edited by Edokter and not ValidateUP

Testing sandbox version 1[edit]

<noinclude>==Validate User Page template==
</noinclude>{{#ifeq: {{REVISIONUSER}} | {{BASEPAGENAME}} | {{#if: {{{1|}}} | {{#ifeq:{{{1}}}|1|This page was last edited by {{REVISIONUSER}}|{{{1}}}}} |}} | [[Image:Preferences-desktop-wallpaper.svg|35px]] <big>This page was last edited by [[User:{{REVISIONUSER}}|{{REVISIONUSER}}]] and not {{BASEPAGENAME}}</big> }}

Output

This page was last edited by Edokter and not ValidateUP

Testing main template[edit]

<noinclude>==Validate User Page template==
</noinclude>{{#ifeq: {{REVISIONUSER}} | {{BASEPAGENAME}} | {{#if: {{{1|}}} | {{#ifeq:{{{1}}}|1|This page was last edited by {{REVISIONUSER}}|{{{1}}}}} |}} | <big>This page was last edited by [[User:{{REVISIONUSER}}|{{REVISIONUSER}}]] and not {{BASEPAGENAME}}</big> }}

Output

This page was last edited by Edokter and not ValidateUP