Difference between revisions of "Template:RelatedQuotations"

From Wikispooks
Jump to navigation Jump to search
(Rename left column as "Page")
([[Has superobject::!{{FULLPAGENAME}}]] to exclude quotes already shown on this page)
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

Revision as of 08:22, 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