Skip to content

Commit

Permalink
docu
Browse files Browse the repository at this point in the history
issue #312
  • Loading branch information
rsoika committed Oct 23, 2017
1 parent a4a583d commit 9ee06e5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/site/markdown/engine/plugins/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ This message text will be automatically replaced with the workitem properties 'n
at Wed, Jul 4, 2010


### Format multi-value lists
### Format multi-value Items
If a item contains a multi-value list, all the values can be separated by a character sequence defined by the tag 'separator'.
For example the following message text based on an item '_parts' with the values {"pants", "shirt", "jacket"} and a separator ', ':

Expand All @@ -45,6 +45,12 @@ will be replaced with:

**Note:** If no separator is defined, only the first value will be returned.

To get the last value of a multi-value list the tag 'position' can be set to 'last'

The last order item was: <itemValue position="last">_parts</itemValue>

This example extract the last value of the mulit-value item '_parts'.

### Format date/number values by locale
To format a date or number value into a language specific format the tags '_format_' and '_locale_' can be used. The following example shows how to format a date value into the German date format:

Expand Down

0 comments on commit 9ee06e5

Please sign in to comment.