Difference between revisions of "Template:SourcedDocuments"

From Wikispooks
Jump to navigation Jump to search
(fix for 1 document)
(Move to semantic templates)
Line 5: Line 5:
 
==Documents sourced from this page==
 
==Documents sourced from this page==
 
Plus a table of related documents under this heading
 
Plus a table of related documents under this heading
[[Category:Page Templates]]
+
[[Category:Semantic Templates]]
 
</noinclude><includeonly>{{#ifexpr:{{#ask: [[Sourced from::{{PAGENAME}}]]|format=count}}>0|
 
</noinclude><includeonly>{{#ifexpr:{{#ask: [[Sourced from::{{PAGENAME}}]]|format=count}}>0|
 
==Document{{#ifexpr:{{#ask: [[Sourced from::{{PAGENAME}}]]|format=count}}>1|s|}} sourced from {{PAGENAME}}==
 
==Document{{#ifexpr:{{#ask: [[Sourced from::{{PAGENAME}}]]|format=count}}>1|s|}} sourced from {{PAGENAME}}==

Revision as of 08:13, 21 December 2013

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

If there are any related documents, it places a heading:

Documents sourced from this page

Plus a table of related documents under this heading