Le mercredi 23 septembre 2015 16:04:36 UTC+2, Hegart Dmishiv a écrit :
> EDIT: It's okay, I worked it out myself. I just had to encapsulate the > <$view> in a blank <$link> code block, like this.. > > <dl> > <$list filter="[tag[Definitions]]"> > <dt><$link><$view field="title"/></$link></dt> > <dd><$transclude field="defn"/></dd> > </$list> > </dl> > > The link widget hasn't any "field" parameter; it uses a "to" parameter which is to be set to the title of the tiddler you want to link to. This parameter defaults to the current tiddler: here, it happens to be the current item of the list widget, so it matches your needs. The next trick would be re-applying the <strong> text formatting to the <dt> > element, as well as it being a link, resulting in something like this (as a > raw HTML example)... > > <strong><a href="link.html" /></strong> > > ...or in plain wikitext... > > ;''[[This Tiddler]]'' > : Definition > > I see there is a *template* parameter of the <$view> widget which I think > would do this, I just don't know how to use it, and there is no example in > the official TW docs on ViewWidget <http://tiddlywiki.com/#ViewWidget>. > > EDIT: Nope, neither *format* nor *template* of <$view> seem to be able to > apply formatting to the link, and I tried inline CSS on the <dt> element, > as <dt style="font-weight: bold;"> but that doesn't work either. > Maybe you will have to define a new CSS... er... I don't know the correct term... "line" in a stylesheet tiddler, in order to override the appearance of a link in a dt element. I don't remember how to do that without searching, and I haven't enough time for that just now, sorry. Le mercredi 23 septembre 2015 16:39:51 UTC+2, Tobias Beer a écrit : > > Hi Hegart, > >> >> 1. Referencing a field of a tiddler is not the same as linking to a >> tiddler directly, so if the reference is the only link, then the target >> tiddler will still be an orphan. >> >> Why? > Because orphans and missing tiddlers only takes into account the links to names tiddlers (either with the link widget or the [[...]] shorthand), but doesn't resolve all the textReference (if the title of the tiddler you want to link to is stored in a field) or variable used in, for example, templates. -- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1deba0c4-157f-43b6-9d99-82863c224554%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.