Template:AS.com/doc
Jump to navigation
Jump to search
| icon | This is a documentation subpage for Template:AS.com. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses the Wikidata property:
Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value).
| File:Lua-Logo.svg | This template uses Lua: |
Template: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
[edit source]- 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
[edit source]Association football (soccer) player
[edit source]- Usage
* {{AS.com | cristian_herrera/22820 | Cristian Ignacio Herrera López }}
- Output
-
- Cristian Ignacio Herrera López at AS.com (in Spanish)
Motorcycle racer
[edit source]- Usage
* {{AS.com | id= ana_carrasco/29288 | name= Ana Carrasco }}
- Output
-
- Ana Carrasco at AS.com (in Spanish)
No parameters and Wikidata property not defined
[edit source]- Usage
{{AS.com}}
- Output
- AS.com/doc at AS.com (in Spanish)Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
TemplateData
[edit source]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:AS.com in articles based on its TemplateData.
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 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.
| String | optional |
| 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)".
| String | optional |