Content deleted Content added
→Missing </th>?: New section |
→Add row header param: new section |
||
Line 3:
<nowiki><tr><th style="width:50%%">%s</th><th style="width:50%%">%s</tr></nowiki>
Should there be a closing <tt><nowiki></th></nowiki></tt> before the closing <tt><nowiki></tr></nowiki></tt>? <font color="red">—[</font>[[User:AlanM1|<span style="font-variant:small-caps;"><font color="green">Alan</font><font color="blue">M</font><font color="purple">1</font></span>]]([[User talk:AlanM1|talk]])<font color="red">]—</font> 23:10, 11 August 2013 (UTC)
== Add row header param ==
It would be nice to be able to insert a column in front of the two template result columns (i.e. a row header, {{Para|_rowheader}}), the result being:
{| class=wikitable
|+ ''_caption''
! ''_header0''
! ''_header1''
! ''_header2''
|-
| ''_rowheader''
| ''<nowiki>{{template|{{{1}}}...}}</nowiki>''
| ''<nowiki>{{template/sandbox|{{{1}}}...}}</nowiki>''
|}
It would be nice to specify the optional table {{Para|_class}}, too, and the header for that first column ({{Para|_header0}}). Caption and header rows should not appear if not specified. I realize I might be asking to cram more into this template than it's intended for, too. Like maybe something more suited to a {{tl|Testcase table top}}, {{tl|Testcase table row}}, {{tl|Testcase table bottom}} trio. <font color="red">—[</font>[[User:AlanM1|<span style="font-variant:small-caps;"><font color="green">Alan</font><font color="blue">M</font><font color="purple">1</font></span>]]([[User talk:AlanM1|talk]])<font color="red">]—</font>
|