Difference between revisions of "Template:File"

From Wikispooks
Jump to navigation Jump to search
(test)
(test)
Line 1: Line 1:
 
<noinclude>'''This template should only be used on pages in the {{NS|File}}.''' It has no parameters.
 
<noinclude>'''This template should only be used on pages in the {{NS|File}}.''' It has no parameters.
  
If the file is a local copy of a document in the {{NS|Document}}, it shows the matching metadata from the document.</noinclude><includeonly>{{#ifexpr:{{#ask: [[Has local copy::{{FULLPAGENAME}}]]|format=count}}>0|This is a local copy of {{#ask: [[Is about::{{PAGENAME}}]]|format=csv }} .|}}</includeonly>
+
If the file is a local copy of a document in the {{NS|Document}}, it shows the matching metadata from the document.</noinclude><includeonly>{{#ifexpr:{{#ask: [[Has local copy::{{FULLPAGENAME}}]]|format=count}}>0|This is a local copy of {{#ask: [[Is about::{{FULLPAGENAME}}]]|format=csv|limit=1 }} .|}}</includeonly>

Revision as of 04:00, 21 December 2013

This template should only be used on pages in the File: namespace. It has no parameters.

If the file is a local copy of a document in the Document: namespace, it shows the matching metadata from the document.