模板:Sister-inline
此模板目前缺乏相關中文使用說明。請知曉此模板目的及使用方法的編輯者協助編寫說明文件或者翻譯其他語言版本。 本模板可能使用了參數,若無完整的使用說明將不便於他人了解、引用、維護與修改。 |
package.lua第80行Lua錯誤:module 'Module:Transclusion_count/data/S' not found
This is a meta-template used for creating interwiki links to other sister projects of Wikipedia. Note that links to other language Wikipedias should not use links in this form, instead use Wikidata to add them to the sidebar.
This is a companion template to {{sister project}} to be used where a floating side box causes layout problems on short articles.
Usage
編輯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.
|project=
The sister project to link to. Used to select the displayed logo and the text.|links=
A single interwiki link to the article at the sister project. Displays with text such as "Media related to{{{links}}}
at Wikimedia Commons"|list=
Alternatively, a list of multiple links to articles at sister projects. Displays with text such as "Related media at Wikimedia Commons:{{{list}}}
"
Example:
{{sister-inline |project=commons |links=[[commons:Dog|Dogs]] }}
Adding |short=yes
will omit the following explanatory text; this can be useful for adding short links to navigational boxes, for instance. This permits the link's text to differ from the link's address in namespace.
Example:
{{sister-inline |project=v |links=[[v:Category:Wikiversity quizzes placed on Wikipedia|Quizzes on Wikipedia articles can be found at Wikiversity]] |short=yes }}
Quizzes on Wikipedia articles can be found at Wikiversity
TemplateData
編輯This is a meta-template used for creating interwiki links to other sister projects of Wikipedia. Note that links to other ''language'' Wikipedias should ''not'' use links in this form, instead use Wikidata to add them to the sidebar. This is a companion template to {{tl|sister project}} to be used where a floating side box causes layout problems on short articles.
參數 | 描述 | 類型 | 狀態 | |
---|---|---|---|---|
Project name | project | The sister project to link to. This parameter is used to customize text and logo and has otherwise no other impact. Acceptable values are: commons, commonscat, meta, (metawiki, m), wikibooks, (wbk, wb, b), wikidata, (data), cookbook, wikiquote, (quote, wqt, q), wikipedia, (wp, w), wikisource, (wikisource2, source, source2, ws, ws2, s, s2), wiktionary, (wkt, wdy, d), wikinews, (news, wnw, n), wikispecies, (species), wikiversity, (wvy, v), wikivoyage, (voyage, voy), mediawiki, (mw), outreachwiki, (outreach), incubator | 字串 | 非必填 |
List of links | list | Code that renders a list of links. You need command of Wikimarkup. Overrides "Link(s)" parameter. | 不對稱的 WikiText | 非必填 |
Link(s) | links | Code that renders one or more sister project link. You need command of Wikimarkup. Multiple links can be separated with comma plus space. This parameter is ignored if "List of links" parameter is included. | 不對稱的 WikiText | 非必填 |
Short? | short | Setting this parameter to "yes" omits rendering text labels and causes the content of "List of links" parameter to be inserted.
| 布林值 | 建議 |
Extra text | extratext | Trailing text appended to the end of everything rendered. | 字串 | 非必填 |
See also
編輯{{sister project}}
上述文檔嵌入自Template:Sister-inline/doc。 (編輯 | 歷史) 編者可以在本模板的沙盒 (創建 | 鏡像)和測試樣例 (創建)頁面進行實驗。 請在/doc子頁面中添加分類。 本模板的子頁面。 |