Difference between revisions of "Template:RelatedDocuments"

From Wikispooks
Jump to navigation Jump to search
(testing)
(testing)
Line 7: Line 7:
 
[[Category:Page Templates]]
 
[[Category:Page Templates]]
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{{#ask: [[Is about::{{PAGENAME}}]]
+
{{#ifexpr:{{#ask: [[Is about::{{PAGENAME}}]]|format=count}}>0|
|format=count
 
}}
 
 
==Wikispooks documents related to {{PAGENAME}}==
 
==Wikispooks documents related to {{PAGENAME}}==
 
<small>''Use the Up/Dn symbols to sort''</small>
 
<small>''Use the Up/Dn symbols to sort''</small>
Line 16: Line 14:
 
|?Has author=Author(s)
 
|?Has author=Author(s)
 
|?Has publication date=Publication date
 
|?Has publication date=Publication date
}}
+
}}|}}
 
</includeonly>
 
</includeonly>

Revision as of 16:00, 20 December 2013

Template for use on regular pages that are referenced by the metadata of pages in the Document and/or File namespaces. It has no parameters.

The template places a heading:

Wikispooks documents related to this page

Plus a table of related documents under this heading