Difference between revisions of "Template:RelatedQuotations"

From Wikispooks
Jump to navigation Jump to search
(For SMWQ subobject)
 
(Include quote authors)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>'''This template ''should'' be used on ''any'' pages which might have related quotes.''' It has no parameters.
+
<noinclude>'''This template ''should'' be used on ''any'' pages which might have related quotations.''' It has no parameters.
  
If there are any related quotations (defined by [[Template:SMWQ]], it places a heading:<br/>
+
If there are any related quotations (as defined by [[Template:SMWQ]]) it places a heading:<br/>
 
==Related quotation(s)==
 
==Related quotation(s)==
 
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}}]] OR  [[Has recipient::{{FULLPAGENAME}}]] [[-WpNsRelatedPage.Has WS page::{{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=Title
+
|mainlabel=Page
|properties=Has text/Has publicationDate/Has author
+
|properties=Has text/Has author/Has publicationDate
|headers=&nbsp;/Date/Author
+
|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