Difference between revisions of "Template:AuthorDocuments"

From Wikispooks
Jump to navigation Jump to search
m (Text replacement - "captionPlural" to "caption_plural")
(documents only)
Line 5: Line 5:
 
Plus a table of authored document(s) underneath
 
Plus a table of authored document(s) underneath
 
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
 
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
|expression= [[Has author::{{PAGENAME}}]]
+
|expression= [[Has objectClass::Document]][[Has author::{{PAGENAME}}]]
 
|caption_singular= {{PAGENAME}} on Wikispooks
 
|caption_singular= {{PAGENAME}} on Wikispooks
 
|caption_plural= {{PAGENAME}} on Wikispooks
 
|caption_plural= {{PAGENAME}} on Wikispooks

Revision as of 13:10, 11 September 2016

This template places a list of documents authored by {{PAGENAME}} that are hosted on Wikispooks. It has no parameters.

If the page name has authored any documents, it makes a section:

{{PAGENAME}} on Wikispooks

Plus a table of authored document(s) underneath