跳转到内容

Template:Wikisourcecat/doc

维基百科,自由的百科全书
This template is part of Wikimedia sister projects.

The "Template:Wikisource cat" links to a "Category:" name in the Wikisource 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

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

Both parameters are optional, and are intended for cases where the Wikisource category name is different from the Wikipedia page name. The first parameter is the name of the corresponding category on the Wikisource, without the Category: prefix. If this first parameter is used, then the template will display the Wikisource 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,

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

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

Location

If using a large, graphical template produces odd layout problems, like the excessive white space shown on the right of this screenshot, then switch to a different sister template.

☒N Do not place this template in a section all by itself.

☒N Do not place this template in a section containing columns.

This template should normally be placed at the top of the ==External links== section at the end of an article, if the article has a section for external links. If no such section exists, then please place it at the top of the last section in the article.

On disambiguation pages, this template should be listed above other text, but below any cleanup templates, images, infoboxes or navboxes.

See Wikipedia:Wikimedia sister projects#Where_to_place_links for more information and alternatives.

See also