Difference between revisions of "Template:RelatedDocuments"

From Wikispooks
Jump to navigation Jump to search
(fix)
(reword section heading)
Line 2: Line 2:
  
 
If there are any related documents, it places a heading:
 
If there are any related documents, it places a heading:
==Wikispooks documents related to this page==
+
==Related document(s)==
 
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}}]]|format=count}}>0|
==Wikispooks document{{#ifexpr:{{#ask: [[Is about::{{PAGENAME}}]]|format=count}}>1|s|}} related to {{PAGENAME}}==
+
==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 05:39, 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