Difference between revisions of "Template:SubPages"

From Wikispooks
Jump to navigation Jump to search
(explain spec. - Objects needed!)
(clarify)
Line 1: Line 1:
 
<noinclude>[[category:Semantic Templates]]'''This semantic template creates a section heading plus a list of sub-pages of an event  by checking [[Property:Has rootFullPageName]] and [[Property:Has fullPageName]].'''<br/>
 
<noinclude>[[category:Semantic Templates]]'''This semantic template creates a section heading plus a list of sub-pages of an event  by checking [[Property:Has rootFullPageName]] and [[Property:Has fullPageName]].'''<br/>
''It only includes sub-pages which have these properties set - so in order to show up subpages must make use of an [[WikiSpooks:Semantic Objects|object]] template''.
+
''It only includes sub-pages which have these properties set - so in order to show up, subpages should include [[Template:SMWDocs]]''.
 
</noinclude><includeonly>{{SMWDocSection
 
</noinclude><includeonly>{{SMWDocSection
 
|expression= [[Has rootFullPageName::{{FULLPAGENAME}}]][[Has fullPageName::~{{FULLPAGENAME}}/*]]
 
|expression= [[Has rootFullPageName::{{FULLPAGENAME}}]][[Has fullPageName::~{{FULLPAGENAME}}/*]]

Revision as of 20:18, 28 August 2014

This semantic template creates a section heading plus a list of sub-pages of an event by checking Property:Has rootFullPageName and Property:Has fullPageName.
It only includes sub-pages which have these properties set - so in order to show up, subpages should include Template:SMWDocs.