Template:Commons: Difference between revisions

From Cybis Wiki
Jump to navigation Jump to search
(Created page with ''''<FONT COLOR=#98030d>Wikimedia </FONT><FONT COLOR=#146598>Commons</FONT>''' contains media related to [http://commons.wikimedia.org/wiki/{{UCFIRST:{{{1|{{PAGENAME}}}}}}} {{{2|{...')
 
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''<FONT COLOR=#98030d>Wikimedia </FONT><FONT COLOR=#146598>Commons</FONT>''' contains media related to [http://commons.wikimedia.org/wiki/{{UCFIRST:{{{1|{{PAGENAME}}}}}}} {{{2|{{{1|{{PAGENAME}}}}}}}}]  
'''<FONT COLOR=#98030d>Wikimedia </FONT><FONT COLOR=#146598>Commons</FONT>''' contains media related to [http://commons.wikimedia.org/wiki/{{UCFIRST:{{{1|{{PAGENAME}}}}}}} {{{2|{{{1|{{PAGENAME}}}}}}}}]<noinclude>
<noinclude>


==Användning==
==Use==
<pre>
{{mall|Commons|Commons page name|Text}}
{{Commonscat|Commonskategori|Text}}
This template creates a link to a page (for instance a gallery) at Wikimedia Commons.  
</pre>
Denna mall skapar en länk till en kategori på Wikimedia Commons.  


''Text'' är frivillig, utan den används artikelnamnet som text. Även ''Commonskategori'' är frivillig, och artikelnamnet används annars som Commonskategori.
''Text'' is optional, and if left empty, a link based on the actual page name will be created.  
 
'''Note: '''Unfortunately " " in the page name does not work, and need to be replaced by "_". If you want to link the commons page "Pinus sylvestris" you have to write "Pinus_sylvestris" as Common page name even if you are on the page [[Pinus sylvestris]]. (If you know how to solve this problem, please do it!)
 
'''Related templates''':
*{{mall|commonscat}} (links to a commons '''category''')
*{{mall|commonsfile}} (links to a single commons file)
 
'''Don't forget that links are case sensitive!!!''' - .jpg is not the same as .JPG!) 


[[Category:External link templates]]
[[Category:External link templates]]
</noinclude>
</noinclude>

Latest revision as of 21:45, 20 May 2009

Wikimedia Commons contains media related to Commons

Use

{{Commons|Commons page name|Text}} This template creates a link to a page (for instance a gallery) at Wikimedia Commons.

Text is optional, and if left empty, a link based on the actual page name will be created.

Note: Unfortunately " " in the page name does not work, and need to be replaced by "_". If you want to link the commons page "Pinus sylvestris" you have to write "Pinus_sylvestris" as Common page name even if you are on the page Pinus sylvestris. (If you know how to solve this problem, please do it!)

Related templates:

Don't forget that links are case sensitive!!! - .jpg is not the same as .JPG!)