Difference between revisions of "Template:SMWDefaultMarkup"

From Wikispooks
Jump to navigation Jump to search
Line 1: Line 1:
<noinclude>[[category:Semantic Templates]]'''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.
+
<noinclude>[[category:Semantic Templates]]'''This template adds SMWData to the page, based on the existing data.''' It has no parameters. It is currently fairly simple,  
 +
and should probably remain that way, because it affects so many pages and has the potential to tie up the SMW jobs queue.
 
<hr/>
 
<hr/>
 
The following properties are set:
 
The following properties are set:
Line 36: Line 37:
 
SET IS NOT STUB PROPERTY IF NEEDED.
 
SET IS NOT STUB PROPERTY IF NEEDED.
 
Set Property:Is_not_stub unless Property:stub is set.
 
Set Property:Is_not_stub unless Property:stub is set.
-->{{#ifeq: {{#show: {{FULLPAGENAME}} | ?Is stub }} |true|is stub|not stub[[Is not stub::true| ]]}}</includeonly>
+
-->{{#ifeq: {{#show: {{FULLPAGENAME}} | ?Is stub }} |true||[[Is not stub::true| ]]}}</includeonly>

Revision as of 06:01, 9 September 2016

This template adds SMWData to the page, based on the existing data. It has no parameters. It is currently fairly 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:


2016-04-18: Addition: It also adds "__NOCACHE__" if the page was modified within the last 36 hours.