Difference between revisions of "Template:3x/testcases"
Jump to navigation
Jump to search
blackwiki>Andrybak (→Tests: new section) |
blackwiki>Andrybak (rewrite old test cases) |
||
| Line 1: | Line 1: | ||
{{Testcases notice <!--|toc=on-->}} | {{Testcases notice <!--|toc=on-->}} | ||
| − | == | + | == Zero parameters == |
| − | + | {{Test case|_collapsible=yes|_showcode=yes|_title=Zero parameters}} | |
| − | + | == One parameter == | |
| − | + | {{Test case|_collapsible=yes|_showcode=yes|_title=One parameter|Foobar}} | |
| − | {{ | + | == Two parameters == |
| − | + | {{Test case|_collapsible=yes|_showcode=yes|_title=Two parameters|Xyzzy|Foobar}} | |
| − | == | ||
| − | |||
| − | |||
| − | |||
| − | |||
== Tests == | == Tests == | ||
Revision as of 14:29, 19 May 2020
| This is the template test cases page for the sandbox of Template:3x. 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: |
Zero parameters
| Zero parameters |
|---|
{{3x}}
{{3x}} {{{1}}}{{{1}}}{{{1}}} {{3x/sandbox}} {{{1}}}{{{1}}}{{{1}}} |
One parameter
| One parameter |
|---|
{{3x|Foobar}}
{{3x}} FoobarFoobarFoobar {{3x/sandbox}} FoobarFoobarFoobar |
Two parameters
| Two parameters |
|---|
{{3x|Xyzzy|Foobar}}
{{3x}} XyzzyXyzzyXyzzy {{3x/sandbox}} XyzzyXyzzyXyzzy |
Tests
| With {{=}} |
|---|
{{3x|1==|name=value}}
{{3x}} ={{3x/sandbox}} = |