Difference between revisions of "Template:AuthorQuotations"

From Wikispooks
Jump to navigation Jump to search
(fix)
m (Robin moved page Template:AuthorQuotes to Template:AuthorQuotations without leaving a redirect)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>'''This template places a list of documents authored by <nowiki>{{PAGENAME}}</nowiki> that are hosted on Wikispooks.''' It has no parameters.
+
<noinclude>'''This template places a list of documents authored by <nowiki>{{PAGENAME}}</nowiki> that are hosted on this site.''' It has no parameters.
  
 
If the page name has authored any documents, it makes a section:
 
If the page name has authored any documents, it makes a section:
==''<nowiki>{{PAGENAME}}</nowiki>'' on Wikispooks==
+
==''Quote(s) by <nowiki>{{PAGENAME}}</nowiki>''==
 
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= [[Constitutes::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/Date/Sourced from
+
|properties=Has text/Has publicationDate/Has sourceName
|headers=Quote/Publication 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