ਫਰਮਾ:BoxRec/doc
ਇਹ ਇੱਕ ਫਰਮਾ:BoxRec ਲਈ documentation ਉਪ ਸਫ਼ਾ ਹੈ। ਇਸ ਵਿੱਚ ਵਰਤੋਂ ਦੀ ਜਾਣਕਾਰੀ, ਸ਼੍ਰੇਣੀਆਂ ਅਤੇ ਹੋਰ ਸਮੱਗਰੀ ਜੋ ਮੂਲ ਦਾ ਹਿੱਸਾ ਨਹੀਂ ਹੈ, ਸ਼ਾਮਲ ਹੈ। ਫਰਮਾ page. |
This template is used on approximately 4,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
- BoxRec boxer ID (P1967) (ਦੇਖੋ ਵਰਤੋਂਆਂ)
ਇਹ ਫਰਮਾ ਹੇਠ ਲਿਖੇ ਲੂਆ ਨੂੰ ਵਰਤਦਾ ਹੈ: |
ਫਰਮਾ:BoxRec displays an external link to a professional or amateur boxer's page at the BoxRec website (boxrec.com). It is intended for use in the external links section of an article.
Usage
ਸੋਧੋUnnamed parameters:
{{BoxRec | ID }}
{{BoxRec | ID | NAME }}
Named parameters:
{{BoxRec | id= ID }}
{{BoxRec | id= ID | name= NAME }}
{{BoxRec | id= ID | archive= NUMBER }}
{{BoxRec | id= ID | name= NAME | archive= NUMBER }}
Using Wikidata property (P1967):
{{BoxRec}}
{{BoxRec | name= NAME }}
{{BoxRec | archive= NUMBER }}
{{BoxRec | name= NAME | archive= NUMBER }}
Examples
ਸੋਧੋUnnamed parameters
ਸੋਧੋUsage:
* {{BoxRec | 866591 | Chungneijang Marykom }}
Output:
- Chungneijang Marykom ਲਈ ਮੁੱਕੇਬਾਜੀ ਰਿਕਾਰਡ ਬੌਕਸਰਿਕ ਤੋਂ (ਦਾਖਲਾ ਲੋੜੀਂਦਾ)
URLs:
- https://boxrec.com/boxer/866591
- https://boxrec.com/en/boxer/866591
- https://boxrec.com/en/amateurboxer/866591 (URLs above redirect here)
- https://boxrec.com/media/index.php?title=Human:866591
Named parameters
ਸੋਧੋUsage:
* {{BoxRec | id= 9027 | name= Joe Louis | archive= 20170224101131 }}
Output:
- Joe Louis ਲਈ ਮੁੱਕੇਬਾਜੀ ਰਿਕਾਰਡ ਬੌਕਸਰਿਕ ਤੋਂ (ਦਾਖਲਾ ਲੋੜੀਂਦਾ) (archive)
URLs:
- https://boxrec.com/boxer/9027
- https://boxrec.com/en/boxer/9027
- https://boxrec.com/en/proboxer/9027 (URLs above redirect here)
- https://boxrec.com/en/amateurboxer/9027
- https://boxrec.com/en/referee/9027
- https://boxrec.com/media/index.php?title=Human:9027
No parameters and Wikidata property not defined
ਸੋਧੋUsage:
* {{BoxRec}}
Output:
- {{BoxRec}} template missing ID and not present in Wikidata.
Instructions
ਸੋਧੋ- Go to the BoxRec website and enter the boxer's name in the search box.
- On the search results page, click the correct link for the boxer's page.
- The page URL should look like
https://boxrec.com/en/amateurboxer/ID
orhttps://boxrec.com/en/proboxer/ID
, whereID
is the ID number for the boxer. - Add one of the following to the external links section of the boxer's Wikipedia article:
* {{BoxRec|ID}}
* {{BoxRec|ID|NAME}}
- where
ID
is the boxer's ID number from the URL - and
NAME
is the boxer's name. If the name is not specified, the template will display the Wikipedia article name, without any disambiguation such as "(boxer)".
TemplateData
ਸੋਧੋTemplateData for BoxRec
This template displays an external link to a professional or amateur boxer's page at the BoxRec website (boxrec.com). It is intended for use in the external links section of an article.
ਮਾਪਦੰਡ | ਵੇਰਵਾ | ਕਿਸਮ | ਦਰਜਾ | |
---|---|---|---|---|
id | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Examples: 866591 is the ID portion of https://boxrec.com/en/amateurboxer/866591 and 9027 is the ID portion of https://boxrec.com/en/proboxer/9027. This parameter is optional if Wikidata property P1967 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 boxer. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(boxer)".
| String | optional |
archive | archive | Number representing the date/time in an Internet Archive URL, such as 20170224101131 in https://web.archive.org/web/20170224101131/http://boxrec.com/boxer/9027. | Number | optional |
Tracking categories
ਸੋਧੋ- template with ID
- Category:BoxRec template with ID different from Wikidata (0)
- Category:BoxRec template with ID not in Wikidata (0)
- template missing ID
See also
ਸੋਧੋ