Difference between revisions of "Template:JudoInside"
imported>Zyxw (shorten URL as per website search and Wikidata, rename tracking category that was never created) |
imported>Zyxw m (trailing / in URL not required as per Wikidata and testing) |
||
| Line 1: | Line 1: | ||
| − | [http://www.judoinside.com/judoka/{{Trim|{{{id|{{{1|{{#property:P2767}}}}}}}}}} | + | [http://www.judoinside.com/judoka/{{Trim|{{{id|{{{1|{{#property:P2767}}}}}}}}}} {{{name|{{{2|{{PAGENAMEBASE}}}}}}}}] at JudoInside.com<includeonly>{{EditAtWikidata|pid=P2767|{{{id|{{{1|}}}}}}}}{{#if:{{{id|}}}{{{1|}}}|{{WikidataCheck|property=P2767|value={{{id|{{{1|}}}}}}|category=JudoInside.com ID}}}}{{main other|{{#if:{{{id|}}}{{{1|}}}{{#property:P2767}}||[[Category:JudoInside template missing ID]]}}}}</includeonly><noinclude> |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 10:19, 23 November 2016
Template:PAGENAMEBASE at JudoInside.com
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".
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. |