wikilabs / plugins

TW5 plugins: https://wikilabs.github.io
30 stars 8 forks source link

Some more thoughts on linking in TW (aliases, display text, and relationship types: Oh My!) #100

Open pmario opened 3 years ago

pmario commented 3 years ago

see: https://groups.google.com/g/tiddlywiki/c/pvc-qqoWHdI/m/20JpZrL8AQAJ

and: https://groups.google.com/g/tiddlywiki/c/pvc-qqoWHdI/m/ReaTfBOYAgAJ

pmario commented 1 year 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}}


For uni-link I did avoid the pipe parameter, because of it's "low visibility" ... So it's free.

I 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]]