编辑“︁
Template:Soccerbase/doc
”︁
跳转到导航
跳转到搜索
页面[[:Module:Message box/mbox.css|Module:Message box/mbox.css]]没有内容。
这是
Soccerbase
模板的
文档页面
。
警告:
您没有登录。如果您进行任何编辑,您的IP地址会公开展示。如果您
登录
或
创建账号
,您的编辑会以您的用户名署名,此外还有其他益处。
反垃圾检查。
不要
加入这个!
{{Documentation subpage}} {{High-use}} <!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --> {{Template redirect|Soccerbase player}} {{Uses Wikidata|P2193}} {{Tracks Wikidata|P2193}} {{Lua|Module:EditAtWikidata|Module:WikidataCheck}} '''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to an [[足球|association football]] (soccer) player's page at the {{tsl|en|Soccerbase||Soccerbase}} website. It is intended for use in the [[Wikipedia:外部链接|external links]] section of an article. == Usage == Unnamed parameters: * {{tlx|{{BASEPAGENAME}} | <var>ID</var> }} * {{tlx|{{BASEPAGENAME}} | <var>ID</var> | <var>NAME</var> }} Named parameters: * {{tlx|{{BASEPAGENAME}} | id{{=}} <var>ID</var> }} * {{tlx|{{BASEPAGENAME}} | id{{=}} <var>ID</var> | name{{=}} <var>NAME</var> }} Using [[维基数据|Wikidata]] property {{Property|2193}}: * {{tlx|{{BASEPAGENAME}}}} * {{tlx|{{BASEPAGENAME}} | name{{=}} <var>NAME</var> }} == Examples == === Unnamed parameters === Usage * {{tlx|a=1|{{BASEPAGENAME}} | 547 | David Beckham }} Output * {{{{BASEPAGENAME}} | 547 | David Beckham }} Current URL * <kbd>[https://www.soccerbase.com/players/player.sd?player_id=547 https://www.soccerbase.com/players/player.sd?player_id={{Highlight|547}}]</kbd> Former URL * <kbd>https://<nowiki/>www.soccerbase.com/players_details.sd?playerid={{Highlight|547}}</kbd> ([https://web.archive.org/web/20040910151948/http://www.soccerbase.com/players_details.sd?playerid=547 archive]) === Named parameters === Usage * {{tlx|a=1|{{BASEPAGENAME}} | id{{=}} 31692 | name{{=}} Andrei Arshavin }} Output * {{{{BASEPAGENAME}} | id= 31692 | name= Andrei Arshavin }} Current URL * <kbd>[https://www.soccerbase.com/players/player.sd?player_id=31692 https://www.soccerbase.com/players/player.sd?player_id={{Highlight|31692}}]</kbd> Former URL * <kbd>https://<nowiki/>www.soccerbase.com/players_details.sd?playerid={{Highlight|31692}}</kbd> ([https://web.archive.org/web/20040925112854/https://www.soccerbase.com/players_details.sd?playerid=31692 archive]) === No parameters and Wikidata property not defined === Usage * {{tlx|a=1|{{BASEPAGENAME}}}} Output * {{ {{BASEPAGENAME}} }} == Instructions == # Go to the [https://www.soccerbase.com/ Soccerbase] website and search for a player. # Click on the correct link to go to the player's page. Be sure is the correct right person. # The page [[统一资源定位符|URL]] should look like <nowiki>https://www.soccerbase.com/players/player.sd?player_id=#####</nowiki>, where "#####" indicates a number. # Copy ONLY that number # Add that ID to the Wikidata item about the player, using P2193 # Add to the external links section the text: #: <nowiki>{{Soccerbase}}</nowiki> === Alternative method === # Add to the external links section the text: #: <nowiki>{{Soccerbase|id=#####|name=Name}}</nowiki> #: where "#####" is the number you've copied, and "Name" is the person's name # Searching for "David Beckham", you'll reach this page: https://www.soccerbase.com/players/player.sd?player_id=547 # Copy "547" and then write: <nowiki>{{Soccerbase|id=547|name=David Beckham}}</nowiki> 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 == {{TemplateData header}} <templatedata> { "description": "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.", "params": { "id": { "label": "ID", "aliases": ["1"], "description": "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.", "type": "number", "required": false, "default": "Wikidata property P2193" }, "name": { "label": "Name", "aliases": ["2"], "description": "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)\".", "type": "string", "required": false, "default": "{{PAGENAMEBASE}}" } }, "paramOrder": [ "id", "name" ] } </templatedata> == Tracking categories == * {{clc|Soccerbase player ID different from Wikidata}} * {{clc|Soccerbase player ID not in Wikidata}} * {{clc|Soccerbase template using non-numeric ID}} * {{clc|Soccerbase template missing ID and not in Wikidata}} == See also == * [[Template:Soccerbase manager]] – Wikidata property {{Property|2195|id=first}} * {{tsl|en|Template:Soccerbase referee||Template:Soccerbase referee}} – Wikidata property {{Property|7465|id=first}} * [[Template:Soccerbase season]] == External links == * [https://www.soccerbase.com/players/home.sd Players page at Soccerbase.com] <includeonly>{{Sandbox other|| <!-- Categories below this line, please; interwikis at Wikidata --> [[Category:足球外部資源模板]] [[Category:人物外部资源模板]] [[Category:使用维基数据的外部链接模板]] [[Category:添加追踪分类的模板]] }}</includeonly>
摘要:
请注意,所有对Local Chinese Wikipedia的贡献均可能会被其他贡献者编辑、修改或删除。如果您不希望您的文字作品被随意编辑,请不要在此提交。
您同时也向我们承诺,您提交的内容为您自己所创作,或是复制自公共领域或类似自由来源(详情请见
Project:著作权
)。
未经许可,请勿提交受著作权保护的作品!
取消
编辑帮助
(在新窗口中打开)
导航菜单
个人工具
未登录
讨论
贡献
创建账号
登录
命名空间
模板
讨论
大陆简体
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
臺灣正體
查看
阅读
编辑
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
工具
链入页面
相关更改
特殊页面
页面信息