Difference between revisions of "Template:SMWDefaultMarkup"

From Wikispooks
Jump to navigation Jump to search
(tweak propertyname)
(An extra property of use)
Line 3: Line 3:
 
The following properties are set:
 
The following properties are set:
 
* [[Property:Has fullPageName]]
 
* [[Property:Has fullPageName]]
 +
<!--* [[Property:Has pageName]] -->
 +
* [[Property:Has rootPageName]]
 
* [[Property:Display docType]]
 
* [[Property:Display docType]]
 
* [[Property:Display date]]
 
* [[Property:Display date]]
 
* [[Property:ON display date]]
 
* [[Property:ON display date]]
</noinclude><includeonly>[[Has fullPageName::{{FULLPAGENAME}}| ]]<!--  
+
</noinclude><includeonly>[[Has fullPageName::{{FULLPAGENAME}}| ]]<!--[[Has pageName::{{PAGENAME}}| ]]-->[[Has rootPageName::{{#titleparts: {{PAGENAME}} | 1 }}| ]]<!--  
 
SET DISPLAY PROPERTIES -->{{Display date}}{{ON display date}}{{Display docType}}</includeonly>
 
SET DISPLAY PROPERTIES -->{{Display date}}{{ON display date}}{{Display docType}}</includeonly>

Revision as of 12:54, 25 July 2014

This template adds SMWData to the page, based on the existing data. It has no parameters. It is currently simple, and should probably remain that way, because it affects so many pages and has the potential to tie up the SMW jobs queue.


The following properties are set: