[tw] Re: Get field from a selected tiddler
It's works ! Thank you ! Le mardi 2 mai 2017 14:45:57 UTC+2, Jed Carty a écrit : > > The progress bar thing you have is looking at the cost field of the > tiddler $:/player-race, not the cost field of the tiddler listed in player > race. > > The easiest way to get around that is to use this: > > <$tiddler tiddler={{$:/player-race}}> > <$view field='cost' /> > > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a2488c1a-ad7b-41dd-8226-3ea7bd9811d4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Get field from a selected tiddler
Hey ! I'm trying to create a character sheet builder. I generate a select for available races : <$select tiddler='$:/player-race' default='Carbonique'> <$list filter='[tag[Races]]'> <$list filter='[tag[Races]group{!!group}]'> <$view field='title'/> (<$view field='cost'/>) Now, I want to get the field "cost" of the selected race/tiddler in a (or ) html tag, but this don't work : <$view tiddler={{$:/player-race}} field='cost' /> Anyone have a idea to get this work ? -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/592dad9c-206c-4088-b879-225d519c772c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.