Difference between revisions of "Template:RelatedDocuments"

From Wikispooks
Jump to navigation Jump to search
(whitespace)
(section headings)
Line 6: Line 6:
 
</noinclude><includeonly>{{SMWDocSection
 
</noinclude><includeonly>{{SMWDocSection
 
|expression= [[Is about::{{PAGENAME}}]] OR [[-WpNsRelatedPage.Has WS page::{{PAGENAME}}]]
 
|expression= [[Is about::{{PAGENAME}}]] OR [[-WpNsRelatedPage.Has WS page::{{PAGENAME}}]]
|captionSingular=A document about {{PAGENAME}}
+
|captionSingular=Related Document
|captionPlural=Documents about {{PAGENAME}}
+
|captionPlural=Related Documents
 
|mainlabel=Title
 
|mainlabel=Title
 
|properties=DocType/Has publication date/Has author/Description
 
|properties=DocType/Has publication date/Has author/Description
 
|headers=Type/Publication date/Author(s)/Description
 
|headers=Type/Publication date/Author(s)/Description
 
}}</includeonly>
 
}}</includeonly>

Revision as of 08:13, 2 January 2014

This template can 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