Difference between revisions of "Template:Aligned table/testcases"

From blackwiki
Jump to navigation Jump to search
blackwiki>Frietjes
m (7 revisions imported)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{template test cases notice}}
+
{{Template testcases notice}}
== Test 1 ==
+
 
{{testcase table
+
== Basic tests ==
 +
 
 +
{{Testcase table|_caption=
 
|class=wikitable
 
|class=wikitable
|cols=2
 
 
| A | 1
 
| A | 1
 
| B | 2
 
| B | 2
 
}}
 
}}
  
== Test 2 ==
+
{{Testcase table |_caption=
{{testcase table
 
|align1=center
 
|align2=right
 
 
|class=wikitable
 
|class=wikitable
|cols=2
+
|col1align=center |col2align=right
 
| AAA | 123
 
| AAA | 123
 
| B | 2
 
| B | 2
 
}}
 
}}
  
== Test 3 ==
+
{{Testcase table |_caption=
{{testcase table
+
|class=wikitable |style=width:20em;
|style=width:20em
+
|col1align=center |col2align=right
|align1=center
 
|align2=right
 
|class=wikitable
 
|cols=2
 
 
| AAA | 123
 
| AAA | 123
 
| B | 2
 
| B | 2
 
}}
 
}}
  
== Test 2 ==
+
== ''colstyle'' ==
{{testcase table|_style=font-size:88%
+
 
 +
{{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

Basic tests

Template:Testcase table

Template:Testcase table

Template:Testcase table

colstyle

Template:Testcase table

rowstyle

{{Testcase table
|cols=4 |class=wikitable
|rowstyle=text-align:center
| AAA | aa    | 123  | 12345
| B   | bbbbb | 1234 | 2
}}

Template:Testcase table

Intra-navbox

Template:Testcase table