| input | a selection of titles |
|---|---|
| output | the input, but with S added to the end of each title |
<$list filter="[[inputlist]addsuffix[mysuffix]]">How should I understand it needs an input parameter which is different from input from a previous step?
| output | the input, but with S added to the start of each title |
|---|
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ed6d50a4-3a3a-43df-b439-4e78dbd20eb0n%40googlegroups.com.
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/6392aca0-770a-4ccc-9d3c-42f503e68d88n%40googlegroups.com.
Ciao MohammadIt is an interesting issue.
- I AGREE the base docs are not enough for working everything out.
- I DISAGREE that the solution to that problem should be in the main documentation!
WHY?Because IF you added all possible combination examples it would inflate the main reference site, tiddlywiki.com, to be SO vast it would become unusable.
| input | a list of items |
|---|---|
| suffix | an integer N, defaulting to 1 |
| output | re-ordered list of items |

IMO, Jeremy Ruston has done a very good job on documentation.
It is true his style is somewhat gnostic :-)The original minimalist! :-)But it is also true that he has ASTUTE BREVITY.
IMO this issue should be about SECONDARY documentation.
At the moment everything focuses on tw.com.I'm NOT convinced that is the right approach for final practical, fully expanded, documentation.It seems to me that we need more DIFFERENTIATION.AND recognizing better SUPPLEMENTARY documentation that covers specific aspects of TiddlyWiki in more detail would be best.I hope my points make sense, even if you don't agree.
--TT
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/9b4500a8-cf8e-46f5-bdc4-2c8f66ff0269n%40googlegroups.com.
Mohammad, you point to something I personally agree is a learning curve (and I think unnecessarily so) for those who use similar "formula languages" to those I'm used to. My background is more Windows/Office stuff, so Excel, VBA, M, DAX, R, AutoIT etc. and there is typically a nearly standard way of documenting the functions (widgets in our case).They (like your example) start with a syntax string. I think this really helps illustrate better HOW to use it.For example the common XLOOKUP function in Excel is documented like:=XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode])
...and then immediately below that is a table with each of the parameters, whether they're required, what each option is and does, and what happens if it's omitted...and then examples immediately follow (not sure why the TiddlyWiki examples are often (though not always) in separate tiddlers.Even just seeing in order how it's all pieced together, and then note the square bracket parameters which seems nearly universally to mean optional (at least in the languages described above). In some languages they even put the default right in the syntax line. That was Excel, but a similar pattern seems to be present in at least the other languages I use.So, for most widgets I'd suggest it would be easier to start with a similar syntax pattern before going into parameters. Now picking what brackets etc. to use in TiddlyWiki is a little more difficult since all of them are already actually used, but taking a crack at it... for example the <$wikify> would get a:<$wikify name=<variable name> text=<text to wikify> [type=<ContentType (default text/vnd.tiddlywiki)>] [mode=<parse mode (default:block)>] [output=<output type (default:text)>] >Text where <variable name> is available</$wikify>
... and then the table for each of those like the documentation already has largely.Now your example, a filter operator is slightly different, but a similar methodology could apply. Maybe include the whole list piece like you do already<$list filter="[<input>addsuffix<suffix>]">The output of each input from the filter with the additional suffix</$list>
... and then a table for input, suffix, and output. Input and output already have something, but a row for suffix could be there saying "string of text to add" or something.Anyways, I'm sure that can be refined, but circling back to your specific questions:1. I don't have better resources, I find that the example pages are currently where I start (I guess because I think syntax first) and then come back2. Experience seems similar to yours. I'm often very confused until I see enough examples (especially the ones with all of the colons - though love how powerful they are)3. Above is at least an idea of how to improve
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/8698e7d4-be6d-4701-8a62-62077c9628a0n%40googlegroups.com.
The "operator" docs is a formal description. ... The (Examples) should be for the "understanding". ... The problem is, we do need more "real world" examples, + explanation. That's all.I think everyone is free to provide "pull requests" at GitHub, or post examples in the GG, that can be transferred to the docs.
PRs are preferred, since it makes live much easier for developers.just my thougthsmario
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/c463570c-fd8f-4a6e-a13a-9f1cbe0f8ba2n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMAdPsZ8C-p0XsZ7gNqZezTM1dw_CVYsYE1xodpFan%3Dc%2BA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/9061BDD0-6705-4135-8A27-500587D169D7%40gmail.com.