Difference between revisions of "Template:SMWDocSection"

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

Revision as of 06:47, 5 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 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
}}