Sorry; Maybe my example was not completly clear.

My Problem is that I need to write the
<<list-links "[has[ingrediant]ingrediant[Apple]]">>
for every other Fruit.

So, If i have 100 tiddlers all called after Fruits,
I have to write the list above, and exchange the "Apple" with the title of 
the tiddler. It would be so much easier if I dont need to do 
all this manually, but have a command that will insert the title of the 
tiddler into the list I am trying to create.
<<list-links "[has[ingrediant]ingrediant[TITLE]]">>

Does this still sound like gibberish? :D

Am Montag, 26. August 2019 22:25:36 UTC+2 schrieb Mark S.:
>
> In your example, the tiddler was "Cookbook". So how would the list-links 
> know what OTHER tiddler you meant? It could
> be one of dozens.
>
> But if you meant to list all recipes that used an ingredient, then you 
> might put this
> inside your ingredient tiddler:
>
> <<list-links "[has[ingrediant]ingrediant<currentTiddler>]">>
>
> This will list all the other tiddlers that use that ingredient.
>
> And if this is something that you want to list for everything that is an 
> official
> ingredient, perhaps tagged as "Ingredient", then you would make a template
> tiddler, tagged as $:/tags/ViewTemplate with contents like:
>
> <$list filter="[all[current]tag[Ingredient]]">
> <<list-links "[has[ingrediant]ingrediant<currentTiddler>]">>
> </$list>
>
> Good luck!
>
>
>
> On Monday, August 26, 2019 at 12:58:12 PM UTC-7, Chems wrote:
>>
>> Hey Thanks!
>>
>> The cookbook was just an example!
>> Is there not a "simple" way to insert the title in the way I would like 
>> it to be?
>> So
>> <<list-links "[has[ingrediant]ingrediant[Apple]]">>
>> So that the [Apple] will be the titel of the tiddler; things like
>> <<list-links "[has[ingrediant]ingrediant[!!!title]]">>, etc dont work.
>>
>> Am Montag, 26. August 2019 16:50:10 UTC+2 schrieb Mark S.:
>>>
>>> Possibly you want the "get" operator:
>>>
>>> <<list-links "[has[ingrediant]get[ingrediant]]">>
>>>
>>> But this will list all ingredients used by all recipes. But it would be 
>>> an odd cookbook that listed all
>>> ingredients used in all it's recipes.
>>>
>>> On Monday, August 26, 2019 at 7:22:28 AM UTC-7, Chems wrote:
>>>>
>>>> Hey,
>>>>
>>>> I wanna create a bunch of tiddlers with lists in them.
>>>> The list will show tiddlers, in wich the titel of the current tiddler 
>>>> is a field value.
>>>>
>>>> For example:
>>>> Tiddler 1
>>>> Titel = Apple
>>>> field ingrediant = Apple
>>>>
>>>> Tiddler 2
>>>> Titel = Cookbook
>>>> <<list-links "[has[ingrediant]ingrediant[Apple]]">>
>>>>
>>>> Now Tiddler 2 will display Tiddler 1. Thats what I want, but I always 
>>>> need to change the "Apple" to sth else.
>>>> Is there a way to display a list, which is referring to the tiddler 
>>>> title?
>>>>
>>>> So That Tiddler 2 will look like:
>>>>
>>>> Tiddler 2
>>>> Titel = Cookbook
>>>> <<list-links "[has[ingrediant]ingrediant[TITLE]]">>
>>>>
>>>>
>>>> Thank you in advanced!
>>>>
>>>>
>>>>
>>>>

-- 
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/b57ab197-6ec4-4a0e-87e4-1321ade27aca%40googlegroups.com.

Reply via email to