diff --git a/docs/fieldtypes/fluid.md b/docs/fieldtypes/fluid.md index 4eecf99cb..65ec48d7f 100755 --- a/docs/fieldtypes/fluid.md +++ b/docs/fieldtypes/fluid.md @@ -175,7 +175,31 @@ Alias of `:current_fieldtype`. The total number of fields regardless of tag output criteria. -Additionally, the following variable are available when using custom field groups: +Additionally, the following variable are available **when using custom field groups**: + +### `count_in_group` + + {fluid_content:count_in_group} + +The "count" out of the fields being displayed in a field group. If five fields are in a group, then for the fourth field the `count` variable would have a value of "4". + +### `first_in_group` + + {fluid_content:first_in_group} + +True, if the current field is the first one in the current field group. + +### `index_in_group` + + {fluid_content:index_in_group} + +The index of the field being displayed in the current field group starting at 0. + +### `last_in_group` + + {fluid_content:last_in_group} + +True, if the current field is the last one in the current field group. ### `first_group`