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

From blackwiki
Jump to navigation Jump to search
blackwiki>Frietjes
blackwiki>Sardanaphalus
(updated, added colstyle test)
Line 1: Line 1:
{{template test cases notice}}
+
{{Template testcases notice}}{{clear}}
== Test 1 ==
+
 
{{testcase table
+
{{Testcase table |_caption= |_heading1={{align|left|{{braces|[[Template:{{BASEPAGENAME}}|{{BASEPAGENAME}}]]}}}} |_heading2={{align|left|{{braces|[[Template:{{BASEPAGENAME}}/sandbox|{{BASEPAGENAME}}/sandbox]]}}}}
 
|class=wikitable
 
|class=wikitable
|cols=2
 
 
| A | 1
 
| A | 1
 
| B | 2
 
| B | 2
 
}}
 
}}
  
== Test 2 ==
+
{{Testcase table |_caption= |_heading1={{align|left|{{braces|[[Template:{{BASEPAGENAME}}|{{BASEPAGENAME}}]]}}}} |_heading2={{align|left|{{braces|[[Template:{{BASEPAGENAME}}/sandbox|{{BASEPAGENAME}}/sandbox]]}}}}
{{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= |_heading1={{align|left|{{braces|[[Template:{{BASEPAGENAME}}|{{BASEPAGENAME}}]]}}}} |_heading2={{align|left|{{braces|[[Template:{{BASEPAGENAME}}/sandbox|{{BASEPAGENAME}}/sandbox]]}}}}
{{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= |_heading1={{align|left|{{braces|[[Template:{{BASEPAGENAME}}|{{BASEPAGENAME}}]]}}}} |_heading2={{align|left|{{braces|[[Template:{{BASEPAGENAME}}/sandbox|{{BASEPAGENAME}}/sandbox]]}}}}
 +
|cols=3 |colstyle=background:lavender;padding-right:1.0em;
 +
| testing
 +
| testing
 +
| testing
 +
}}
 +
 
 +
== 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

Revision as of 11:01, 1 July 2014