Template:Commons file source/doc

From WikiChem
< Template:Commons file source
Revision as of 16:56, 13 August 2009 by Physchim62 (talk | contribs) (See also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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