Hello Tony

the tiddler wich contains the radiobutton-macro is the 
standard-macro-tiddler of this wiki.
All macros works.
Only the radiobutton-macro doesnt.
This as Information


Am Dienstag, 24. März 2020 23:38:58 UTC+1 schrieb TonyM:
>
> Gerald,
>
> If the Makrofile/tiddler containing the macro definition is tagged 
> with $:/tags/Macro then <<Makro>> will be available in any tiddler.
>
> However an alternative is to not define it as a macro but put your code in 
> a tiddler lets call it makrotemplate
> then where you want to use it in any tiddler, 
> `{{||makrotemplate}}` the `||` says use the currentTiddler when 
> transcluding.
>
> As long as a macro - or a template is designed to operate on the 
> currentTiddler it is easy to include it in any tiddler.
>
> I hope this helps without giving too much information
>
> Tony
>
> On Wednesday, March 25, 2020 at 4:36:06 AM UTC+11, Gerald Weis wrote:
>>
>> hello Tony,
>>
>> then i have the radiobuttonmatrix showing in the Makrofile
>>
>> but not in the tiddler where i want to use it.
>>
>>  
>>
>>
>> Am Dienstag, 24. März 2020 02:47:49 UTC+1 schrieb TonyM:
>>>
>>> Does this not work?
>>>
>>> \define Makro()
>>> <div class="illvital">
>>>
>>> <<Headline "illvital" Körperanalysen<br>Körpertyp>>
>>>
>>> <table>
>>> <<tabueb>>
>>> <tr valign=top align=center>
>>> <td><$radio field="modifier" value="11"><br>wenig Fett/<br>dünn<
>>> /$radio></td>
>>> <td><$radio
>>>  field="modifier" value="12"><br>Übergewicht/<br> zu
>>> hoher<br>Fettgehalt </$radio></td>
>>> <td><$radio field="modifier" value="13"><br>Adipös/<br>fettleibig <
>>> /$radio></td>
>>> </tr>
>>> <tr valign=top align=center>
>>> <td><$radio
>>>  field="modifier" value="21"><br>geringes
>>> Gewicht/<br>dünn<br><br></$radio></td>
>>> <td><$radio field="modifier" value="22"><br>Norm<br><br></$radio></td>
>>> <td><$radio
>>>  field="modifier" value="23"><br>hohes
>>> Gewicht/<br>muskulös<br><br></$radio></td>
>>> </tr>
>>> <tr valign=top align=center>
>>> <td><$radio
>>>  field="modifier"
>>> value="31"><br>fettarm/<br>dünn<br><br></$radio></td>
>>> <td><$radio
>>>  field="modifier"
>>> value="32"><br>fettarm/<br>muskulös<br><br></$radio></td>
>>> <td><$radio
>>>  field="modifier" value="33"><br>hohes
>>> Gewicht<br>muskulös<br><br></$radio></td>
>>> </tr>
>>> </table>
>>> \end
>>> <<Makro>>
>>>
>>> I cant read code very will with another language in it, but I am curious 
>>> why this updates the modifier field tested on tiddlywiki.com
>>>
>>> Regards
>>> Tony
>>>
>>>
>>> On Monday, March 23, 2020 at 11:52:31 PM UTC+11, Gerald Weis wrote:
>>>>
>>>> Hello Friends,
>>>>
>>>> the code in the box works.
>>>>
>>>> But i want it to have as Makro
>>>>
>>>> is it possible that can do? It must to works in a lot of tiddler with 
>>>> diverse values.
>>>>
>>>>
>>>> <div class="illvital">
>>>>
>>>> <<Headline "illvital" Körperanalysen<br>Körpertyp>>
>>>>
>>>> <table>
>>>> <<tabueb>>
>>>> <tr valign=top align=center>
>>>> <td><$radio field="modifier" value="11"><br>wenig Fett/<br>
>>>> dünn</$radio></td>
>>>> <td><$radio
>>>>  field="modifier" value="12"><br>Übergewicht/<br> zu 
>>>> hoher<br>Fettgehalt </$radio></td>
>>>> <td><$radio field="modifier" value="13"><br>Adipös/<br>fettleibig 
>>>> </$radio></td>
>>>> </tr>
>>>> <tr valign=top align=center>
>>>> <td><$radio
>>>>  field="modifier" value="21"><br>geringes 
>>>> Gewicht/<br>dünn<br><br></$radio></td>
>>>> <td><$radio field="modifier" value="22"><br>Norm<br><br></$radio></td>
>>>> <td><$radio
>>>>  field="modifier" value="23"><br>hohes 
>>>> Gewicht/<br>muskulös<br><br></$radio></td>
>>>> </tr>
>>>> <tr valign=top align=center>
>>>> <td><$radio
>>>>  field="modifier" 
>>>> value="31"><br>fettarm/<br>dünn<br><br></$radio></td>
>>>> <td><$radio
>>>>  field="modifier" 
>>>> value="32"><br>fettarm/<br>muskulös<br><br></$radio></td>
>>>> <td><$radio
>>>>  field="modifier" value="33"><br>hohes 
>>>> Gewicht<br>muskulös<br><br></$radio></td>
>>>> </tr>
>>>> </table>
>>>>
>>>>
>>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/15c6d766-317c-4ba0-9ea3-d650b604892a%40googlegroups.com.

Reply via email to