Difference between revisions of "Template:RelatedDocuments"

From Wikispooks
Jump to navigation Jump to search
(Has recipient connection)
(trim WPconnection)
 
(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= [[Is about::{{FULLPAGENAME}}]] OR [[Has recipient::{{FULLPAGENAME}}]] [[-WpNsRelatedPage.Has WS page::{{FULLPAGENAME}}]]
+
|expression= [[Has objectClass::Document]][[Is about::{{FULLPAGENAME}}]] OR [[Has objectClass::Document]][[Has recipient::{{FULLPAGENAME}}]]  
 
|caption_singular=Related Document
 
|caption_singular=Related Document
 
|caption_plural=Related Documents
 
|caption_plural=Related Documents

Latest revision as of 23:16, 1 October 2016

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

If there are any related documents, it places a heading:

Related document(s)

Plus a table of related documents under this heading