Difference between revisions of "Template:Commons file source/doc"

From WikiChem
Jump to: navigation, search
(See also)
 
Line 15: Line 15:
  
 
[[Category:Attribution templates|{{PAGENAME}}]]
 
[[Category:Attribution templates|{{PAGENAME}}]]
 +
 +
{{CC-BY-3.0}}
 
</includeonly>
 
</includeonly>

Latest revision as of 16:56, 13 August 2009

Usage

Commons file source is used in the source parameter of {{fileinfo}} when the file has been imported from Wikimedia Commons.

Parameters

Required

  • name = the original name of the file on Wikimedia Commons (with the "File:" prefix)

Optional

  • id = the server code of the version which was uploaded e.g.:
http://upload.wikimedia.org/wikipedia/commons/4/4c/Template-info.svg gives id = 4/4c/
http://upload.wikimedia.org/wikipedia/commons/archive/4/4c/20070309024454%21Template-info.svg gives id = 4/4c/20070309024454%21

See also