Template:Sambafoot/doc
Appearance
File:Edit-copy green.svg | This is a documentation subpage for Template:Sambafoot. 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: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[change]
Unnamed parameters:
{{Sambafoot | ID }}
{{Sambafoot | ID | NAME }}
Named parameters:
{{Sambafoot | id= ID }}
{{Sambafoot | id= ID | name= NAME }}
Using Wikidata property (P3668):
{{Sambafoot}}
{{Sambafoot | name= NAME }}
Examples[change]
Unnamed parameters[change]
Usage:
* {{Sambafoot | 48_roberto_carlos | Roberto Carlos }}
Output:
- Roberto Carlos at Sambafoot
Current URLs:
- http://www.sambafoot.com/en/players/48_roberto_carlos.html
- http://www.sambafoot.com/pt/jogadores/48_roberto_carlos.html
- http://www.sambafoot.com/fr/joueurs/48_roberto_carlos.html
- http://www.sambafoot.com/es/jugadores/48_roberto_carlos.html
Former URLs (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 (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)
Named parameters[change]
Usage:
* {{Sambafoot | id= 4206_neymar | name= Neymar }}
Output:
- Neymar at Sambafoot
Current URLs:
- http://www.sambafoot.com/en/players/4206_neymar.html
- http://www.sambafoot.com/pt/jogadores/4206_neymar.html
- http://www.sambafoot.com/fr/joueurs/4206_neymar.html
- http://www.sambafoot.com/es/jugadores/4206_neymar.html
No parameters and Wikidata property not defined[change]
Usage:
{{Sambafoot}}
Output:
- Sambafoot/doc at Sambafoot
TemplateData[change]
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
<templatedata> {
"description": "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.", "params": { "id": { "label": "id", "aliases": ["1"], "description": "The \"id\" parameter (or unnamed parameter \"1\") should contain the ID portion of the URL. Example: 48_roberto_carlos is the ID portion of http://www.sambafoot.com/en/players/48_roberto_carlos.html. This parameter is optional if Wikidata property P3668 exists, but required if not.", "type": "string", "required": false, "default": "Wikidata property P3668" }, "name": { "label": "name", "aliases": ["2"], "description": "The \"name\" parameter (or unnamed parameter \"2\") may be used to specify 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)\".", "type": "string", "required": false, "default": "Sambafoot/doc" } }, "paramOrder": [ "id", "name" ]
} </templatedata>
Tracking categories[change]
- ID parameter exists
- Category:Sambafoot template with ID different from Wikidata (0)
- Category:Sambafoot template with ID not in Wikidata (0)
- ID parameter does not exist