Difference between revisions of "Template:SubPages"

From Wikispooks
Jump to navigation Jump to search
(Recode the SMW expression so it doesn't need templates on the subpages)
m (Typos)
Line 1: Line 1:
<noinclude>[[category:Semantic Templates]]This semantic template creates a section heading plus a list of sub-pages of an event <s>by reading [[Property:Has subEvent]] and [[Property:Has aspect]]</s> by checking [[Property:rootFullPageName]] and [[Property:fullPageName]].''<br/></noinclude><includeonly>{{SMWDocSection
+
<noinclude>[[category:Semantic Templates]]This semantic template creates a section heading plus a list of sub-pages of an event <s>by reading [[Property:Has subEvent]] and [[Property:Has aspect]]</s> by checking [[Property:Has rootFullPageName]] and [[Property:Has fullPageName]].''<br/></noinclude><includeonly>{{SMWDocSection
 
|expression= [[Has rootFullPageName::{{FULLPAGENAME}}]][[Has fullPageName::~{{FULLPAGENAME}}/*]]
 
|expression= [[Has rootFullPageName::{{FULLPAGENAME}}]][[Has fullPageName::~{{FULLPAGENAME}}/*]]
 
<!-- Older way of doing it, that didn't catch all subpages
 
<!-- Older way of doing it, that didn't catch all subpages

Revision as of 15:25, 25 July 2014

This semantic template creates a section heading plus a list of sub-pages of an event by reading Property:Has subEvent and Property:Has aspect by checking Property:Has rootFullPageName and Property:Has fullPageName.