Hello Peter,
Thanks a lot for that idea, i haven't thought of this yet. It is a good one.
Sorry for being fussy like that. Do you think there is way to do something
like that :
{{Blabla|
title=Name (ie: Flickr)|
mainurl= The main URL (without "http://")|
format= audio, video, image|
notes= notes you'd like to write.
}}
Just by using a comma to separate all different fields ?
Thank you.
Peter B Clements wrote:
>
> 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
>
>
--
View this message in context:
http://www.nabble.com/SMW---Template-tf4058576.html#a11544329
Sent from the Semantic Mediawiki - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
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