قالب:AS.com/doc
| هذه صفحة توثيق فرعية لـ قالب:AS.com. تتضمن معلومات الاستعمال، التصنيفات وأي محتوى آخر ليس من محتويات الأصل لصفحة القالب. |
| Uses Lua: |
قالب:AS.com displays an external link to a sportsperson's profile at AS.com. It is intended for use in the external links section of an article.
Usage
- Unnamed parameters
* {{AS.com | ID }}* {{AS.com | ID | NAME }}
- Named parameters
* {{AS.com | id= ID }}* {{AS.com | id= ID | name= NAME }}
- Using Wikidata property
* {{AS.com}}* {{AS.com | name= NAME }}
Examples
Association football (soccer) player
- Usage
* {{AS.com | cristian_herrera/22820 | Cristian Ignacio Herrera López }}
- Output
-
- Cristian Ignacio Herrera López at AS.com (in إسپانية)
Motorcycle racer
- Usage
* {{AS.com | id= ana_carrasco/29288 | name= Ana Carrasco }}
- Output
-
- Ana Carrasco at AS.com (in إسپانية)
No parameters and Wikidata property not defined
- Usage
{{AS.com}}
- Output
- {{AS.com}} template missing ID and not present in Wikidata.
TemplateData
See the monthly error report for this template.
TemplateData for AS.com
This template displays an external link to an sportsperson's profile at AS.com. It is intended for use in the external links section of an article.
| وسيط | وصف | نوع | حالة | |
|---|---|---|---|---|
| ID | id 1 | The ID portion of the URL, such as ana_carrasco/29288 in https://resultados.as.com/resultados/ficha/deportista/ana_carrasco/29288. This parameter is optional if Wikidata property P3427 exists, but required if not.
| نص | اختياري |
| Name | name 2 | The link text, which should be the name of the player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(footballer)" or "(soccer)".
| نص | اختياري |