Difference between revisions of "Template:SMWDocSection"
Jump to navigation
Jump to search
(|limit) |
(text param) |
||
Line 5: | Line 5: | ||
<pre>{{SMWDocSection | <pre>{{SMWDocSection | ||
|expression= [[Has author::{{PAGENAME}}]] | |expression= [[Has author::{{PAGENAME}}]] | ||
+ | |text= <!-- Option section lede --> | ||
|caption_singular= {{PAGENAME}} on Wikispooks | |caption_singular= {{PAGENAME}} on Wikispooks | ||
|caption_plural= {{PAGENAME}} on Wikispooks | |caption_plural= {{PAGENAME}} on Wikispooks | ||
Line 19: | Line 20: | ||
<small>''Use the Up/Dn symbols to sort''</small>}} | <small>''Use the Up/Dn symbols to sort''</small>}} | ||
Not really needed. 2017-12-02 | Not really needed. 2017-12-02 | ||
− | -->{{ask | + | -->{{text|}}{{ask |
|format=table | |format=table | ||
|limit={{{limit|}}} | |limit={{{limit|}}} |
Revision as of 16:31, 26 December 2022
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}}]] |text= <!-- Option section lede --> |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 }}