Template:Commonscat: Difference between revisions
Jump to navigation
Jump to search
(- <br clear="all">) |
(→Användning: översätter) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
'''<FONT COLOR=#146598>Wikimedia </FONT><FONT COLOR=#98030d>Commons</FONT>''' contains media related to [{{ | '''<FONT COLOR=#146598>Wikimedia </FONT><FONT COLOR=#98030d>Commons</FONT>''' contains a media category related to [http://commons.wikimedia.org/wiki/Category:{{UCFIRST:{{{1|{{PAGENAME}}}}}}} {{{2|{{{1|{{PAGENAME}}}}}}}}]<noinclude> | ||
<noinclude> | |||
==Användning== | ==Användning== | ||
Line 6: | Line 5: | ||
{{Commonscat|Commonskategori|Text}} | {{Commonscat|Commonskategori|Text}} | ||
</pre> | </pre> | ||
==How to use== | |||
{{mall|Commonscat|Commonscategory name|Text}} | |||
This template creates a link to a '''Category''' at Wikimedia Commons. | |||
''Text'' | ''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|commons}} (links to a commons '''page''') | |||
*{{mall|commonsfile}} (links to a single commons '''file''') | |||
'''Don't forget that links are case sensitive!!!''') | |||
[[Category:External link templates]] | [[Category:External link templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 17:44, 21 May 2009
Wikimedia Commons contains a media category related to Commonscat
Användning
{{Commonscat|Commonskategori|Text}}
How to use
{{Commonscat|Commonscategory name|Text}} This template creates a link to a Category 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:
- {{commons}} (links to a commons page)
- {{commonsfile}} (links to a single commons file)
Don't forget that links are case sensitive!!!)