Hi again I need to be able to toggle a gender field in a "student card". Male or female - and I need to setup a way for my users (collegues) to create sentences where they can add up to 4 variations of gender i.e.: "Gender is a good student". or: "When gender is doing gender's homework, gender is ...." (in Danish there is no difference when spelling he or hi(s)) I need variations on gender like: he, He, him and Him - she, She, her and Her.
I guess that a solution might be to let the radio button toggle between m and w for !!gender and create a data dictionary tiddler which has the variations like this: KODE: VÆLG ALT <http://www.linux-abc.dk/phpBB3/ucp.php?i=pm&mode=view&p=2063#>m1:he m2:He m3:him m4:Himm5:hism6.His k1:she k2:She k3:her k4:Her Next step might be to create a macrotemplate titled: "mw", which concatenates different parts like this: \define mw(var) {{!!gender}}$var$##DataDictionaryTiddlerName \end <$ macrocall name="mw" var="1"/> Usage: <<mw 1>> or just {{mw}} for he or she and <<mw 2>> for He or She and <<mw 3>> for him or her and <<mw 4>> for Him or Her (the 5'th variation isn't needed in Danish...) Does this seem to be a good solution? - is it even possible? Cheers Måns Mårtensson Den fredag den 10. juni 2016 kl. 11.03.18 UTC+2 skrev Måns: > > Thank you very much Birthe :-) > > I had completely forgotten that I asked this question a long time ago - > and that Matabele gave me a great solution using data sets... > Sorry Matabele ... and thank you both .). > > Cheers Måns Mårtensson > > Den fredag den 10. juni 2016 kl. 00.39.34 UTC+2 skrev Birthe C: >> >> Hi Måns, >> >> https://groups.google.com/d/msg/tiddlywiki/z-86V2W3r_0/kK4juLdop10J >> >> >> Birthe >> >> On Friday, June 10, 2016 at 12:05:43 AM UTC+2, Måns wrote: >>> >>> Hi TwWizards >>> >>> With this code I can create one field with a radio button: >>> >>> <$radio field="gender" value="him"> male</$radio> >>> >>> >>> How do I make it create two fields at once? >>> >>> This doesn't work: >>> >>> <$radio field="gender" value="he" field="gender2" value="him"> male</$radio> >>> >>> >>> I remember that @matabele made a couple of plugins that would enable >>> creating a lot of things all at once - but I don't think it worked with >>> radio buttons. >>> Please correct med if I'm wrong. >>> >>> Cheers Måns Mårtensson >>> >> -- 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/0f58e66e-bb42-4f22-86b2-d98d3e23d0ea%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

