Template:JudoInside/sandbox
JudoInside/sandbox at JudoInside.com
This is the template sandbox page for Template:JudoInside (diff). |
This template uses Lua: |
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
-
- Kōsei Inoue at JudoInside.com
- Kōsei Inoue at JudoInside.com
- Kōsei Inoue at JudoInside.com
- 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
-
- Ryōko Tani at JudoInside.com
- Ryōko Tani at JudoInside.com
- Ryōko Tani at JudoInside.com
- 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]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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 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.
| String | optional |
Name | name 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)".
| String | optional |
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
- Category:JudoInside template with ID not in Wikidata (18)
- Category:JudoInside template with ID different from Wikidata (0)
- template missing ID