Template:Commonsfile: Difference between revisions

From Cybis Wiki
Jump to navigation Jump to search
(testar att laga)
(Undo revision 920 by Taxelson (Talk))
 
Line 1: Line 1:
'''<FONT COLOR=#98030d>Wikimedia Commons file:</FONT>''' [http://commons.wikimedia.org/wiki/File:{{{1|{{PAGENAME}}}}} {{{2|{{{1|{{PAGENAME}}}}}}}}]<noinclude>
'''<FONT COLOR=#98030d>Wikimedia Commons file:</FONT>''' [http://commons.wikimedia.org/wiki/File:{{UCFIRST:{{{1|{{PAGENAME}}}}}}} {{{2|{{{1|{{PAGENAME}}}}}}}}]<noinclude>


==Using==
==Using==

Latest revision as of 10:26, 31 May 2009

Wikimedia Commons file: Commonsfile

Using

{{Commonsfile|Filename|Text}}

This template creates a link to a File at Wikimedia Commons.

Text is optional, and if left empty, a link based on the actual page name will be created (which is normally not useful!).

Note: Unfortunately " " in the page name does not work, and need to be replaced by "_". If you want to link a file named "Pinus sylvestris.JPG" you have to write "Pinus_sylvestris.JPG". (If you know how to solve this problem, please do it!)

Related templates:

Don't forget that links are case sensitive!!!)