Template:Tabcol: Difference between revisions

Template page
(Expanded template to accept up to 8 columns and filled documentation as well.)
(This doesn't work. Perhaps there's a hardlimit for number of columns that can be present in a table.)
Tag: Undo
(2 intermediate revisions by the same user not shown)
(No difference)

Revision as of 20:36, 1 October 2020

This template aims to ease the creation of a uniform table with different number of columns in each row.

Syntax

{{ tabcol | parameter | parameter }}

  • The first parameter captures the maximum number of columns present in the variable portion of the table. Currently, the table can accept up to 8 columns in this parameter.
  • The second parameter captures the number number of columns to be present in that particular row. Needless to say, the number mentioned in the second parameter cannot exceed the first.