Difference between revisions of "Template:RelatedDocuments"

From Wikispooks
Jump to navigation Jump to search
(slightly more robust code)
m (Text replacement - "captionSingular" to "caption_singular")
Line 6: Line 6:
 
</noinclude><includeonly>{{SMWDocSection
 
</noinclude><includeonly>{{SMWDocSection
 
|expression= [[Is about::{{FULLPAGENAME}}]] OR [[-WpNsRelatedPage.Has WS page::{{FULLPAGENAME}}]]
 
|expression= [[Is about::{{FULLPAGENAME}}]] OR [[-WpNsRelatedPage.Has WS page::{{FULLPAGENAME}}]]
|captionSingular=Related Document
+
|caption_singular=Related Document
 
|captionPlural=Related Documents
 
|captionPlural=Related Documents
 
|mainlabel=Title
 
|mainlabel=Title

Revision as of 13:23, 15 January 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