Template:SMWDocSection: Difference between revisions
Appearance
WikiSpooks>Robin Test |
m Plain formatting, no semantic markup |
||
| Line 14: | Line 14: | ||
|properties=DocType/Has publication date/Is about/Description | |properties=DocType/Has publication date/Is about/Description | ||
|headers=Document type/Publication date/Subject(s)/Description | |headers=Document type/Publication date/Subject(s)/Description | ||
}}</pre></noinclude><includeonly>{{#ifexpr: | }}</pre></noinclude><includeonly>{{#ifexpr:>0| | ||
{{#if: {{{caption_singular|}}}{{{caption_plural|}}}|=={{spz| | {{#if: {{{caption_singular|}}}{{{caption_plural|}}}|=={{spz||{{{caption_singular|}}}|{{{caption_plural|}}}}}==}} | ||
<!--{{#ifexpr: | <!--{{#ifexpr: =1| | ||
<small>''Use the Up/Dn symbols to sort''</small>}} | <small>''Use the Up/Dn symbols to sort''</small>}} | ||
Latest revision as of 22:35, 24 September 2026
| 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 start a 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
}}