Table
The Table scope function allows you to easily create tables with rows and columns.
Inside of the table scope, you will simply add one line of text to create a row. Each column is created by separating your text with pipe characters (||). Cells can also be merged across columns and rows. See the examples below...
Table (boolean {hasBorder}, boolean {isFirstRowHeader})
- Name: hasBorder {Optional}
- Type: boolean
- Default: true
- Description: Whether the table will have a visible border.
- Name: isFirstRowHeader {Optional}
- Type: boolean
- Default: true
- Description: Whether or not the first row is the header. If true, the first row will be bold.
{{Table()
Column #1 || Column #2 || Column #3 || Column #4
Row #1 || Cell #1 || Cell #2 || Cell #3
Row #2 || Cell #1 || Cell #2 || Cell #3
Row #3 || Cell #1 || Cell #2 || Cell #3
Row #4 || Cell #1 || Cell #2 || Cell #3
}}Result:
| Column #1 | Column #2 | Column #3 | Column #4 |
| Row #1 | Cell #1 | Cell #2 | Cell #3 |
| Row #2 | Cell #1 | Cell #2 | Cell #3 |
| Row #3 | Cell #1 | Cell #2 | Cell #3 |
| Row #4 | Cell #1 | Cell #2 | Cell #3 |
A cell containing only a less-than sign (<) is merged into the cell to its left, so that cell spans multiple columns. A cell containing only a caret (^) is merged into the cell above it, so that cell spans multiple rows. The two can be combined to merge a block of cells.
- Merged cells must form a rectangle.
- Cells in the body can not be merged into the header row.
- To display a lone < or ^ in a cell, wrap it in literal markup (see Literals).
{{Table()
Feature || Free || Pro || Enterprise
Sync || Yes || < || <
Export || No || Yes || <
Audit logs || ^ || ^ || ^
}}Result:
| Feature | Free | Pro | Enterprise |
| Sync | Yes | ||
| Export | No | Yes | |
| Audit logs | |||
In this example the first "Yes" spans all three plan columns, "No" spans two rows and the second "Yes" spans two columns and two rows.
Function Calling Convention
Scope Function
Instruction Function
Standard Function
StripedTable
- Similar
- SiteName
- Snippet
- Standard Function
- StripedTable
- SystemEmojiCategoryList
- SystemEmojiList
- TagCloud
- TagGlossary
- TagList