mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-26 01:50:28 +00:00
740627795f
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 |
||
---|---|---|
.. | ||
classicparserdemo | ||
codemirrordemo | ||
d3demo | ||
de-AT | ||
de-AT-server | ||
de-DE | ||
dev | ||
empty | ||
fr-FR | ||
fr-FR-server | ||
full | ||
highlightdemo | ||
introduction | ||
ja-JP | ||
katexdemo | ||
markdowndemo | ||
pluginlibrary | ||
prerelease | ||
server | ||
tahoelafs | ||
test | ||
testcommonjs | ||
translators | ||
tw2 | ||
tw5.com | ||
tw5.com-server | ||
tw5tank | ||
tw5tiddlyweb | ||
upgrade | ||
zh-Hans | ||
zh-Hant |