You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
: Used to group list items when separating by `break`. Possible values are lists of integers, like `2` (groups of 2 items) or `1,2` (alternate groups of 1 and 2 items).
71
-
: **Default:**`1` (actually unset).
72
-
73
-
`class="class name"`
74
-
: CSS `class` attribute to apply to the `wraptag`, if set.
75
-
: **Default:** unset (see [class cross-reference](/tags/tag-attributes-cross-reference#class)).
76
-
77
-
`wraptag="tag"`
78
-
: HTML element to wrap the items grabbed from the `type` attribute, specified without brackets (e.g. `wraptag="ul"`).
79
-
: **Default:** unset (but see [wraptag cross-reference](/tags/tag-attributes-cross-reference#wraptag) for exceptions).
80
-
81
61
## Examples
82
62
83
63
### Example 1: Gallery thumbnail and caption
@@ -91,6 +71,12 @@ These attributes, which affect presentation, are shared by many tags. Note that
91
71
92
72
Grabs all images from the 'mammals' category and displays the image thumbnail itself along with the image caption surrounded with HTML `<div>` tags. Note that the image IDs/names are not specified inside the container because they are automatically assigned from the `<txp:images>` tag for each image in the given category.
93
73
74
+
If you had multi-line captions separated by a blank line, you could pass the caption through the `textile` filter to retain paragraph breaks:
0 commit comments