Difference between revisions of "Template:RelatedDocuments"
Jump to navigation
Jump to search
(testing) |
(Special case for only one document) |
||
Line 1: | Line 1: | ||
− | <noinclude> | + | <noinclude>'''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: | |
==Wikispooks documents related to this page== | ==Wikispooks documents related to this page== | ||
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> | + | </noinclude><includeonly>{{#ifexpr:{{#ask: [[Is about::{{PAGENAME}}]]|format=count}}>0| |
− | {{#ifexpr:{{#ask: [[Is about::{{PAGENAME}}]]|format=count}}>0| | + | ==Wikispooks document{{#ifexpr:{{#ask: [[Is about::{{PAGENAME}}]]|format=count}}>1||s}} related to {{PAGENAME}}== |
− | ==Wikispooks | + | {{#ifexpr:{{#ask: [[Is about::{{PAGENAME}}]]|format=count}}>1|<small>''Use the Up/Dn symbols to sort''</small>|}}{{#ask: [[Is about::{{PAGENAME}}]] |
− | <small>''Use the Up/Dn symbols to sort''</small> | ||
− | {{#ask: [[Is about::{{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 16:04, 20 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:
Plus a table of related documents under this heading