Difference between revisions of "Template:SMWDocSection"

From Wikispooks
Jump to navigation Jump to search
(fix docs)
Line 1: Line 1:
<noinclude>'''This template places a list of data items in its own section.'''<br/>
+
<noinclude>{{TemplateProblem|This sometimes creates blank sections. See, for example, [[Test/SMWDocSection-bug]]}}
 +
'''This template places a list of data items in its own section.'''<br/>
 
Example usage:
 
Example usage:
  

Revision as of 17:34, 4 May 2015

Bug1.jpg This template has problems: This sometimes creates blank sections. See, for example, Test/SMWDocSection-bug Use the discussion page to see the debate about this.

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
}}