Template:Commons: Difference between revisions

From Cybis Wiki
Jump to navigation Jump to search
(+ {{Translate}})
No edit summary
 
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}}}}}}}}]<noinclude>
'''<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>


<br />
==Use==
{{Translate}}
{{mall|Commons|Commons page name|Text}}
==Användning==
This template creates a link to a page (for instance a gallery) at Wikimedia Commons.  
<pre>
{{Commons|Commons sida|Text}}
</pre>
Denna mall skapar en länk till en sida, på Wikimedia Commons. För att skapa en länk till en sida, se {{mall|commonscat}}


''Text'' är frivillig, utan den används artikelnamnet som text. Även ''Commons sida'' är frivillig, och artikelnamnet används annars som Commons sida.  
''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!)