1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-04-14 06:43:15 +00:00
Felix Hayashi 740627795f This widget allows the user to set multiple variables in one go.
It thereby reduces code complexity that would arise when setting
many variables using "<$set>".

```
\define helloworld() Hello world!
<$vars greeting="Hi" me={{!!title}} sentence=<<helloworld>>>
  <<greeting>>! I am <<me>> and I say: <<sentence>>
</$vars>
```

How this Widget differs from the set widget:

 * Variables may be created by using the "key=value" notation
   that you already know from widgets like action-setfield.
 * You cannot specify a fallback ("emptyValue")
 * You cannot use a filter to produce a conditional variable assignement

Original discussion that led to the creation of this widget:
https://github.com/Jermolene/TiddlyWiki5/issues/1610
2015-04-27 17:07:13 +02:00
..
2015-03-10 16:54:53 +00:00
2014-10-27 21:50:25 +00:00
2015-03-10 11:04:35 +00:00
2015-03-19 10:53:45 +00:00
2015-03-31 09:06:22 +01:00
2015-03-14 08:34:16 +00:00
2015-03-21 14:17:42 +00:00
2015-03-10 11:04:25 +00:00
2014-10-27 21:50:25 +00:00
2015-04-17 17:34:31 +01:00
2014-12-05 10:20:32 +00:00
2014-12-05 10:20:32 +00:00