Difference between revisions of "Template:RelatedDocuments"

From Wikispooks
Jump to navigation Jump to search
(reword section heading)
(fix)
Line 6: Line 6:
 
[[Category:Page Templates]]
 
[[Category:Page Templates]]
 
</noinclude><includeonly>{{#ifexpr:{{#ask: [[Is about::{{PAGENAME}}]]|format=count}}>0|
 
</noinclude><includeonly>{{#ifexpr:{{#ask: [[Is about::{{PAGENAME}}]]|format=count}}>0|
==Related document{{#ifexpr:{{#ask: [[Is about::{{PAGENAME}}]]|format=count}}>1||s}}==
+
==Related document{{#ifexpr:{{#ask: [[Is about::{{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}}]]|format=count}}>1|<small>''Use the Up/Dn symbols to sort''</small>|}}{{#ask: [[Is about::{{PAGENAME}}]]
 
|mainlabel=Document name
 
|mainlabel=Document name

Revision as of 06:24, 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