Tomas. You can't set variables and use them in the same code block.

Try This it worked for me. You can see it on 
http://cpashow.tiddlyspot.com/#Tomas

\define tituloPaper(autor:"Anónimo",titulo:"No se sabe")
$autor$: "$titulo$"
\end
\define missingdefine()
<$maketid  title="$(au)$ $(ti)$"tags="paper referencia" 
template="PaperSkeleton" edit="yes"><$button 
message="tw-new-tiddler">Agregar paper</$button></$maketid>
\end

The input fields:

|>|!Título |<$edit-text tiddler="$:/temp/paper" field="titulo" 
placeholder="Título de la publicación" size="60"/>|
|>|!Autor |<$edit-text tiddler="$:/temp/paper" field="autor" 
placeholder="Autor de la publicación"  size="60"/>|


The button that creates the tiddler with the article information:

<$set name="au" value={{$:/temp/paper!!autor}}>
<$set name="ti" value={{$:/temp/paper!!titulo}}>
    <<missingdefine>>
</$set></$set>

This is a test of the macro that works:
<<tituloPaper {{$:/temp/paper!!autor}} {{$:/temp/paper!!titulo}}>>

A button to clean de temp tiddler fields:

<$set tiddler="$:/temp/paper" set="!!titulo" setTo="">
<$set tiddler="$:/temp/paper" set="!!autor" setTo="">
<$button message="tw-set-field" param="SetField Target">Limpiar</$button>
</$set></$set>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to