Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Examples  



2.1  Unnamed parameters  





2.2  Named parameters  





2.3  No parameters and Wikidata property not defined  







3 TemplateData  





4 Tracking categories  





5 See also  














Template:SFA player






تۆرکجه
Deutsch
Español
فارسی


Монгол

Română
Scots
Simple English
Svenska

Türkçe

 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


Template:SFA player displays an external link to an association football (soccer) player's profile at the Scottish Football Association website (ScottishFA.co.uk). It is intended for use in the external links section of an article.

Usage

Unnamed parameters:

{{SFA player | ID }}
{{SFA player | ID | NAME }}

Named parameters:

{{SFA player | id= ID }}
{{SFA player | id= ID | name= NAME }}

Using Wikidata property Scottish Football Association player ID (P3049):

{{SFA player}}
{{SFA player | name= NAME }}

Examples

Unnamed parameters

Usage:

* {{SFA player | 36353 | Gemma Fay }}

Output:

URLs:

https://www.scottishfa.co.uk/players/?pid=36353
http://www.scottishfa.co.uk/player_details.cfm?playerid=36353
http://www.scottishfa.co.uk/football_player_profile.cfm?page=2492&playerid=36353
http://www.scottishfa.co.uk/football_player_profile.cfm?page=2492&playerID=36353&squadID=2

Named parameters

Usage:

* {{SFA player | id= 21265 | name= Allan McGregor }}

Output:

URLs:

https://www.scottishfa.co.uk/players/?pid=21265
http://www.scottishfa.co.uk/player_details.cfm?playerid=21265 (archive)
http://www.scottishfa.co.uk/football_player_profile.cfm?page=2492&playerid=21265
http://www.scottishfa.co.uk/football_player_profile.cfm?page=2492&playerID=21265&squadID=1

No parameters and Wikidata property not defined

Usage:

{{SFA player}}

Output:

  • {{SFA player}} template missing ID and not present in Wikidata.

TemplateData

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

TemplateData for SFA player

This template displays an external link to an association football (soccer) player's profile at the Scottish Football Association website (ScottishFA.co.uk). It is intended for use in the external links section of an article.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
idid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 36353 is the ID portion of http://www.scottishfa.co.uk/player_details.cfm?playerid=36353. This parameter is optional if Wikidata property P3049 exists, but required if not.

Default
Wikidata property P3049
Numberoptional
namename 2

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)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

template with ID
template missing ID

See also


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:SFA_player&oldid=1174321625"

Categories: 
Templates using data from Wikidata
Templates tracking Wikidata
Lua-based templates
Association football external link templates
British people and person external link templates
Scotland sports templates
External link templates using Wikidata
Hidden categories: 
Wikipedia semi-protected templates
Templates using TemplateData
Templates that add a tracking category
 



This page was last edited on 7 September 2023, at 18:38 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki