Difference between revisions of "Template:Eval/testcases"
Jump to navigation
Jump to search
imported>Ans (.) |
imported>Ans (.) |
||
| Line 8: | Line 8: | ||
{{Replace{{!}}param2{{!}}p3{{!}}p4{{!}}p5}} | {{Replace{{!}}param2{{!}}p3{{!}}p4{{!}}p5}} | ||
| + | |||
| + | {{Eval|Replace}} | ||
| + | |||
| + | {{Replace}} | ||
{{Test case|_collapsible=yes|_showcode=yes|_title=Test1 | {{Test case|_collapsible=yes|_showcode=yes|_title=Test1 | ||
Revision as of 20:33, 19 November 2018
| 42px | This is the template test cases page for the sandbox of Template:Eval. Script error: No such module "Purge". 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 with these links: |
{{Replace|param2|p3|p4|p5{{subst:#if:||{{{2}}}}}}}
{{Replace|param2|p3|p4|p5}}
{{Replace{{subst:#if:param2|p3|p4|p5||param2|p3|p4|p5}}}}
{{Replace|param2|p3|p4|p5}}
{{Replace{{subst:#if:||{{{2}}}}}}}
{{{1}}}
| Test1 |
|---|
{{Eval|Replace|2=param2|name3=value3|...}}
{{Eval}} {{Replace{{subst:#if:param2|name3=value3|...||param2|name3=value3|...}}}} {{Eval/sandbox}}
|
|
| Test2 |
|---|
{{Eval|param1|2=param2|name3=value3|...}}
{{Eval}} {{param1{{subst:#if:param2|name3=value3|...||param2|name3=value3|...}}}} {{Eval/sandbox}}
|
|