Template:COE profile/doc

From blackwiki
< Template:COE profile
Revision as of 04:50, 14 January 2020 by imported>Zyxw (→‎See also: update link)
Jump to navigation Jump to search

Template:COE profile displays an external link to an athlete's profile at the official website of the Spanish Olympic Committee, known in Spanish as Comité Olímpico Español (COE). It is intended for use in the external links section of an article.

Usage

Without "name" parameter (uses article name as link)
{{COE profile | id1= ID1 }}
{{COE profile | id2= ID2 }}
{{COE profile | id1= ID1 | id2= ID2 }}
With "name" parameter
{{COE profile | id1= ID1 | name= NAME }}
{{COE profile | id2= ID2 | name= NAME }}
{{COE profile | id1= ID1 | id2= ID2 | name= NAME }}

Examples

Example 1

Mireia Belmonte

URL using "id1"
http://www.coe.es/COE/bd_perso.nsf/2012FDeportistaN3?OpenForm&query=1341*&DEPORTISTA=465*
URLs using "id2"
http://www.coe.es/COE/bd_perso.nsf/VBusqDeport/80332981c25c4a5fc1256d5700616d0d
http://www.coe.es/coe/bd_perso.nsf/636f272617572203c12572080082e57c/80332981c25c4a5fc1256d5700616d0d
Usage
* {{COE profile | id1= 1341*&DEPORTISTA=465* | name= Mireia Belmonte García }}
* {{COE profile | id2= 80332981c25c4a5fc1256d5700616d0d | name= Mireia Belmonte García }}
* {{COE profile | id1= 1341*&DEPORTISTA=465* | id2= 80332981c25c4a5fc1256d5700616d0d | name= Mireia Belmonte García }}
Output

Example 2

Javier Fernández

URL using "id1"
http://www.coe.es/COE/bd_perso.nsf/2012FDeportistaN3?OpenForm&query=6484*&DEPORTISTA=4790*
URLs using "id2"
http://www.coe.es/COE/bd_perso.nsf/VBusqDeport/e01d1ef660f65842c125724800596c0a
http://www.coe.es/coe/bd_perso.nsf/636f272617572203c12572080082e57c/e01d1ef660f65842c125724800596c0a
Usage
* {{COE profile | id1= 6484*&DEPORTISTA=4790* | name= Javier Fernández López }}
* {{COE profile | id2= e01d1ef660f65842c125724800596c0a | name= Javier Fernández López }}
* {{COE profile | id1= 6484*&DEPORTISTA=4790* | id2= e01d1ef660f65842c125724800596c0a | name= Javier Fernández López }}
Output

No parameters

Usage
* {{COE profile}}
Output

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for COE profile

This template displays an external link to an athlete's profile at the official website of the Spanish Olympic Committee, known in Spanish as Comité Olímpico Español (COE). It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
id1id1

The identifier in a URL such as http://www.coe.es/COE/bd_perso.nsf/2012FDeportistaN3?OpenForm&query=1341*&DEPORTISTA=465*, where 1341*&DEPORTISTA=465* is the identifier. This parameter is required if "id2" is not specified.

Stringoptional
id2id2

The identifier in a URL such as http://www.coe.es/COE/bd_perso.nsf/VBusqDeport/80332981c25c4a5fc1256d5700616d0d or http://www.coe.es/coe/bd_perso.nsf/636f272617572203c12572080082e57c/80332981c25c4a5fc1256d5700616d0d, where 80332981c25c4a5fc1256d5700616d0d is the identifier. This parameter is required if "id1" is not specified.

Stringoptional
namename

The link text, which should be the name of the athlete. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(athlete)".

Default
{{PAGENAMEBASE}}
Stringoptional

See also

External links