Template:LaPreferente/sandbox
{{{name}}} at LaPreferente.com (in Spanish)
This is the template sandbox page for Template:LaPreferente (diff). |
This template uses Lua: |
Template:LaPreferente displays an external link to an association football (soccer) player's profile at LaPreferente.com.
Usage
[edit]- Unnamed parameters
{{LaPreferente | ID }}
{{LaPreferente | ID | NAME }}
- Named parameters
{{LaPreferente | id= ID }}
{{LaPreferente | id= ID | name= NAME }}
{{LaPreferente | id= ID | name= NAME | accessdate= DATE }}
- Using Wikidata property
{{LaPreferente}}
{{LaPreferente | name= NAME }}
Examples
[edit]External link
[edit]- Usage
* {{LaPreferente | 112727 | Cristian Salvador }}
- Output
-
- Cristian Salvador at LaPreferente.com (in Spanish)
- URL in template
- https://www.lapreferente.com/J112727/.html#marcoCentral
- Other current URLs
- https://www.lapreferente.com/J112727/cristian.html
- https://www.lapreferente.com/J112727/real-sporting-b/cristian.html
- https://www.lapreferente.com/index.php?IDjugador=112727
- Former URLs
- http://www.lapreferente.net/J112727/.html
- http://www.lapreferente.net/J112727/cristian.html (archive)
- http://www.lapreferente.net/J112727/real-sporting-b/cristian.html (archive)
- http://www.lapreferente.net/index.php?IDjugador=112727
Citation
[edit]- Usage
{{LaPreferente | id= 211345 | name= Juan Moreno | accessdate= 2 December 2024 }}
- Output
- Juan Moreno at LaPreferente.com (in Spanish). Retrieved 2 December 2024.
- URL in template
- https://www.lapreferente.com/J211345/.html#marcoCentral
- Other current URLs
- https://www.lapreferente.com/J211345/juan-moreno.html
- https://www.lapreferente.com/J211345C6792/atletico-de-madrid/juan-moreno.html
- https://www.lapreferente.com/index.php?IDjugador=211345
- Former URLs
- http://www.lapreferente.net/J211345/.html
- http://www.lapreferente.net/J211345/juan-moreno.html
- http://www.lapreferente.net/J211345C6792/atletico-de-madrid/juan-moreno.html
- http://www.lapreferente.net/index.php?IDjugador=211345
No parameters and Wikidata property not defined
[edit]- Usage
{{LaPreferente}}
- Output
- {{LaPreferente}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for LaPreferente
This template displays an external link to an association football (soccer) player's profile at LaPreferente.com.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The ID number in the URL, such as 112727 in https://www.lapreferente.com/index.php?IDjugador=112727 or https://www.lapreferente.com/J112727/real-sporting-b/cristian.html. This parameter is optional if Wikidata property P7359 exists, but required if not.
| Number | 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 |
Access Date | accessdate | The "accessdate" parameter may be used to specify the date when the URL was last accessed. This parameter is optional. | Date | optional |
Tracking categories
[edit]- ID parameter exists
- Category:LaPreferente template with ID different from Wikidata (5)
- Category:LaPreferente template with ID not in Wikidata (373)
- ID parameter does not exist