跳转到内容

模板: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
数字可选

追踪分类

[编辑]