Difference between revisions of "Template:SMWDefaultMarkup"

From Wikispooks
Jump to navigation Jump to search
(Only set Property:Has parentFullPageName in the "main" namespace)
m (Text replacement - "Torchlight_help_icon.png" to "Help.png")
Line 24: Line 24:
  
 
Below currently unused and the code doesn't work as expected.
 
Below currently unused and the code doesn't work as expected.
{{#if: {{#ask: [[Has objectClass2::{{PAGENAME}}]]}}|[[Display icon::Image:{{#ask: [[Has objectClass2::{{PAGENAME}}]]}}.png| ]]|[[Display icon::Image:Torchlight_help_icon.png| ]]}}
+
{{#if: {{#ask: [[Has objectClass2::{{PAGENAME}}]]}}|[[Display icon::Image:{{#ask: [[Has objectClass2::{{PAGENAME}}]]}}.png| ]]|[[Display icon::Image:Help.png| ]]}}
 
--></includeonly>
 
--></includeonly>

Revision as of 20:30, 31 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: