But regardless the use of forms, you can use {{#arraymap}} or {{#arraymaptemplate}} functions that Semantic Forms provides - they take one template parameter, split them by comma (in your case) and declares values for each of the property.

           Sergey


On Wed, Jul 23, 2008 at 7:03 AM, Krabina Bernhard <krabina@kdz.or.at> wrote:
Hi Daniel,

I recommend that you use the Semantic Forms extension
http://www.mediawiki.org/wiki/Extension:Semantic_Forms

With Semantic Forms you can build forms for your users to enter data, where
mutliple entires are no problem and you have many other features like
autocompletion...

Regards,
Bernhard

> -----Original Message-----
> From: semediawiki-user-bounces@lists.sourceforge.net
> [mailto:semediawiki-user-bounces@lists.sourceforge.net] On
> Behalf Of Daniel Werner
> Sent: Wednesday, July 23, 2008 12:44 PM
> To: semediawiki-user@lists.sourceforge.net
> Subject: [Semediawiki-user] Assign more than one
> property-values in oneassignment-step to a property
>
>
> Hi,
>
> I use Semantic MediaWiki(SMW) 1.2 and already made some
> semantic templates for my wiki-page to use them in articles.
> Usage example:
>
> {{NPC
> |name=Ben
> |age=22
> |inventory=apple
> |trade-inventory=
> }}
>
> In the proper template code I allocate inventory to a SMW
> Property called "Inventory". The problem is, that in most
> cases there should be more than one property-value assign to
> "inventory" like "apple" AND "banana" AND "crossbow" and so
> on... I know that this is possible with assign each of this
> values separate to the property  "Inventory" like this:
> "[[Inventory::apple]] [[Inventory::banana]]
> [[Inventory::crossbow]]" and so on... The problem is, I  cant
> use this way in my template because I can`t know how much
> values I will get in the template-code. So this must be a
> very dynamic and complicated template and I think that's not
> the signification of SMW. I found no way to assign all three
> propertie-values in one step, for example something like
> "[[Inventory::apple,banana,crossbow]]".
> So, is there any way to handle this?
>
> Thanks a lot!
> Daniel
>
>
> --------------------------------------------------------------
> -----------
> This SF.Net email is sponsored by the Moblin Your Move
> Developer's challenge Build the coolest Linux based
> applications with Moblin SDK & win great prizes Grand prize
> is a trip for two to an Open Source event anywhere in the
> world http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Semediawiki-user mailing list Semediawiki-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user



--
Sergey Chernyshev
http://www.sergeychernyshev.com/