Difference between revisions of "Template:SourcedDocuments"

From Wikispooks
Jump to navigation Jump to search
(Revise for #matches)
(fix)
Line 9: Line 9:
 
==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}}==
 
{{#ifexpr:{{#ask: [[Is about::{{PAGENAME}}]]|format=count}}>1|<small>''Use the Up/Dn symbols to sort''</small>|}}{{#ask: [[Sourced from::{{PAGENAME}}]]
 
{{#ifexpr:{{#ask: [[Is about::{{PAGENAME}}]]|format=count}}>1|<small>''Use the Up/Dn symbols to sort''</small>|}}{{#ask: [[Sourced from::{{PAGENAME}}]]
{{#ask: [[Sourced from::{{PAGENAME}}]]
 
 
|mainlabel=Document name
 
|mainlabel=Document name
 
|?Has author=Author(s)
 
|?Has author=Author(s)

Revision as of 05:41, 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