ਫਰਮਾ:The-Sports/doc

ਵਿਕੀਪੀਡੀਆ, ਇੱਕ ਅਜ਼ਾਦ ਗਿਆਨਕੋਸ਼ ਤੋਂ

ਫਰਮਾ:The-Sports displays an external link to a athlete's profile at the The-Sports.org website. It is intended for use in the external links section of an article.

Usage[ਸੋਧੋ]

Unnamed parameters:

{{The-Sports | ID }}
{{The-Sports | ID | NAME }}

Named parameters:

{{The-Sports | id= ID }}
{{The-Sports | id= ID | name= NAME }}

Using Wikidata property (P4391):

{{The-Sports}}
{{The-Sports | name= NAME }}

Examples[ਸੋਧੋ]

Unnamed parameters[ਸੋਧੋ]

Usage:

* {{The-Sports | 357544 | Baruch Shmailov }}

Output:

URL generated by template:

https://www.the-sports.org/t-spf357544.html

URL from website search:

https://www.the-sports.org/baruch-shmailov-judo-spf357544.html

Named parameters[ਸੋਧੋ]

Usage:

* {{The-Sports | id= 591938 |name= Abishag Semberg }}

Output:

URL generated by template:

https://www.the-sports.org/t-spf591938.html

URL from website search:

https://www.the-sports.org/abishag-semberg-taekwondo-spf591938.html

No parameters and Wikidata property not defined[ਸੋਧੋ]

Usage:

* {{The-Sports}}

Output:

  • {{The-Sports}} template missing ID and not present in Wikidata.

TemplateData[ਸੋਧੋ]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for The-Sports

This template displays an external link to a athlete's profile at the The-Sports.org website. It is intended for use in the external links section of an article.

ਫਰਮੇ ਦੇ ਮਾਪਦੰਡ

ਮਾਪਦੰਡਵੇਰਵਾਕਿਸਮਦਰਜਾ
IDid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 357544 is the ID portion of https://www.the-sports.org/t-spf357544.html or https://www.the-sports.org/baruch-shmailov-judo-spf357544.html. This parameter is optional if Wikidata property P4391 exists, but required if not.

ਮੂਲ ਰੂਪ
Wikidata property P4391
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 athlete. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(athlete)".

ਮੂਲ ਰੂਪ
{{PAGENAMEBASE}}
Stringoptional

Tracking categories[ਸੋਧੋ]

ID parameter exists
ID parameter does not exist

See also[ਸੋਧੋ]

External links[ਸੋਧੋ]