Jump to content

Template:JudoInside/doc

From Wikipedia, the free encyclopedia

Template:JudoInside displays an external link to a judoka's profile at the JudoInside.com website. It is intended for use in the external links section of an article.

Usage

[edit]
Unnamed parameters
{{JudoInside | ID }}
{{JudoInside | ID | NAME }}
Named parameters
{{JudoInside | id= ID }}
{{JudoInside | id= ID | name= NAME }}
Using Wikidata property
{{JudoInside}}
{{JudoInside | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]
Usage
* {{JudoInside | 1003 | Kōsei Inoue }}
* {{JudoInside | 1003/Kosei_Inoue | Kōsei Inoue }}
* {{JudoInside | 1003/Kosei_Inoue/judo-career | Kōsei Inoue }}
Output
URLs (first two redirect to the last one)
https://www.judoinside.com/judoka/1003
https://www.judoinside.com/judoka/1003/Kosei_Inoue
https://www.judoinside.com/judoka/1003/Kosei_Inoue/judo-career

Named parameters

[edit]
Usage
* {{JudoInside | id= 2970 |name= Ryōko Tani }}
* {{JudoInside | id= 2970/Ryoko_Tani |name= Ryōko Tani }}
* {{JudoInside | id= 2970/Ryoko_Tani/judo-career |name= Ryōko Tani }}
Output
URLs (first two redirect to the last one)
https://www.judoinside.com/judoka/2970
https://www.judoinside.com/judoka/2970/Ryoko_Tani
https://www.judoinside.com/judoka/2970/Ryoko_Tani/judo-career

No parameters and Wikidata property not defined

[edit]
Usage
* {{JudoInside}}
Output
  • {{JudoInside}} template missing ID and not present in Wikidata.

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:JudoInside in articles based on its TemplateData.

TemplateData for JudoInside

This template displays an external link to a judoka's profile at the JudoInside.com website. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID portion of the URL, such as 1003 or 1003/Kosei_Inoue or 1003/Kosei_Inoue/judo-career in https://www.judoinside.com/judoka/1003 or https://www.judoinside.com/judoka/1003/Kosei_Inoue/judo-career. This parameter is optional if Wikidata property P2767 exists, but required if not.

Default
Wikidata property P2767
Stringoptional
Namename 2

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

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

[edit]
template with ID
ID is converted to numeric value before comparison with Wikidata
1003/Kosei_Inoue/judo-career → 1003
1003/Kosei_Inoue → 1003
1003 → 1003
template missing ID

See also

[edit]
[edit]