模板:Wikisourcecat
| 此模板的文檔不存在、不全面或不能詳細描述其功能及/或其代碼中的參數。請幫助擴充並改進其文檔。 |
- 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.
位置
[編輯]
一般情況下:
請勿單獨開設一個章節來放置此模板或其他框型模板。
請勿將此模板放在包含分欄且未左浮動的章節中。
請勿使用冒號(:)或項目符號(*)對此模板進行縮進。
具體而言:
- 條目頁面:將模板放在最後一個章節的頂部(通常是「外部連結」或「參考資料」章節),以便其在該章節右側浮動。
- 消歧義頁面:此模板通常放置在頁面頂部。
- 分類頁面:此模板應與其他模板一起放在分類介紹的開頭。這樣文本可以圍繞模板框浮動,避免不必要的空白區域。
See also
[編輯]- {{Wikisource}}