Hello Thierry,
On Tuesday, July 10, 2007, 11:17:47 PM, you wrote:
TK> Hi,
TK> Thanks for your reply. I actually made this template (copied from somewhere
TK> i don't remember) :
Instead of "format=" use "format1=", "format2=" etc:
{{Blabla|
title=Name (ie: Flickr)|
mainurl= The main URL (without "http://")|
format1= audio|
format2= video|
format3= image|
notes= notes you'd like to write.
}}
Then in your template you can use:
{{#if:{{{format1|}}}|{{Tablerow
|Label=* Formats:
|value=[[format::{{{format1}}}]]{{#if:{{{format2|}}}|,
[[format::{{{format2}}}]]}}{{#if:{{{format3|}}}|,
[[format::{{{format3}}}]]}}{{#if:{{{format4|}}}|,
[[format::{{{format4}}}]]}}{{#if:{{{format5|}}}|, [[format::{{{format5}}}]]}}
}}
--
Best regards,
Peter
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user