Difference between revisions of "Template:3x/testcases"
Jump to navigation
Jump to search
blackwiki>Andrybak (→Tests: new section) |
m (4 revisions imported) |
||
| (2 intermediate revisions by one other user not shown) | |||
| 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}} | ||
| − | + | == Equals sign == | |
| − | |||
| − | |||
| − | |||
| − | == | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{{Test case|_collapsible=yes|_showcode=yes|_title=With {{tl|{{=}}}} | {{Test case|_collapsible=yes|_showcode=yes|_title=With {{tl|{{=}}}} | ||
|{{=}}|name=value}} | |{{=}}|name=value}} | ||
Latest revision as of 14:41, 14 October 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 |
Equals sign
| With {{=}} |
|---|
{{3x|1==|name=value}}
{{3x}} ={{3x/sandbox}} = |