Hi, I still don't understand - why not hardcode the property values in the template, instead of querying for them every time?
-----Original Message----- Date: Sunday, November 09, 2008 11:37:48 am To: <[EMAIL PROTECTED]>, <[email protected]> From: "Daniel Werner" <[EMAIL PROTECTED]> Subject: RE: [SMW-devel] Offer for a new Query format in SMW. Take a look at my Template! I develope a wiki(system) which should make it possible to develope the story, npcs and quests for an computer roleplaying game (RPG). You can describe there NPCs, some NPCs should inherit properties from another NPC. You also could define a basic "template"-like NPC which is the base for much other, for example a city guard which is the base for all the single NPCs who have as job to be a city guard. The same would be possible if the editors would work with templates, but this would be more difficult for them. I have a very complex template for NPCs, its also possible to inherit values but give addition values to the property or say that all properties should inherit a value but not those wo have a "-" in their parameter. {{NPC |Base=<name of another NPC or NPC-Template> |ID=123 |Name=Tom |Last name= |age=33 |weight= |height= |strength= |description=- |inventory=+banana;3, apple;4,... ... and so on. The user has nearly nothing to do with the SMW syntax, all of this happens in the template "NPC". But the user can use another of mine templates, {{?|Name}} for example to print out the name of the NPC in the whole text of the NPC article page. So he saves a lot of SMW querry syntax. Its also possible to ask for example {{?|description|from=Daniel}} to ask the description attribute from the page "Daniel". Certainly this is only an example, some things I do different from this, for example my properties are different and I have much more. Asside from, it's an wiki in german language, maybe it will be English one day, too. It's still in development. If anybody is interested to have a look at my wiki, I can setup an account for that. Daniel > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Sunday, November 09, 2008 5:11 PM > To: Daniel Werner; [email protected] > Subject: RE: [SMW-devel] Offer for a new Query format in SMW. Take a look > at my Template! > > What's an example of a case where you would want ------------------------------------------------------------------------- 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-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
