Difference between revisions of "Template:SMWDocSection"

From Wikispooks
Jump to navigation Jump to search
(|order)
(fix docs)
Line 8: Line 8:
 
|mainlabel = Wikispooks page
 
|mainlabel = Wikispooks page
 
|sort=Has publication date
 
|sort=Has publication date
|sort=Has publication date
+
|order=ascending
 
|properties=DocType/Has publication date/Is about/Description
 
|properties=DocType/Has publication date/Is about/Description
 
|headers=Document type/Publication date/Subject(s)/Description
 
|headers=Document type/Publication date/Subject(s)/Description

Revision as of 14:34, 17 September 2014

This template places a list of data items in its own 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
}}