Difference between revisions of "Template:Eval/testcases"
Jump to navigation
Jump to search
imported>Ans (.) |
imported>Andrybak (improve test cases) |
||
| Line 13: | Line 13: | ||
{{Replace}} | {{Replace}} | ||
| − | {{Test case| | + | {{Test case nowiki|collapsible=yes|showcode=yes|title={{tl|Replace}}|<nowiki> |
| − | |Replace| | + | {{__TEMPLATENAME__|Replace|Foo bar baz{{!}}bar{{!}}xyzzy}} |
| + | </nowiki> | ||
| + | }} | ||
| + | |||
| + | {{Test case nowiki|collapsible=yes|showcode=yes|title={{tl|Replace}} 2|<nowiki> | ||
| + | {{__TEMPLATENAME__|Replace|bar bar Foo bar baz bar{{!}}bar{{!}}xyzzy{{!}}count{{=}}2}} | ||
| + | </nowiki> | ||
| + | }} | ||
| + | |||
| − | |||
| − | |||
<!-- | <!-- | ||
Revision as of 18:49, 29 September 2020
| 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}}}
| {{Replace}} |
|---|
{{Eval|Replace|Foo bar baz{{!}}bar{{!}}xyzzy}}
{{Eval}}
{{Eval/sandbox}}
|
| {{Replace}} 2 |
|---|
{{Eval|Replace|bar bar Foo bar baz bar{{!}}bar{{!}}xyzzy{{!}}count{{=}}2}}
{{Eval}}
{{Eval/sandbox}}
|