Difference between revisions of "Template:Footballstats/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(Undid revision 939953908 by Frietjes (talk))
imported>Vanisaac
m (→‎Parameters: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
Line 121: Line 121:
 
|}
 
|}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
<includeonly>{{Sandbox other||
 
<!-- Categories and interwikis go here: -->
 
<!-- Categories and interwikis go here: -->
 
[[Category:People and person external link templates]]
 
[[Category:People and person external link templates]]

Revision as of 05:01, 25 April 2020

Usage

To use this template, copy and paste this text to a football player's external links section:

  • {{Footballstats |nfl= |cfl= |afl= |espn= |cbs= |yahoo= |fox= |si= |pfr= |rotoworld= }}

Add the page ID's after the equals sign to properly direct the links that you desire to have. If you do not specify an ID, the site will not be shown.

To find a player's unique ID, find the player's page on a website and locate a string of numbers or letters in the URL similar to the ones above. That is the player's unique ID.

Examples

Example for Peyton Manning:

  • {{Footballstats|nfl=MAN515097|cfl=|afl=|espn=1428|cbs=12531|yahoo=4256|fox=69814|si=4256|pfr=M/MannPe00|rotoworld=1493}}
  • Career statistics and player information from

For NFL.com URLs with a format similar to http://www.nfl.com/player/charliejoiner/2517795/profile, typically found with retired players at http://www.nfl.com/players?playerType=historical, use:

Example for CFL and AFL player:

Parameters

Parameter Website Standalone template
Wikidata property
URL
|nfl= NFL.com
|cfl= CFL.ca
|afl= ArenaFan.com
|espn= ESPN.com {{ESPN NFL}}
Wikidata:Property:P3686
|cbs= CBSsports.com
|yahoo= Sports.Yahoo.com
|fox= MSN.FoxSports.com
|si= SportsIllustrated.CNN.com
|pfr= Pro-Football-Reference.com
|rotoworld= Rotoworld.com