StripedTable
The StripedTable scope function allows you to easily create tables with columns and alternating colored rows.
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 (||). See the example below...
Table (boolean {hasBorder}, boolean {isStriped}, 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 and will be excluded from the alternating striped table style.
{{StripedTable()
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 |
Function Calling Convention
Scope Function
Instruction Function
Standard Function
Table
Wiki Help :: Scope Function
Scope functions apply a function over a defined scope of wiki text.
Wiki Help :: SearchCloud
Create a cloud of pages from a search of wiki body contents.
Wiki Help :: SearchList
Create a list from a search of wiki body contents.
Wiki Help :: Seq
Automatically create a numbered sequence on a page.
Wiki Help :: Set
Set wiki page variable value.
Wiki Help :: Similar
Create a list of similar pages based on tag similarities.
Wiki Help :: SiteName
Displays the name of the configured site.
Wiki Help :: Snippet
Injects the value of a previously defined snippet variable.
Wiki Help :: Standard Function
Standard functions are general use functions used by contributors to build a page and make it dynamic.
Wiki Help :: Table
The Table scope function allows you to create tables with rows and columns.