Nevermind, figured it out. I had to use a set and widget thing and I had a syntax problem, so I got it to work.
On Mon, Dec 28, 2015 at 6:48 PM, David Allen <[email protected]> wrote: > Here's my setup: > > I have some tiddlers that describe an event in which a planet, in some > way, joins an interstellar power. Said tiddlers have a user-friendly > description, along with three fields: > - jointype: describes the method by which a planet joined an empire. > Examples include join, conquer, colonize. > - planet: the tiddler of the associated planet. [[Earth]], for example. > - year: the year it happened. > - faction: the power that now controls the planet. > > I also have a tiddler called EmpireEventLookupTable, which is a dicitonary > tiddler with the following information: > - join: joined the > - conquer: was conquered by the > - colonize: was colonized by the > > The idea behind this tiddler is to use it to present information in a more > user-friendly manner. > > Here's where I really use the stuff. > > I'm trying to collect information about which planets joined which empires > and when. I can limit the information down to specific empires, but > haven't implemented that yet. > > Here's what I want to do: > > > - In 2161, Earth joined the United Federation of Planets > - In 2192, Regreea was conquered by the Nausicaan Empire > - In 1961, Revanix II was conquered by the Interstellar Condordium > - etc. > > > Here's what I do have: > > \define empire_lookup(jointype) > {{EmpireEventLookupTable##$jointype$}} > \end > > <$list filter=""> > > * In {{!!year}}, {{!!planet}} <<empire_lookup {{!!jointype}}>> > {{!!faction}} > > </$list> > > > This is the result: > > > - In 2161, Earth {{EmpireEventLookupTable##join}} United Federation of > Planets > - In 2192, Regreea {{EmpireEventLookupTable##conquer}} Nausicaan Empire > - etc. > > In the output, the EmpireEventLookupTable in the result is a link to the > tiddler, whereas join, conquer, etc is just appearing as plain text. > > > I think I'm really close to solving this, but I'm not sure how to solve > this hiccup. Anyone know what I should do? > > -- > You received this message because you are subscribed to a topic in the > Google Groups "TiddlyWiki" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/tiddlywiki/1NbjFgAAUkU/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > 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/98b79ccc-7a76-48c6-9dc6-88835da7e849%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/98b79ccc-7a76-48c6-9dc6-88835da7e849%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- David Allen -- 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 post to this group, send email to [email protected]. 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/CALaYjLhOOqvf69z5vie2ofrwtfCxHe-_4Tw3Y-hmET3CwEbMdA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

