Difference between revisions of "Template:RelatedDocuments"
Jump to navigation
Jump to search
(Expand to include -WpNsRelatedPage.Has WS page) |
(Move to semantic templates) |
||
Line 4: | Line 4: | ||
==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: | + | [[Category:Semantic Templates]] |
</noinclude><includeonly>{{#ifexpr:{{#ask: [[Is about::{{PAGENAME}}]] OR [[-WpNsRelatedPage.Has WS page::{{PAGENAME}}]]|format=count}}>0| | </noinclude><includeonly>{{#ifexpr:{{#ask: [[Is about::{{PAGENAME}}]] OR [[-WpNsRelatedPage.Has WS page::{{PAGENAME}}]]|format=count}}>0| | ||
==Related document{{#ifexpr:{{#ask: [[Is about::{{PAGENAME}}]] OR [[-WpNsRelatedPage.Has WS page::{{PAGENAME}}]]|format=count}}>1|s|}}== | ==Related document{{#ifexpr:{{#ask: [[Is about::{{PAGENAME}}]] OR [[-WpNsRelatedPage.Has WS page::{{PAGENAME}}]]|format=count}}>1|s|}}== |
Revision as of 08:13, 21 December 2013
This template can be used on all 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