Jump to content

Template:Sambafoot/doc

From Wikipedia, the free encyclopedia

Template:Sambafoot displays an external link to an association football (soccer) player's profile at the Sambafoot.com website. It is intended for use in the external links section of an article.

Usage

[edit]

Omit the ID to use the Wikidata property.

Article name as link text
{{Sambafoot | id= ID }}
{{Sambafoot | ID }}
Parameter as link text
{{Sambafoot | id= ID | name= NAME }}
{{Sambafoot | ID | NAME }}

Examples

[edit]

Named parameters

[edit]
Usage
* {{Sambafoot | id= neymar | name= Neymar }}
* {{Sambafoot | id= 275-neymar | name= Neymar }}
* {{Sambafoot | id= 4206_neymar | name= Neymar }}
Output
Current URLs with new ID
https://www.sambafoot.com/players/neymar
https://www.sambafoot.com/br/jogadores/neymar
https://www.sambafoot.com/fr/joueurs/neymar
https://www.sambafoot.com/es/jugadores/neymar
Former URLs with different ID (until 2024) – in this example, all links redirect to new ID
https://www.sambafoot.com/players/275-neymar (archive 2024-01-15)
https://www.sambafoot.com/en/players/275-neymar (archive 2022-09-22)
https://www.sambafoot.com/br/jogadores/275-neymar (archive 2024-05-29)
https://www.sambafoot.com/fr/joueurs/275-neymar (archive 2024-04-20)
https://www.sambafoot.com/es/jugadores/275-neymar (archive 2023-06-05)
Former URLs with different ID (until 2021)
http://www.sambafoot.com/en/players/4206_neymar.html (archived 2020-11-26)
http://www.sambafoot.com/pt/jogadores/4206_neymar.html (archived 2020-12-04)
http://www.sambafoot.com/fr/joueurs/4206_neymar.html (archived 2021-01-16)
http://www.sambafoot.com/es/jugadores/4206_neymar.html (archived 2021-01-16)

Unnamed parameters

[edit]
Usage
* {{Sambafoot | roberto-carlos | Roberto Carlos }}
* {{Sambafoot | 80142-roberto-carlos | Roberto Carlos }}
* {{Sambafoot | 48_roberto_carlos | Roberto Carlos }}
Output
Current URLs with new ID
https://www.sambafoot.com/players/roberto-carlos
https://www.sambafoot.com/br/jogadores/roberto-carlos
https://www.sambafoot.com/fr/joueurs/roberto-carlos
https://www.sambafoot.com/es/jugadores/roberto-carlos
Former URLs with different ID (until 2022) – in this example, only the br link redirects to new ID
https://www.sambafoot.com/players/80142-roberto-carlos
https://www.sambafoot.com/en/players/80142-roberto-carlos (archive 2022-03-11)
https://www.sambafoot.com/br/jogadores/80142-roberto-carlos (archive 2022-07-05)
https://www.sambafoot.com/fr/joueurs/80142-roberto-carlos (archive 2022-03-11)
https://www.sambafoot.com/es/jugadores/80142-roberto-carlos (archive 2021-11-27)
Former URLs with different ID (until 2021)
http://www.sambafoot.com/en/players/48_roberto_carlos.html (archive 2020-09-18)
http://www.sambafoot.com/pt/jogadores/48_roberto_carlos.html (archive 2020-01-13)
http://www.sambafoot.com/fr/joueurs/48_roberto_carlos.html (archived 2021-01-15)
http://www.sambafoot.com/es/jugadores/48_roberto_carlos.html (archived 2020-06-11)
Former URLs with different ID (2009–2010)
http://en.sambafoot.com/players/48_Roberto_Carlos.html (archive)
http://br.sambafoot.com/jogadores/48_Roberto_Carlos.html (archive)
http://fr.sambafoot.com/joueurs/48_Roberto_Carlos.html (archive)
Former URLs with different ID (2007–2008)
http://www.sambafoot.co.uk/players/48_Roberto_Carlos.html (archive)
http://www.sambafoot.com.br/jogadores/48_Roberto_Carlos.html (archive)
http://www.sambafoot.fr/joueurs/48_Roberto_Carlos.html (archive)

No parameters and Wikidata property not defined

[edit]
Usage
{{Sambafoot}}
Output
{{Sambafoot}} template missing ID and not present in Wikidata.

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Sambafoot in articles based on its TemplateData.

TemplateData for Sambafoot

This template displays an external link to an association football (soccer) player's profile at the Sambafoot.com website. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
Current or former IDid 1

The ID portion of the player URL at Sambafoot.com. This may be the current ID such neymar in https://www.sambafoot.com/players/neymar, or former IDs such as 275-neymar in https://www.sambafoot.com/players/275-neymar or 4206_neymar in the archived URL https://web.archive.org/web/20201231000000/http://www.sambafoot.com/en/players/4206_neymar.html. This parameter is optional if Wikidata property P3668 exists, but required if not.

Default
Wikidata property P3668
Stringoptional
Namename 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)".

Default
{{PAGENAMEBASE}}
Stringoptional

See also

[edit]

Tracking categories

[edit]
[edit]