Difference between revisions of "Template:JudoInside"
imported>Zyxw m (update tracking) |
imported>Zyxw (don't add category for "same as Wikidata") |
||
| Line 1: | Line 1: | ||
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P2767}} | {{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P2767}} | ||
| − | | [https://www.judoinside.com/judoka/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P2767}}|sep=,}} }} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at JudoInside.com<includeonly>{{EditAtWikidata|pid=P2767|{{{1|{{{id|}}}}}}}}</includeonly>{{WikidataCheck|property=P2767|value={{{1|{{{id|}}}}}}|category=JudoInside template with ID|namespaces=0}} | + | | [https://www.judoinside.com/judoka/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P2767}}|sep=,}} }} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at JudoInside.com<includeonly>{{EditAtWikidata|pid=P2767|{{{1|{{{id|}}}}}}}}</includeonly>{{WikidataCheck|property=P2767|value={{{1|{{{id|}}}}}}|category=JudoInside template with ID|namespaces=0|nocatsame=1}} |
| <span class="error">{{[[Template:JudoInside|JudoInside]]}} template missing ID and not present in Wikidata.</span>{{Main other|[[Category:JudoInside template missing ID and not in Wikidata]]}} | | <span class="error">{{[[Template:JudoInside|JudoInside]]}} template missing ID and not present in Wikidata.</span>{{Main other|[[Category:JudoInside template missing ID and not in Wikidata]]}} | ||
Latest revision as of 05:16, 3 March 2020
{{{name}}} at JudoInside.comTemplate:WikidataCheck
Template:Uses Wikidata Template:Tracks Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).
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.
Contents
Usage
Unnamed parameters:
{{JudoInside | ID }}{{JudoInside | ID | NAME }}
Named parameters:
{{JudoInside | id= ID }}{{JudoInside | id= ID | name= NAME }}
Using Wikidata property Template:Property:
{{JudoInside}}{{JudoInside | name= NAME }}
Examples
Unnamed parameters
Usage:
* {{JudoInside | 1003 | Kōsei Inoue }}
Output:
- Kōsei Inoue at JudoInside.comScript error: No such module "EditAtWikidata".Template:WikidataCheck
URL generated by template:
URL from website search:
Named parameters
Usage:
* {{JudoInside | id= 2970 |name= Ryōko Tani }}
Output:
- Ryōko Tani at JudoInside.comScript error: No such module "EditAtWikidata".Template:WikidataCheck
URL generated by template:
URL from website search:
No parameters and Wikidata property not defined
Usage:
* {{JudoInside}}
Output:
- Template:PAGENAMEBASE at JudoInside.comScript error: No such module "EditAtWikidata".Template:WikidataCheck
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 1003 is the ID portion of 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.
| Number | optional |
| Name | name 2 | The "name" parameter (or unnamed parameter "2") may be used to specify 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
- ID parameter exists
- Category:JudoInside template with ID not in Wikidata (0)
- Category:JudoInside template with ID different from Wikidata (0)
- ID parameter does not exist
External links
| The above documentation is transcluded from Template:JudoInside/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |