پرونده:Edit-copy purple.svg | این زیرصفحهٔ مستندات الگو:WBF است. این شامل اطلاعات استفاده، الگوها، پیوندهای بین زبانی و سایر اطلاعات است که در اصل الگو صفحه قرار نمیگیرد. |
پرونده:OOjs UI icon info big progressive.svg | این الگویی در ارتباط با الگوهای بستهبندی کننده شیوه ارجاع ۱ است. که بر اساس {{یادکرد وب}} پایهریزی شده است. برای راهنمایی بیشتر، شیوه یادکرد ۱ را ببینید و برای بحث به صفحه بحث راهنما:شیوه یادکرد ۱ مراجعه کنید. |
نماد لوآ | این الگو از لوآ استفاده میکند: |
خطای اسکریپتی: پودمان «Side box» وجود ندارد. خطای اسکریپتی: پودمان «Side box» وجود ندارد.
الگو:WBF displays an external link to a contract bridge player's international record at the website of the World Bridge Federation (WBF), which is the international governing body for contract bridge. The template is usually placed in the "ویکیپدیا:پیوند به بیرون" or "ویکیپدیا:شیوه ارجاع به منابع" section of the player's Wikipedia article.
Usage
Unnamed parameters:
{{WBF|ID}}
{{WBF|ID|NAME}}
{{WBF|ID|NAME|ACCESS-DATE}}
Named parameters:
{{WBF|id=ID}}
{{WBF|id=ID|name=NAME}}
{{WBF|id=ID|name=NAME|access-date=ACCESS-DATE}}
Using ویکیداده property P3172:
{{WBF}}
{{WBF|name=NAME}}
{{WBF|name=NAME|access-date=ACCESS-DATE}}
Parameters
|id=
- The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 1122 is the ID portion of http://www.worldbridge.org/people/person.asp?qryid=1122 or http://www.worldbridge.org/Repository/peopleforscrap/person.asp?qryid=1122. This parameter is optional if ویکیداده property P3172 exists, but required if not. If not provided, the template will attempt to fetch it from Wikidata.
|name=
- The "name" parameter (or unnamed parameter "2") may be used to specify the انکر تکست (متن لینک), which should be the name of the athlete. This parameter is optional when the template is used in the player's Wikipedia article; it defaults to the article name, without any disambiguation such as "(bridge)". It should be provided if the template is used other articles.
|access-date=
- The "access-date" parameter (or unnamed parameter "3") is for use in references.
How to find the "id"
One of the following methods may be used to find a player's WBF page and determine the id number:
- Go to the WBF People Finder and search for the player's نام خانوادگی. If the surname is unknown, try different parts of the known name separately.
- Use a موتور جستجوی وب such as جستجوگر گوگل or بینگ (examples for Riki Markus):
- Google search:
Rixi Markus site:worldbridge.org
- Bing search:
Rixi Markus site:worldbridge.org
- Google search:
The id number for the person can be seen at the end of the URL, such as 1122:
http://www.worldbridge.org/people/person.asp?qryid=1122
http://www.worldbridge.org/Repository/peopleforscrap/person.asp?qryid=1122
Examples
External link
When only the first unnamed parameter (or "id") is used, the انکر تکست (متن لینک) includes the article name.
* {{WBF | 1122 }}
* {{WBF |id= 553 }}
When the article name is different than the player's name, the second unnamed parameter (or "name") should be included.
* {{WBF | 1122 | Rixi Markus }}
* {{WBF |id= 553 |name= Omar Sharif }}
Citation
When the template is being used as a citation, the third unnamed parameter (or "accessdate" or "access-date") should be included.
{{WBF | 1122 | Rixi Markus | September 14, 2012 }}
- الگو:WBF
{{WBF |id= 553 |name= Omar Sharif |accessdate= 29 December 2016 }}
- الگو:WBF
{{WBF |id= 553 |name= Omar Sharif |access-date= 2016-12-29 }}
- الگو:WBF
No parameters
When no parameters are included, the template will use the player's ID from Wikidata or display an error message.
{{WBF}}
- الگو:WBF
Tracking categories
- "id" parameter exists
- تغییر_مسیر الگو:پیوند رده با شمار
- از انتقال یک صفحه: این یک تغییرمسیر است از صفحهای که منتقل شدهاست (تغییرنام داشتهاست). این صفحه بهعنوان تغییرمسیری بهمنظور جلوگیری از شکستن پیوندها، هم داخلی و هم خارجی، که ممکن است به نام صفحهای قدیمی باشد نگه داشته شدهاست.
- تغییر_مسیر الگو:پیوند رده با شمار
- از انتقال یک صفحه: این یک تغییرمسیر است از صفحهای که منتقل شدهاست (تغییرنام داشتهاست). این صفحه بهعنوان تغییرمسیری بهمنظور جلوگیری از شکستن پیوندها، هم داخلی و هم خارجی، که ممکن است به نام صفحهای قدیمی باشد نگه داشته شدهاست.
- تغییر_مسیر الگو:پیوند رده با شمار
- از انتقال یک صفحه: این یک تغییرمسیر است از صفحهای که منتقل شدهاست (تغییرنام داشتهاست). این صفحه بهعنوان تغییرمسیری بهمنظور جلوگیری از شکستن پیوندها، هم داخلی و هم خارجی، که ممکن است به نام صفحهای قدیمی باشد نگه داشته شدهاست.
- "id" parameter does not exist
- تغییر_مسیر الگو:پیوند رده با شمار
- از انتقال یک صفحه: این یک تغییرمسیر است از صفحهای که منتقل شدهاست (تغییرنام داشتهاست). این صفحه بهعنوان تغییرمسیری بهمنظور جلوگیری از شکستن پیوندها، هم داخلی و هم خارجی، که ممکن است به نام صفحهای قدیمی باشد نگه داشته شدهاست.