Andreas Bietenbeck wrote: > I've just installed SMW successfully - thanks it seems to be a really great > programm. Now I'm trying to configure it to fit my needs. Especially I like > to add a few things to the factbox at the end of each article. Is there a way > to do it? Did you see my reply to chozcunningham.com yesterday? http://www.mail-archive.com/semediawiki-user@lists.sourceforge.net/msg00209.html
You might be able to use some DHTML tricks with innerHTML to insert text into the factbox... > Or can I turn the factbox off and create a template that has the same > functionallity? > Yes you can turn the factbox off. It seems that you could make an inline query template that asks for all relations and attributes of the current {{PAGENAME}}, but for what it's worth I can't do it. I fiddled around at http://ontoworld.org/wiki/Test_Factbox You could link to the Special:SearchTriple page that can perform these searches. From http://en.wikipedia.org/wiki/Wikipedia:Internal_query_string_links , if you use the Querylink template, {{Querylink|Special:SearchTriple|qs=subject={{NAMESPACE}}:{{PAGENAME}}&do=Search+Relations|Show all relations}} {{Querylink|Special:SearchTriple|qs=subject={{NAMESPACE}}:{{PAGENAME}}&do=Search+Attributes|Show all attributes}} Even if you could get these to work, the output of inline queries and Special:SearchTriple doesn't include the service links and the conversions to alternative units that some attributes display in the factbox. -- =S Page ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Semediawiki-user mailing list Semediawiki-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-user