Difference between revisions of "Template:File"

From Wikispooks
Jump to navigation Jump to search
(testing...)
 
(Fix)
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::{{PAGENAME}}]]|format=count}}>0|This is a local copy.|}}</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.|}}</includeonly>

Revision as of 03:42, 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.