Difference between revisions of "Template:SMWDefaultMarkup"

From Wikispooks
Jump to navigation Jump to search
(Set Has fullPageNamee)
(Only set Property:Has parentFullPageName in the "main" namespace)
Line 16: Line 16:
 
* [[Property:ON display date]]
 
* [[Property:ON display date]]
 
* [[Property:Display lifespan]]
 
* [[Property:Display lifespan]]
</noinclude><includeonly>[[Has fullPageName::{{FULLPAGENAME}}| ]][[Has fullPageNamee::{{FULLPAGENAMEE}}| ]][[Has parentFullPageName::{{#titleparts: {{FULLPAGENAME}} | -1 }}| ]][[Has revisionSize::{{REVISIONSIZE}}| ]][[Has revisionUser::{{REVISIONUSER}}| ]]<!--
+
</noinclude><includeonly>[[Has fullPageName::{{FULLPAGENAME}}| ]][[Has fullPageNamee::{{FULLPAGENAMEE}}| ]]{{#ifeq: {{ns:}}||[[Has parentFullPageName::{{#titleparts: {{FULLPAGENAME}} | -1 }}| ]]}}[[Has revisionSize::{{REVISIONSIZE}}| ]][[Has revisionUser::{{REVISIONUSER}}| ]]<!--
  
 
Below two maybe handy, but currently unused:
 
Below two maybe handy, but currently unused:

Revision as of 12:41, 22 January 2015

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: