Difference between revisions of "Template:RelatedDocuments"
Jump to navigation
Jump to search
(Display docType) |
(trim WPconnection) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>'''This template | + | <noinclude>'''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:<br/> | If there are any related documents, it places a heading:<br/> | ||
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::{{ | + | |expression= [[Has objectClass::Document]][[Is about::{{FULLPAGENAME}}]] OR [[Has objectClass::Document]][[Has recipient::{{FULLPAGENAME}}]] |
− | | | + | |caption_singular=Related Document |
− | | | + | |caption_plural=Related Documents |
|mainlabel=Title | |mainlabel=Title | ||
− | |properties=Display docType/Has | + | |properties=Display docType/Has publicationDate/Has author/Description |
− | |headers=Type/Publication date/Author(s)/Description | + | |headers=Type/Publication date/Author(s)/Description |
}}</includeonly> | }}</includeonly> |
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