跳转到内容

Template:Soccerbase

被永久保护的模板
维基百科,自由的百科全书

足球数据库:{{{name}}}的球员统计数据

文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

Template:Soccerbase displays an external link to an association football (soccer) player's page at the Soccerbase英语Soccerbase website. It is intended for use in the external links section of an article.

Usage

Unnamed parameters:

Named parameters:

Using Wikidata property 本頁不存在此屬性: 2193:

Examples

Unnamed parameters

Usage

Output

Current URL

Former URL

  • https://www.soccerbase.com/players_details.sd?playerid=547 (archive)

Named parameters

Usage

Output

Current URL

Former URL

  • https://www.soccerbase.com/players_details.sd?playerid=31692 (archive)

No parameters and Wikidata property not defined

Usage

Output

  • {{Soccerbase}} template missing ID and not present in Wikidata.

Instructions

  1. Go to the Soccerbase website and search for a player.
  2. Click on the correct link to go to the player's page. Be sure is the correct right person.
  3. The page URL should look like https://www.soccerbase.com/players/player.sd?player_id=#####, where "#####" indicates a number.
  4. Copy ONLY that number
  5. Add that ID to the Wikidata item about the player, using P2193
  6. Add to the external links section the text:
    {{Soccerbase}}

Alternative method

  1. Add to the external links section the text:
    {{Soccerbase|id=#####|name=Name}}
    where "#####" is the number you've copied, and "Name" is the person's name
  2. Searching for "David Beckham", you'll reach this page: https://www.soccerbase.com/players/player.sd?player_id=547
  3. Copy "547" and then write: {{Soccerbase|id=547|name=David Beckham}}

Note that, since this will almost certainly go on the external link section, you should add a * before the template text to include it as a list item.

TemplateData

以下是该模板的模板数据,适用于可视化编辑器等工具。

Soccerbase模板数据

This template displays an external link to an association football (soccer) player's page at the Soccerbase website. It is intended for use in the external links section of an article.

模板参数[编辑模板数据]

参数描述类型状态
IDid 1

The ID portion of the URL. Example: 547 is the ID portion of https://www.soccerbase.com/players/player.sd?player_id=547. This parameter is optional if Wikidata property P2193 exists, but required if not.

默认值
Wikidata property P2193
数字可选
Namename 2

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

默认值
{{PAGENAMEBASE}}
字符串可选

Tracking categories

See also