Difference between revisions of "Template:Commons file source"
Physchim62 (talk | contribs) |
Physchim62 (talk | contribs) |
||
Line 1: | Line 1: | ||
− | {{#if:{{{id|}}}|<span class="plainlinks">[http://upload.wikimedia.org/wikipedia/commons/{{{id}}}/{{anchorencode:{{{name}}}}} This version]</span> of the|The}} Wikimedia Commons file "<span class="plainlinks">[http://commons.wikimedia.org/wiki/File:{{anchorencode:{{{name}}}}} File:{{{name}}}]</span>"<includeonly>[[Category:Files imported from Wikimedia Commons|{{PAGENAME}}]]</includeonly><noinclude> | + | {{#if:{{{url|}}}{{{id|}}}|<span class="plainlinks">[{{{url|http://upload.wikimedia.org/wikipedia/commons/{{{id}}}/{{anchorencode:{{{name}}}}}}}} This version]</span> of the|The}} Wikimedia Commons file "<span class="plainlinks">[http://commons.wikimedia.org/wiki/File:{{anchorencode:{{{name}}}}} File:{{{name}}}]</span>"<includeonly>[[Category:Files imported from Wikimedia Commons|{{PAGENAME}}]]</includeonly><noinclude> |
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 20:03, 10 August 2009
The Wikimedia Commons file "File:{{{name}}}"
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
givesid = 4/4c/
http://upload.wikimedia.org/wikipedia/commons/archive/4/4c/20070309024454%21Template-info.svg
givesid = 4/4c/20070309024454%21
See also
Error creating thumbnail: Unable to save thumbnail to destination |
This template is currently licensed under the Creative Commons Attribution 3.0 Unported license and any later versions of that license. |