Template:ValidateUP/testcases
Appearance
This is the template test cases page for the sandbox of Template:ValidateUP. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
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
This page was last edited by Edokter and not ValidateUP
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
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
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