Hi everybody,
I'm having some trouble with an <ask> query using a
template to format the result.
This is the code in the test page:
-----------------------------------------
{|style="border-collapse:collapse;" border="1" cellpadding="3" align="left"
{{MyTemplate|User:Manu.d|Emanuele}}
|}
{|style="border-collapse:collapse;" border="1" cellpadding="3" align="left"
<ask format="template" template="MyTemplate">
[[Category:Persons]] [[FirstName:=*]]
</ask>
|}
-----------------------------------------
The template itself is very simple:
|-
|{{{2}}}
-----------------------------------------
The first use of the template works fine, generating a nice frame around the
name Emanuele.
The second use, inside the <ask> query, only returns this:
-----------------------------------------
|- |Emanuele
-----------------------------------------
Also, links seem to be interpreted as such
even without brakets.
Any documentation specific on these issues?
Thanks for your help!
Manu
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user