Difference between revisions of "Template:AuthorQuotations"

From Wikispooks
Jump to navigation Jump to search
m (Robin moved page Template:AuthorQuotes to Template:AuthorQuotations without leaving a redirect)
 
(2 intermediate revisions by the same user not shown)
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 objectClass::Quotation]][[Has author::{{PAGENAME}}]]
+
|expression= [[Has objectClass::Quotation]][[Has author::{{PAGENAME}}]][[Has superobject::!{{PAGENAME}}]]
 
|caption_singular= A Quote by {{PAGENAME}}
 
|caption_singular= A Quote by {{PAGENAME}}
 
|caption_plural= Quotes by {{PAGENAME}}
 
|caption_plural= Quotes by {{PAGENAME}}
|mainlabel = Title
+
|mainlabel = Page
 
|properties=Has text/Has publicationDate/Has sourceName
 
|properties=Has text/Has publicationDate/Has sourceName
 
|headers=Quote/Date/Source
 
|headers=Quote/Date/Source
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 13:34, 13 September 2016

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

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

Quote(s) by {{PAGENAME}}

Plus a table of authored document(s) underneath