Template:GenericNonSortable/doc: Difference between revisions

From August Wiki
Jump to navigation Jump to search
No edit summary
Line 3: Line 3:
* '''columns''' - Number of columns in the table (default: 3)
* '''columns''' - Number of columns in the table (default: 3)
* '''tableStyle=text-align:{n}''' - Alignment for the whole table
* '''tableStyle=text-align:{n}''' - Alignment for the whole table
* '''row{n}cell{n}style=text-align{n}''' - Alignment of a specific row/cell
* '''row{n}cell{n}style=text-align:{n}''' - Alignment of a specific row/cell
* '''heading{n}''' - Text for each column header
* '''heading{n}''' - Text for each column header
* '''heading{n}colspan''' - Colspan attribute (if needed)
* '''heading{n}colspan''' - Colspan attribute (if needed)

Revision as of 07:24, 1 March 2025

GenericNonSortable Template Variables

  • columns - Number of columns in the table (default: 3)
  • tableStyle=text-align:{n} - Alignment for the whole table
  • row{n}cell{n}style=text-align:{n} - Alignment of a specific row/cell
  • heading{n} - Text for each column header
  • heading{n}colspan - Colspan attribute (if needed)
  • row{n}cell{n} - Content for each cell in each row

Example

Below is an example of the syntax, and the resulting table that is created.

{{GenericNonSortable
|columns=3
|heading1=I
|heading2=Love
|heading3=August!
|row1cell1=Yes
|row1cell2=I
|row1cell3=Do!
}}
I Love August!
Yes I Do!