Difference between revisions of "Template:SMWDefaultMarkup"

From Wikispooks
Jump to navigation Jump to search
(Only give meeting counts to people)
Line 44: Line 44:
  
 
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 not stub::true| ]][[Is stub::false| ]]}}<!--
+
-->{{#ifeq: {{#show: {{FULLPAGENAME}} | ?Is stub }} |true||[[Is not stub::true| ]]}}<!--
  
 
-->{{#ifeq: {{#show: {{FULLPAGENAME}} | ?Has objectClass }}|Person|{{#ifeq: {{#show: {{FULLPAGENAME}} | ?Has nationality }} ||[[Has nationality::Unknown| ]]}}}}</includeonly>
 
-->{{#ifeq: {{#show: {{FULLPAGENAME}} | ?Has objectClass }}|Person|{{#ifeq: {{#show: {{FULLPAGENAME}} | ?Has nationality }} ||[[Has nationality::Unknown| ]]}}}}</includeonly>

Revision as of 15:31, 13 December 2017

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.