Very nice solution indeed!
You may use TW-Icons to set beautiful icons instead of  --> <--

Thank you!

On Sunday, May 2, 2021 at 12:36:24 AM UTC+4:30 [email protected] wrote:

> I'm in a TiddlyWiki programming mood today.


I love programming too! 

>
> You already have a beautifully concise solution, so I'm just sharing this, 
> solution to a somewhat different problem, for the coding fun of it:
>


Put this as a ViewTemplate in tiddlywik.com using 
filter="[all[current]links[]] [all[current]backlinks[]]" and then see the 
nice table at the bottom of each tiddler!

I got the original idea from Zettelkasten by Soren!
 

>
> <$vars Tiddler1={{Sample Tiddler A!!title}}
>        OtherTiddlers="Sample Tiddler Z;Sample Tiddler B;Sample Tiddler D" >
> <table>
> <$list variable="TiddlerX" filter="[<OtherTiddlers>split[;]sort[]]">
> <tr>
> <td><$link to=<<Tiddler1>>/>
> </td>
> <td><$text text={{{ [<Tiddler1>links[]match<TiddlerX>then[-->]] 
> [<TiddlerX>links[]match<Tiddler1>then[<--]] }}}/>
> </td>
> <td><$link to=<<TiddlerX>>/>
> </td>
> </tr>
> </$list>
> </table>
> </$vars>
>
> [image: Screenshot 2021-05-01 5.04.16 PM.png]
>
> On Saturday, May 1, 2021 at 4:13:48 PM UTC-3 Mohammad wrote:
>
>> On Sat, May 1, 2021 at 11:10 PM si <[email protected]> wrote:
>>
>>> Not sure if it's the simplest solution, but does this do what you want?
>>>
>>> {{{ [<currentTiddler>links[]match[Sample tiddler]then[Is a link]else[Is 
>>> a backlink]] }}}
>>>
>>
>>
>> Works! Thank you! 
>>
>>  
>>
>>>
>>>
>>> On Saturday, 1 May 2021 at 18:47:42 UTC+1 Mohammad wrote:
>>>
>>>> I have a sample tiddler. It is a link or a backlink in my current 
>>>> Tiddler, but I do not know this is in advance!
>>>>
>>>> What is the simplest solution to find if this sample tiddler is link or 
>>>> backlink with regard to my currentTiddler?
>>>>
>>>>
>>>> Best wishes
>>>> Mohammad
>>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "TiddlyWiki" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/aa0184f6-28ce-486d-9832-2c3835cb52adn%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/tiddlywiki/aa0184f6-28ce-486d-9832-2c3835cb52adn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/013ebe40-e347-43b4-89bb-9d19eb3688afn%40googlegroups.com.

Reply via email to