Difference between revisions of "Template:JudoInside/sandbox"
imported>RexxS (create sandbox) |
imported>RexxS (Create sandbox version of Template:JudoInside with icon linking to Wikidata) |
||
| Line 1: | Line 1: | ||
| − | < | + | [http://www.judoinside.com/judoka/view/{{Trim|{{{id|{{{1|{{#property:P2767}}}}}}}}}}/ {{{name|{{{2|{{PAGENAMEBASE}}}}}}}}] at JudoInside.com{{#invoke:EditAtWikidata|showMessage|pid=P2767}}<includeonly>{{main other|{{#if:{{{id|}}}{{{1|}}}||{{#if:{{#property:P2767}}||[[Category:JudoInside template with no ID set]]}}}}}}</includeonly><noinclude> |
| − | + | {{documentation}} | |
| − | |||
| − | |||
| − | |||
| − | {{ | ||
</noinclude> | </noinclude> | ||
Latest revision as of 17:16, 31 August 2016
Template:PAGENAMEBASE at JudoInside.comScript error: No such module "EditAtWikidata".
| This is the template sandbox page for Template:JudoInside (diff). |
Template:Uses Wikidata Template:Tracks Wikidata
| 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.
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. |