--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/ce10b804-c2bc-4146-b091-cda5f8790f5c%40googlegroups.com.
Robbie Matthews gives a full, no-holds barred introduction to Android programming for tablets. No previous experience required! Learn More …
If the page(tiddler?) is tagged "rollonResult":
<$list filter="[all[current]tag[rollonResult]]" variable=null>
here what ever your want to do on tiddlers tagged rollonResult
</$list>
* Look up the selected named tiddler (ie, "Monster") and randomly selects an entry from a list stored as a tiddler. The list can have variable probabilities,
Otherwise:* Render a button that, when clicked, produces a new tiddler tagged with "rollonResult", with a <<rollon>> tag, so that it renders the result as a new tiddler.
I'm trying to come up with something that can produce the same, or at least a similar, result. This represents quite a lot of work over years for my friend, and I want to avoid rewriting his entire wiki.
Robbie,This can all be achieved with wiki text, widgets and macros in tiddlywiki5. In fact it is bread and butter stuff, no plugins. I would offer to do it but I have spent too much time on tiddlywiki today. I hope others can helpSome quick directionsIf the page(tiddler?) is tagged "rollonResult":Use a tiddler tagged $:/tags/ViewTemplate containing something like this
<$list filter="[all[current]tag[rollonResult]]" variable=null>
here what ever your want to do on tiddlers tagged rollonResult
</$list>
* Look up the selected named tiddler (ie, "Monster") and randomly selects an entry from a list stored as a tiddler. The list can have variable probabilities,There are multiple ways to do this and I would redefine what you want, rather than putting it in terms needed within twc. Lists can be tagged or in a data tiddler, or in a list field (as a result of tagging)There are some recently discussed random tiddler solutionsOtherwise:* Render a button that, when clicked, produces a new tiddler tagged with "rollonResult", with a <<rollon>> tag, so that it renders the result as a new tiddler.Easy build a custom new tiddler button try a button with https://tiddlywiki.com/#WidgetMessage%3A%20tm-new-tiddler or https://tiddlywiki.com/#ActionCreateTiddlerWidget
You can get much of what was done in TWC much more easily. Once you grasp the new methods.
c) I'm puzzled by the /*\ */\ structure I'm seeing at the top of a lot of example code... is this a node.js thing or is it specific to tw?
d) Ditto, I'm puzzled by precisely how the "export" var works... again, is this a node.js thing?
e) What are the different module-types, and where are they documented?
e) What are the different module-types, and where are they documented?Any help appreciated.
/*\ Some information \*/
\something\
/* commenting is common */
I am confident it is stylistic unless its used somehow to extract the content programmatically (unlikely)
--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/20d69653-5d52-4cf1-b961-2577e0b500dd%40googlegroups.com.