Difference between revisions of "Template:RelatedQuotations"

From Wikispooks
Jump to navigation Jump to search
(Rename left column as "Page")
(Include quote authors)
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
Plus a table of related documents under this heading [[Category:Semantic Templates]]
 
Plus a table of related documents under this heading [[Category:Semantic Templates]]
 
</noinclude><includeonly>{{SMWDocSection
 
</noinclude><includeonly>{{SMWDocSection
|expression= [[Has objectClass::Quotation]][[Is about::{{FULLPAGENAME}}]]
+
|expression= [[Has objectClass::Quotation]][[Is about::{{FULLPAGENAME}}]][[Has superobject::!{{FULLPAGENAME}}]]
 
|caption_singular=Related Quotation
 
|caption_singular=Related Quotation
 
|caption_plural=Related Quotations
 
|caption_plural=Related Quotations
 
|mainlabel=Page
 
|mainlabel=Page
|properties=Has text/Has publicationDate
+
|properties=Has text/Has author/Has publicationDate
|headers=Quote/Date
+
|headers=Quote/Author/Date
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 08:25, 13 October 2016

This template should be used on any pages which might have related quotations. It has no parameters.

If there are any related quotations (as defined by Template:SMWQ) it places a heading:

Related quotation(s)

Plus a table of related documents under this heading