Difference between revisions of "Template:RelatedDocuments"
Jump to navigation
Jump to search
(fix) |
(Expand to include -WpNsRelatedPage.Has WS page) |
||
Line 5: | Line 5: | ||
Plus a table of related documents under this heading | Plus a table of related documents under this heading | ||
[[Category:Page Templates]] | [[Category:Page Templates]] | ||
− | </noinclude><includeonly>{{#ifexpr:{{#ask: [[Is about::{{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}}]]|format=count}}>1|s|}}== | + | ==Related document{{#ifexpr:{{#ask: [[Is about::{{PAGENAME}}]] OR [[-WpNsRelatedPage.Has WS page::{{PAGENAME}}]]|format=count}}>1|s|}}== |
− | {{#ifexpr:{{#ask: [[Is about::{{PAGENAME}}]]|format=count}}>1|<small>''Use the Up/Dn symbols to sort''</small>|}}{{#ask: [[Is about::{{PAGENAME}}]] | + | {{#ifexpr:{{#ask: [[Is about::{{PAGENAME}}]] OR [[-WpNsRelatedPage.Has WS page::{{PAGENAME}}]]|format=count}}>1|<small>''Use the Up/Dn symbols to sort''</small>|}}{{#ask: [[Is about::{{PAGENAME}}]] OR [[-WpNsRelatedPage.Has WS page::{{PAGENAME}}]] |
|mainlabel=Document name | |mainlabel=Document name | ||
|?Has author=Author(s) | |?Has author=Author(s) | ||
|?Has publication date=Publication date | |?Has publication date=Publication date | ||
}}|}}</includeonly> | }}|}}</includeonly> |
Revision as of 07:58, 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