Plugin Fluidgrid | |
Introduced in Tiki 17 by Phil Jollans but will probably be backported to Tiki16 at least. Use this wiki plugin to create a Bootstrap responsive grid (see https://getbootstrap.com/examples/grid/) in Tiki's wiki text areas. That is, rows and columns of text, images, etc. can be created that will be arranged horizontally in wide screens but will respond dynamically in smaller screens so that good visibility of content is maintained. This is a modern, "best practices" alternative to using the Split plugin, which creates a table for content layout, a deprecated method.
|
Table of contents | |
Parameters | |||||||||||||||||||||||||||||||||||
Arrange content into rows and columns using a Bootstrap fluid grid.
|
Usage | |
There are two ways to use this plugin: 1. The syntax can be copied from these examples and pasted in the wiki edit text area, or otherwise the syntax can be written by hand following the examples on this page. Or: 2. Alternatively, as with other plugins, the Help icon (question mark in a circle at the right end of the edit toolbar) can be clicked to open a modal window. Then open the Plugin Help tab and find and click the Split plugin icon. This will open another modal window where the plugin can be configured. If the second method is chosen, there is another choice in ways to proceed: 1. No table content initially selected (highlighted)
2. Some or all table content selected (highlighted)
|
Examples | |
Three rows, two equal-width columns | |
Copy to clipboard
A1 A2 B1 B2 C1 C2
|
Three row, four columns | |
Copy to clipboard
A1 A2 A3 A4 B1 B2 B3 B4 C1 C2 C3 C4
|
Three rows of four columns, with column size specified. | |
As per the Bootstrap spec, the column sizes are integers that total 12. The small-screen breakpoint is used (the grid divs have a "col-sm-n" class). Copy to clipboard
A1 A2 A3 A4 B1 B2 B3 B4 C1 C2 C3 C4
|
FLUIDGRID plugin 4X3 with partial column size. | |
Copy to clipboard
A1 A2 A3 A4 B1 B2 B3 B4 C1 C2 C3 C4
|
FLUIDGRID plugin 4X3 with customclass | |
Copy to clipboard
A1 A2 A3 A4 B1 B2 B3 B4 C1 C2 C3 C4
|
FLUIDGRID plugin using column mode | |
Copy to clipboard
A1 B1 C1 A2 B2 C2 A3 B3 C3
|
FLUIDGRID plugin with colsize specified in PERCENT | |
When one of the parameter values of colsize is specified in PERCENT, the total weighting is always 100 with a minimum size of 1 of 12 (Grid bootstrap) The total can be less than 12, e.g. two columns with 25%|25% will be translated to 3|3 and not 6|6. When some columns are specified in PERCENT and the rest are not specified, the size is an approximate weighting, relative to 100, with a minimum size of 1.
|
Exemples | |
Copy to clipboard
A1 A2 A3 B1 B2 B3 C1 C2 C3
Copy to clipboard
A1 A2 A3 B1 B2 B3 C1 C2 C3
|
Aliases | |