The view widget is a very generic name, it allows you to view fields and tiddlers and choose from a some formats. It allows for input with the following parameters.
- tiddler
- field
- index
- subTiddler
Is there any reason why we could not add to this a variable parameter? The view widget is a Javascript module here $:/core/modules/widgets/view.js but I can see no reason why it could also accept the value or a variable to the widget and treat it the same as a string obtained from elsewhere.
Why?
- So variables are not an exception to the rule
- So block/inline can be applied to the content of the variable
- So variables can be viewed as HTML encoded and displayed etc…