Difference between revisions of "Template:RelatedDocuments"

From Wikispooks
Jump to navigation Jump to search
(Upgrade to use SMWDocSection)
(whitespace)
Line 7: Line 7:
 
</noinclude><includeonly>{{ask
 
</noinclude><includeonly>{{ask
 
|expression= [[Is about::{{PAGENAME}}]] OR [[-WpNsRelatedPage.Has WS page::{{PAGENAME}}]]
 
|expression= [[Is about::{{PAGENAME}}]] OR [[-WpNsRelatedPage.Has WS page::{{PAGENAME}}]]
|captionSingular= Related document
+
|captionSingular=Related document
|captionPlural= Related documents
+
|captionPlural=Related documents
|mainlabel = Title
+
|mainlabel=Title
 
|properties=DocType/Has publication date/Description
 
|properties=DocType/Has publication date/Description
 
|headers=Document type/Publication date/Description
 
|headers=Document type/Publication date/Description
 
}}
 
}}
 
</includeonly>
 
</includeonly>

Revision as of 18:31, 1 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