Difference between revisions of "Template:Footballstats"

From blackwiki
Jump to navigation Jump to search
imported>Elegie
(Add string replacement function to rewrite the pfr parameter (in some cases) to minimize redirects. The added content may be derived from the contents of Template:Infobox NFL biography/sandbox; see that page's history for attribution information.)
imported>MusikAnimal
m (Protected "Template:Footballstats": Highly visible template; 1,000+ transclusions ([Edit=Require autoconfirmed or confirmed access] (indefinite)))
(No difference)

Revision as of 17:20, 9 October 2017

  • Career statistics and player information from
Template documentation[view] [edit] [history] [purge]

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:

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