テンプレート:J.League player/doc

提供:日本TW架空国家WIKI

<templatestyles></templatestyles>

<templatestyles></templatestyles>

テンプレート:J.League playerはJリーグ(日本プロサッカーリーグ)データサイト: data.j-league.or.jp内の選手詳細ページへの外部リンクを表示します。このテンプレートは外部リンク節での使用を想定しています。

このテンプレートはウィキデータのプロパティP3565を利用しているため、ウィキデータにIDが登録されている選手の記事での使用においては{{J.League player}}をそのまま貼り付けるだけで外部リンクが設定されます。記事名とJリーグでの登録名が異なる場合には「name」引数の使用を推奨します。

使用方法

引数名を省略する場合:

{{J.League player | ID }} 
{{J.League player | ID | NAME }}

引数名を省略しない場合:

{{J.League player | id= ID }} 
{{J.League player | id= ID | name= NAME }}

WikidataのプロパティP3565を使用する場合:

{{J.League player}}
{{J.League player | name= NAME }}

使用例

引数名を省略する場合

URL:

https://data.j-league.or.jp/SFIX04/?player_id=テンプレート:Hilite

入力:

{{J.League player | 19690 | 久保建英 }}

出力

久保建英 - J. League Data Siteによる選手データ テンプレート:Ja iconテンプレート:EditAtWikidataテンプレート:WikidataCheck

引数名を省略しない場合

URL:

https://data.j-league.or.jp/SFIX04/?player_id=テンプレート:Hilite

入力:

{{J.League player | id= 1 | name= 古川昌明 }}

出力:

古川昌明 - J. League Data Siteによる選手データ テンプレート:Ja iconテンプレート:EditAtWikidataテンプレート:WikidataCheck

No parameters and Wikidata property not defined

入力:

{{J.League player}}

出力:

J.League player/doc - J. League Data Siteによる選手データ テンプレート:Ja iconテンプレート:EditAtWikidataテンプレート:WikidataCheck

TemplateData

これは新しいビジュアルエディターにより使用されるテンプレートのためのTemplateData文書です。

J.League player

This template displays an external link to an association football (soccer) player's profile at the J.League (Japan Professional Football League) data site: data.j-league.or.jp. It is intended for use in the external links section of an article.

テンプレートパラメーター

パラメーター説明状態
idid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 19690 is the ID portion of https://data.j-league.or.jp/SFIX04/?player_id=19690. This parameter is optional if Wikidata property P3565 exists, but required if not.

既定
Wikidata property P3565
数値省略可能
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the name of the player. This parameter is optional; it defaults to the 日本TW架空国家WIKI article name, without any disambiguation such as "(footballer)" or "(soccer)".

既定
{{PAGENAMEBASE}}
文字列省略可能

追跡カテゴリ

"id" parameter exists
"id" parameter does not exist