跳至內容

模板:Sports links/doc

維基百科,自由的百科全書

{{Sports links}}模板,使用條目對應的維基數據中的項目屬性,用以在條目中展示與體育相關的外部連結。模板基於挪威語維基百科Mal:Sportslenker,通過Lua語言Module:External linksModule:External links/conf/Sports模塊(基於挪威語維基百科的Modul:ExternalModul:External links/conf/Sport)。

使用方法

[編輯]

* {{Sports links}}

使用的維基數據屬性

[編輯]

用來生成外部連結的相關維基數據屬性在Module:External links/conf/Sports

列表

模板數據

[編輯]
以下是該模板的模板資料,適用於視覺化編輯器等工具。

Sports links模板資料

This template displays a external links to a sportsperson's profile on various websites.

模板參數

此模板以參數行內格式為優先。

參數描述類型狀態
Namename

The link text, which should be the name of the sportsperson. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(footballer)" or "(boxer)".

預設
{{PAGENAMEBASE}}
範例
John Terry
字串非必填
Maximum Linksmaxlink

Maximum number of links to display in the article. This parameter is optional, and should be used with caution as it is better to control the maximum centrally for consistency and to avoid [[WP:OLINK|overlink]].

預設
5
範例
15
數值非必填

追蹤分類

[編輯]