Difference between revisions of "Template:SMWDocSection"

From Wikispooks
Jump to navigation Jump to search
(Bug tracking)
(Add images to All SMWDoc sections)
Line 22: Line 22:
 
|expression={{{expression|}}}
 
|expression={{{expression|}}}
 
|mainlabel={{{mainlabel|}}}
 
|mainlabel={{{mainlabel|}}}
|properties={{{properties|}}}
+
|properties=Has image/{{{properties|}}}
|headers={{{headers|}}}}}
+
|headers=Image/{{{headers|}}}}}
 
}}</includeonly>
 
}}</includeonly>

Revision as of 09:22, 15 January 2016

Bug1.jpg This template has problems: This sometimes creates blank sections. This is believed to be when the items contain badly formed semantic data. Use the discussion page to see the debate about this.

This template places a list of data items in its own defined section.
Example usage:

{{SMWDocSection
|expression= [[Has author::{{PAGENAME}}]]
|captionSingular= {{PAGENAME}} on Wikispooks
|captionPlural= {{PAGENAME}} on Wikispooks
|mainlabel = Wikispooks page
|sort=Has publication date
|order=ascending
|properties=DocType/Has publication date/Is about/Description
|headers=Document type/Publication date/Subject(s)/Description
}}