From: Laurent A. <la...@al...> - 2012-12-29 23:24:48
|
One thing that wasn't mentioned in answer to the original question.... this is a point in favor of using templates to encode your semantic properties. In your case, you would have a Capital parameter in your template and you could use it to both set the property 'Has capital' and in any other place you want on your page using the template parameter. - Laurent On Sat, Dec 29, 2012 at 6:22 PM, Laurent Alquier <la...@al...>wrote: > That's unfortunate to hear.. do you know if the new parser supports > variables in any way? > They have been very useful in many of my templates. > > - Laurent > > > On Sat, Dec 29, 2012 at 11:57 AM, Jeroen De Dauw <jer...@gm...>wrote: > >> Hey, >> >> > you could also have a look at the variables extension ( >> http://www.mediawiki.org/wiki/Extension:Variables) >> >> Beware that a lot of developers see this as a rather sketchy thing to do >> in >> wikitext. Not sure to what extend this will remain supported with the new >> parser. >> >> There is an extension made specially for getting the values of properties >> in the same page. Don't know if it works with latest SMW though. >> https://www.mediawiki.org/wiki/Extension:Semantic_Expressiveness >> >> Cheers >> >> -- >> Jeroen De Dauw >> http://www.bn2vs.com >> Don't panic. Don't be evil. >> -- >> >> ------------------------------------------------------------------------------ >> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, >> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current >> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >> MVPs and experts. SALE $99.99 this month only -- learn more at: >> http://p.sf.net/sfu/learnmore_122912 >> _______________________________________________ >> Semediawiki-user mailing list >> Sem...@li... >> https://lists.sourceforge.net/lists/listinfo/semediawiki-user >> > > > > -- > - Laurent Alquier > http://www.linfa.net > -- - Laurent Alquier http://www.linfa.net |