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
Copy file name to clipboardExpand all lines: docs/user-guide/wysiwyg/README.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -213,6 +213,18 @@ Example:
213
213
214
214
**Linking to the current project's status**: `projectValue:status`
215
215
216
+
### Controlling the layout of multi-value attributes
217
+
218
+
Attributes that hold multiple values (for example target versions or multi-select custom fields) render one value per line in the application and comma-separated in PDF exports. Append a layout argument to the macro to choose a layout explicitly:
219
+
220
+
-`workPackageValue:1234:targetVersions:multiline` renders one value per line
221
+
-`workPackageValue:1234:targetVersions:singleline` renders all values on a single line, comma-separated
222
+
223
+
The layout argument also works with custom fields (`workPackageValue:1234:"My custom field":singleline`), with project attributes (`projectValue:...`) and with relative references (`workPackageValue:targetVersions:singleline`).
224
+
225
+
> [!NOTE]
226
+
> The deprecated `version` attribute renders the work package's target versions on a single line by default.
227
+
216
228
### Embedding attribute help texts
217
229
218
230
You can also embed attribute values and [their help texts](../../system-admin-guide/attribute-help-texts/) by using `workPackageLabel` or `projectLabel`.
@@ -255,7 +267,8 @@ where `1234` stands for the [work package ID](../work-packages).
255
267
| Start date |`workPackageValue:1234:startDate`|
256
268
| Status |`workPackageValue:1234:status`|
257
269
| Subject / Title |`workPackageValue:1234:subject`|
0 commit comments