Difference between revisions of "Template:SMWDocSection"

From Wikispooks
Jump to navigation Jump to search
(|sort)
(|order)
Line 7: Line 7:
 
|captionPlural= {{PAGENAME}} on Wikispooks
 
|captionPlural= {{PAGENAME}} on Wikispooks
 
|mainlabel = Wikispooks page
 
|mainlabel = Wikispooks page
 +
|sort=Has publication date
 
|sort=Has publication date
 
|sort=Has publication date
 
|properties=DocType/Has publication date/Is about/Description
 
|properties=DocType/Has publication date/Is about/Description
Line 17: Line 18:
 
|format=table
 
|format=table
 
|sort={{{sort|}}}
 
|sort={{{sort|}}}
 +
|order={{{order|}}}
 
|expression={{{expression|}}}
 
|expression={{{expression|}}}
 
|mainlabel={{{mainlabel|}}}
 
|mainlabel={{{mainlabel|}}}

Revision as of 16:45, 1 June 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
|sort=Has publication date
|properties=DocType/Has publication date/Is about/Description
|headers=Document type/Publication date/Subject(s)/Description
}}