الگو:BoxRec
کارنامهٔ حرفهای بوکس برای {{{name}}} در BoxRec
این الگو از یک ویژگی ویکیداده استفاده میکند:
|
این الگو ویژگی ویکیداده را پیگیری میکند: |
این الگو از لوآ استفاده میکند: |
الگو:BoxRec displays an external link to a professional boxer's page at the BoxRec website (boxrec.com). It is intended for use in the ویکیپدیا:پیوند به بیرون section of an article.
Usage ویرایش
Unnamed parameters:
{{BoxRec | ID }}
{{BoxRec | ID | NAME }}
Named parameters:
{{BoxRec | id= ID }}
{{BoxRec | id= ID | name= NAME }}
Using ویکیداده property P1967:
{{BoxRec}}
{{BoxRec | name= NAME }}
Examples ویرایش
Unnamed parameters ویرایش
URL:
Usage:
{{BoxRec | 180 | Muhammad Ali }}
Output:
- کارنامهٔ حرفهای بوکس برای Muhammad Ali در BoxRec
Named parameters ویرایش
URL:
Usage:
{{BoxRec | id= 9027 | name= Joe Louis }}
Output:
- کارنامهٔ حرفهای بوکس برای Joe Louis در BoxRec
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 نشانی وب should look like
http://boxrec.com/boxer/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 ویرایش
الگوداده BoxRec
This template displays an external link to a professional 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. Example: 180 is the ID portion of http://boxrec.com/boxer/180. This parameter is optional if Wikidata property P1967 exists, but required if not.
| شماره | اختیاری |
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)".
| رشته | اختیاری |
ردههای ردیابی ویرایش
- "id" parameter exists
- رده:الگوی بوکسریک با شناسه یکسان با ویکیداده (۰)
- رده:الگوی بوکسریک با شناسه متفاوت با ویکیداده (۰)
- رده:BoxRec template with ID not in Wikidata (۰)
- "id" parameter does not exist