Setting Properties in Templates
From semantic-mediawiki.org
Fragment of a discussion from Semantic MediaWiki Community Portal
Do you mean that you set properties of the templates not the pages that include them? If so, try setting $smwgNamespacesWithSemanticLinks [NS_TEMPLATE] = true;
Yes, I want to be able to set the synopsis and template group for each template, so it's easier to keep track of all the templates we use. The number of templates is getting a little out of hand so I think this will help. Will setting [NS_TEMPLATE] = true; affect the normal usage of setting properties using templates? Basically, as long as any properties intended to be transcluded are wrapped in INCLUDEONLY tags they're not going to be set to the template, right? See example below.
<noinclude> [[Where set::On template only]] </noinclude> <includeonly> [[Where set::On pages including template only]] </includeonly> [[Where set::On template and on pages including template]]