Open pmario opened 3 years ago
It may be interesting to translate extended alias links to the parameterised transclusion syntax
Parameters are defined like this:
\parameters (a,b,c,d)
(definition of the transclusion goes here...)
The shortcut syntax for invoking the parameterised transclusion uses a single vertical bar to separate them from the title of the tiddler being transcluded:
{{FooBar|first|second|third|fourth}}
{{FooBar||template|first|second|third}}
[[alias-name|?|first|second|third]]
... parametersFor uni-link I did avoid the pipe parameter, because of it's "low visibility" ... So it's free.
[[alias-name||?template|first|second|third]]
... if the template section starts with a question mark ?
the template name follows. ... [[alias-name||template|first|second|third]]
... BUT then it would be way to close to the existing transclusion syntax. ... May be confusingI think I'll try option 1
related: uni-link: transclusion-like links may have a usecase. #40 .... may be option 1 above is better
somewhat related: uni-link: idea for a new link-text #122 ....
[[alias|?|My newly displayed title]]
[[alias-name||?t|My newly displayd link title]]
... where ?t
.. the t
would be user definable
see: https://groups.google.com/g/tiddlywiki/c/pvc-qqoWHdI/m/20JpZrL8AQAJ
and: https://groups.google.com/g/tiddlywiki/c/pvc-qqoWHdI/m/ReaTfBOYAgAJ