Difference between revisions of "Template:JudoInside"

From blackwiki
Jump to navigation Jump to search
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">&#123;&#123;[[Template:JudoInside|JudoInside]]&#125;&#125; template missing ID and not present in Wikidata.</span>{{Main other|[[Category:JudoInside template missing ID and not in Wikidata‎]]}}
 
| <span class="error">&#123;&#123;[[Template:JudoInside|JudoInside]]&#125;&#125; 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 documentation[view] [edit] [history] [purge]

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.

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:

URL generated by template:

https://www.judoinside.com/judoka/1003

URL from website search:

https://www.judoinside.com/judoka/1003/Kosei_Inoue/judo-career

Named parameters

Usage:

* {{JudoInside | id= 2970 |name= Ryōko Tani }}

Output:

URL generated by template:

https://www.judoinside.com/judoka/2970

URL from website search:

https://www.judoinside.com/judoka/2970/Ryoko_Tani/judo-career

No parameters and Wikidata property not defined

Usage:

* {{JudoInside}}

Output:

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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" 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.

Default
Wikidata property P2767
Numberoptional
Namename 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)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

ID parameter exists
ID parameter does not exist

External links