Difference between revisions of "Template:RelatedDocuments"

From Wikispooks
Jump to navigation Jump to search
(whitespace)
(fix)
Line 1: Line 1:
 
<noinclude>'''This template can be used on ''any'' pages which might have related documents.''' It has no parameters.
 
<noinclude>'''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:
+
If there are any related documents, it places a heading:<br/>
 
==Related document(s)==
 
==Related document(s)==
Plus a table of related documents under this heading
+
Plus a table of related documents under this heading [[Category:Semantic Templates]]
[[Category:Semantic Templates]]
+
</noinclude><includeonly>{{SMWDocSection
</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=A document about {{PAGENAME}}
|captionPlural=Related documents
+
|captionPlural=Documents about {{PAGENAME}}
 
|mainlabel=Title
 
|mainlabel=Title
 
|properties=DocType/Has publication date/Description
 
|properties=DocType/Has publication date/Description

Revision as of 08:05, 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