Difference between revisions of "Template:Commons cat/doc"

From Dodge Wiki
Jump to navigation Jump to search
m (1 revision)
 
(No difference)

Latest revision as of 22:48, 3 February 2009

This template is part of Wikimedia sister projects.

The "Template:Commons cat" links to a "Category:" name in the Wikimedia Commons repository (edited using a Wikimedia login name). If that category name is misspelled or missing, the link will still appear "blue" even though the link will fail. Check spelling of names carefully.

Usage

  • {{Commons cat|related Commons category (optional)|Wikipedia name (optional)}}

Both parameters are optional, and are intended for cases where the Commons category name is different from the Wikipedia page name. The first parameter is the name of the corresponding category on the Wikimedia Commons, without the Category: prefix. If this first parameter is used, then the template will display the Commons category name, which may be confusing to readers. This text can be replaced by the second parameter, where the Wikipedia page name would typically be used.

For example, on the Polar bear page,

{{Commons cat|Ursus maritimus|Polar bears}}

produces a link to Commons:Category:Ursus maritimus displayed as Polar bears.

See also