Template:Table start/doc

From Wikisource
Jump to: navigation, search

Usage[edit]

This template is for starting a wikitable which can be nested. It accepts the parameters:

  • type: This has three possible values, outer, inner, and innermost. This parameter is mandatory.
  • collapsible: define the collapsibility of the table. Default is collapsible.
  • style:Define the style attributes for the table. Default is width:100%;border-collapse:collapse; for outer tables and width:100%;border-collapse:collapse;margin:0px; border:0px; for inner and innermost tables.
  • heading: The heading for the outermost table.
  • colspan: The colspan property for the heading. This should be equal to the total number of columns in the table.
  • first: This parameter must be set to yes when starting the first inner or innermost table.