Difference between revisions of "Template:SMWDocSection"

From Wikispooks
Jump to navigation Jump to search
(|limit)
Line 9: Line 9:
 
|mainlabel = Wikispooks page
 
|mainlabel = Wikispooks page
 
|sort=Has publication date
 
|sort=Has publication date
 +
|limit=333 (defaults to 50)
 
|order=ascending
 
|order=ascending
 
|properties=DocType/Has publication date/Is about/Description
 
|properties=DocType/Has publication date/Is about/Description
Line 20: Line 21:
 
-->{{ask
 
-->{{ask
 
|format=table
 
|format=table
 +
|limit={{{limit|}}}
 
|sort={{{sort|}}}
 
|sort={{{sort|}}}
 
|order={{{order|}}}  
 
|order={{{order|}}}  

Revision as of 12:37, 15 December 2017

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}}]]
|caption_singular= {{PAGENAME}} on Wikispooks
|caption_plural= {{PAGENAME}} on Wikispooks
|mainlabel = Wikispooks page
|sort=Has publication date
|limit=333 (defaults to 50)
|order=ascending
|properties=DocType/Has publication date/Is about/Description
|headers=Document type/Publication date/Subject(s)/Description
}}