Difference between revisions of "Template:Col-break/testcases"
Jump to navigation
Jump to search
imported>ShakespeareFan00 (←Created page with '{{Testcases notice <!--|toc=on-->}} {{Test case|_collapsible=yes|_showcode=yes|_title=Test1 |param1|param2|name3=value3|...}} {{Test case|_collapsible=yes|_sho...') |
imported>Frietjes |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{Testcases notice <!--|toc=on-->}} | {{Testcases notice <!--|toc=on-->}} | ||
| + | ==Test 1== | ||
| + | Start and breaks on different lines | ||
| + | ===Main template=== | ||
| + | {{col-begin}} | ||
| + | {{col-break|width=50%}} | ||
| + | * Item 1 | ||
| + | * Item 2 | ||
| + | {{col-break|width=50%}} | ||
| + | * A | ||
| + | * B | ||
| + | {{col-end}} | ||
| + | ===Sandbox template=== | ||
| + | {{col-begin}} | ||
| + | {{col-break/sandbox|width=50%}} | ||
| + | * Item 1 | ||
| + | * Item 2 | ||
| + | {{col-break/sandbox|width=50%}} | ||
| + | * A | ||
| + | * B | ||
| + | {{col-end}} | ||
| + | ==Test 2== | ||
| + | Start and breaks on the same line | ||
| + | ===Main template=== | ||
| + | {{col-begin}}{{col-break|width=50%}} | ||
| + | * Item 1 | ||
| + | * Item 2 | ||
| + | {{col-break|width=50%}} | ||
| + | * A | ||
| + | * B | ||
| + | {{col-end}} | ||
| + | ===Sandbox template=== | ||
| + | {{col-begin}}{{col-break/sandbox|width=50%}} | ||
| + | * Item 1 | ||
| + | * Item 2 | ||
| + | {{col-break/sandbox|width=50%}} | ||
| + | * A | ||
| + | * B | ||
| + | {{col-end}} | ||
| − | + | == Test 3 == | |
| − | | | + | Start and breaks and end on the same line |
| − | + | ===Main template=== | |
| − | {{ | + | {{col-begin}}{{col-break|width=33.33%}}Item 1{{col-break|width=33.33%}}Item 2{{col-break|width=33.33%}}Item 3{{col-end}} |
| − | + | ===Sandbox template=== | |
| − | + | {{col-begin}}{{col-break/sandbox|width=33.33%}}Item 1{{col-break/sandbox|width=33.33%}}Item 2{{col-break/sandbox|width=33.33%}}Item 3{{col-end/sandbox}} | |
| − | |||
| − | {{ | ||
| − | == | ||
| − | {{ | ||
| − | |||
Latest revision as of 20:35, 7 August 2018
| 42px | This is the template test cases page for the sandbox of Template:Col-break. 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: |
Contents
Test 1
Start and breaks on different lines
Main template
|
|
Sandbox template
|
|
Test 2
Start and breaks on the same line
Main template
|
|
Sandbox template
|
|
Test 3
Start and breaks and end on the same line
Main template
| Item 1 | Item 2 | Item 3 |
Sandbox template
| Item 1 | Item 2 | Item 3 |