Difference between revisions of "Template:Aligned table/testcases"
Jump to navigation
Jump to search
blackwiki>Frietjes (→Test 1) |
m (7 revisions imported) |
||
| (5 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{ | + | {{Template testcases notice}} |
| − | == | + | |
| − | {{ | + | == Basic tests == |
| + | |||
| + | {{Testcase table|_caption= | ||
|class=wikitable | |class=wikitable | ||
| − | |||
| A | 1 | | A | 1 | ||
| B | 2 | | B | 2 | ||
}} | }} | ||
| − | + | {{Testcase table |_caption= | |
| − | {{ | ||
| − | |||
| − | | | ||
|class=wikitable | |class=wikitable | ||
| − | | | + | |col1align=center |col2align=right |
| AAA | 123 | | AAA | 123 | ||
| B | 2 | | B | 2 | ||
}} | }} | ||
| − | + | {{Testcase table |_caption= | |
| − | {{ | + | |class=wikitable |style=width:20em; |
| − | |style=width:20em | + | |col1align=center |col2align=right |
| − | | | ||
| − | | | ||
| − | |||
| − | |||
| AAA | 123 | | AAA | 123 | ||
| B | 2 | | B | 2 | ||
}} | }} | ||
| − | == | + | == ''colstyle'' == |
| − | {{ | + | |
| + | {{Testcase table |_caption= | ||
| + | |cols=3 |colstyle=background:lavender;padding-right:1.0em; | ||
| + | | testing | ||
| + | | testing | ||
| + | | testing | ||
| + | }} | ||
| + | |||
| + | == ''rowstyle'' == | ||
| + | <pre> | ||
| + | {{Testcase table | ||
| + | |cols=4 |class=wikitable | ||
| + | |rowstyle=text-align:center | ||
| + | | AAA | aa | 123 | 12345 | ||
| + | | B | bbbbb | 1234 | 2 | ||
| + | }} | ||
| + | </pre> | ||
| + | {{Testcase table | ||
| + | |cols=4 |class=wikitable | ||
| + | |rowstyle=text-align:center | ||
| + | | AAA | aa | 123 | 12345 | ||
| + | | B | bbbbb | 1234 | 2 | ||
| + | }} | ||
| + | |||
| + | == Intra-navbox == | ||
| + | |||
| + | {{Testcase table |_style=font-size:88% |_caption= | ||
| class=navbox-subgroup hlist|cols=4 | | class=navbox-subgroup hlist|cols=4 | ||
| rowclass1 = navbox-group | | rowclass1 = navbox-group | ||
Latest revision as of 11:04, 20 October 2020
Template:Template testcases notice
Contents
Basic tests
colstyle
rowstyle
{{Testcase table
|cols=4 |class=wikitable
|rowstyle=text-align:center
| AAA | aa | 123 | 12345
| B | bbbbb | 1234 | 2
}}