From 31034cf307808eae0bf776e9c13793495d7f19f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9=20=D0=96=D0=B8=D0=B4?= =?UTF-8?q?=D0=BA=D0=BE=D0=B2?= <53189193+adiafora@users.noreply.github.com> Date: Wed, 23 Oct 2019 19:43:19 +0300 Subject: [PATCH] Update readme.md --- readme.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/readme.md b/readme.md index 4e4ba58b..6e1e9b63 100644 --- a/readme.md +++ b/readme.md @@ -253,6 +253,14 @@ Booleans by default will display as a 0 or a 1, which is pretty bland and won't boolean:No|Yes ``` +### Options +Analogous to "boolean", only any text or numeric values can act as a source value (often flags are stored in the database). The format allows you to specify different outputs depending on the value. +Look at this as an associative array in which the key is separated from the value by a dot. Array elements are separated by a vertical line. + +``` +options: search.On the search|network.In networks +``` + ### DateTime DateTime by default will display as Y-m-d H:i:s. Prefix the value with `datetime:` and then add your datetime format, e.g.,