Difference between revisions of "Template:Footballstats"

From blackwiki
Jump to navigation Jump to search
imported>Eagles247
(new NFL.com URL)
imported>Dissident93
(the hyphens are just apart of the URL)
 
Line 1: Line 1:
* Career statistics and player information from {{ #if: {{{nfl|}}} | [http://www.nfl.com/players/{{{nfl}}} NFL.com]{{ #if: {{{cfl|}}} |  &nbsp;·&nbsp; | {{ #if: {{{afl|}}} | &nbsp;·&nbsp; | {{ #if: {{{espn|}}} | &nbsp;·&nbsp; | {{ #if: {{{cbs|}}} | &nbsp;·&nbsp; | {{ #if: {{{yahoo|}}} | &nbsp;·&nbsp; | {{ #if: {{{fox|}}} | &nbsp;·&nbsp; | {{ #if: {{{pfr|}}} | &nbsp;·&nbsp; | {{ #if: {{{si|}}} | &nbsp;·&nbsp; | {{ #if: {{{rotoworld|}}} | &nbsp;·&nbsp; | {{ #if: {{{dbf|}}} | &nbsp;·&nbsp; | }} }} }} }} }} }} }} }} }} }} }}{{ #if: {{{cfl|}}} | [https://www.cfl.ca/index.php?module=roster&func=display&ros_id={{{cfl}}} CFL.ca]{{ #if: {{{espn|}}} | &nbsp;·&nbsp; | {{ #if: {{{afl|}}} | &nbsp;·&nbsp; | {{ #if: {{{cbs|}}} | &nbsp;·&nbsp; | {{ #if: {{{yahoo|}}} | &nbsp;·&nbsp; | {{ #if: {{{fox|}}} | &nbsp;·&nbsp; | {{ #if: {{{si|}}} | &nbsp;·&nbsp; | {{ #if: {{{pfr|}}} | &nbsp;·&nbsp; | {{ #if: {{{rotoworld|}}} | &nbsp;·&nbsp; | {{ #if: {{{dbf|}}} | &nbsp;·&nbsp; | }} }} }} }} }} }} }} }} }} }}{{ #if: {{{afl|}}} | [http://www.arenafan.com/players/{{{afl}}}/ ArenaFan]{{ #if: {{{espn|}}} | &nbsp;·&nbsp; | {{ #if: {{{cbs|}}} | &nbsp;·&nbsp; | {{ #if: {{{yahoo|}}} | &nbsp;·&nbsp; | {{ #if: {{{fox|}}} | &nbsp;·&nbsp; | {{ #if: {{{si|}}} | &nbsp;·&nbsp; | {{ #if: {{{pfr|}}} | &nbsp;·&nbsp; | {{ #if: {{{rotoworld|}}} | &nbsp;·&nbsp; | {{ #if: {{{dbf|}}} | &nbsp;·&nbsp; | }} }} }} }} }} }} }} }} }}{{ #if: {{{espn|}}} | [http://www.espn.com/nfl/player/stats/_/id/{{{espn}}} ESPN]{{ #if: {{{cbs|}}} | &nbsp;·&nbsp; | {{ #if: {{{yahoo|}}} | &nbsp;·&nbsp; | {{ #if: {{{fox|}}} | &nbsp;·&nbsp; | {{ #if: {{{si|}}} | &nbsp;·&nbsp; | {{ #if: {{{pfr|}}} | &nbsp;·&nbsp; | {{ #if: {{{rotoworld|}}} | &nbsp;·&nbsp; | {{ #if: {{{dbf|}}} | &nbsp;·&nbsp; | }} }} }} }} }} }} }} }}{{ #if: {{{cbs|}}} | [https://www.cbssports.com/nfl/players/playerpage/{{{cbs}}} CBS Sports]{{ #if: {{{yahoo|}}} | &nbsp;·&nbsp; | {{ #if: {{{fox|}}} | &nbsp;·&nbsp; | {{ #if: {{{si|}}} | &nbsp;·&nbsp; | {{ #if: {{{pfr|}}} | &nbsp;·&nbsp; | {{ #if: {{{rotoworld|}}} | &nbsp;·&nbsp; | {{ #if: {{{dbf|}}} | &nbsp;·&nbsp; | }} }} }} }} }} }} }}{{ #if: {{{yahoo|}}} | [https://sports.yahoo.com/nfl/players/{{{yahoo}}}/ Yahoo! Sports]{{ #if: {{{fox|}}} | &nbsp;·&nbsp; | {{ #if: {{{si|}}} | &nbsp;·&nbsp; | {{ #if: {{{pfr|}}} | &nbsp;·&nbsp; | {{ #if: {{{rotoworld|}}} | &nbsp;·&nbsp; | {{ #if: {{{dbf|}}} | &nbsp;·&nbsp; | }} }} }} }} }} }}{{ #if: {{{fox|}}} | [http://msn.foxsports.com/nfl/player/{{{fox}}} Fox Sports]{{ #if: {{{si|}}} | &nbsp;·&nbsp; | {{ #if: {{{pfr|}}} | &nbsp;·&nbsp; | {{ #if: {{{rotoworld|}}} | &nbsp;·&nbsp; | {{ #if: {{{dbf|}}} | &nbsp;·&nbsp; | }} }} }} }} }}{{ #if: {{{si|}}} | [http://sportsillustrated.cnn.com/football/nfl/players/{{{si}}}/ SI.com]{{ #if: {{{pfr|}}} | &nbsp;·&nbsp; | {{ #if: {{{rotoworld|}}} | &nbsp;·&nbsp; | {{ #if: {{{dbf|}}} | &nbsp;·&nbsp; | }} }} }} }}{{ #if: {{{pfr|}}} | [https://www.pro-football-reference.com/players/{{#invoke:String|replace|source={{{pfr}}}|pattern=^(%u)(%a)|replace=%1/%1%2|count=1|plain=false}}.htm Pro-Football-Reference]{{ #if: {{{rotoworld|}}} | &nbsp;·&nbsp; | {{ #if: {{{dbf|}}} | &nbsp;·&nbsp; | }} }} }}{{ #if: {{{rotoworld|}}} | [https://www.rotoworld.com/player/nfl/{{{rotoworld}}} Rotoworld]{{ #if: {{{dbf|}}} | &nbsp;·&nbsp; | |}} }}<noinclude>
+
* Career statistics and player information from {{ #if: {{{nfl|}}} | [http://www.nfl.com/players/{{{nfl}}} NFL.com]{{ #if: {{{cfl|}}} |  &nbsp;·&nbsp; | {{ #if: {{{afl|}}} | &nbsp;·&nbsp; | {{ #if: {{{espn|}}} | &nbsp;·&nbsp; | {{ #if: {{{cbs|}}} | &nbsp;·&nbsp; | {{ #if: {{{yahoo|}}} | &nbsp;·&nbsp; | {{ #if: {{{fox|}}} | &nbsp;·&nbsp; | {{ #if: {{{pfr|}}} | &nbsp;·&nbsp; | {{ #if: {{{si|}}} | &nbsp;·&nbsp; | {{ #if: {{{rotoworld|}}} | &nbsp;·&nbsp; | {{ #if: {{{dbf|}}} | &nbsp;·&nbsp; | }} }} }} }} }} }} }} }} }} }} }}{{ #if: {{{cfl|}}} | [https://www.cfl.ca/index.php?module=roster&func=display&ros_id={{{cfl}}} CFL.ca]{{ #if: {{{espn|}}} | &nbsp;·&nbsp; | {{ #if: {{{afl|}}} | &nbsp;·&nbsp; | {{ #if: {{{cbs|}}} | &nbsp;·&nbsp; | {{ #if: {{{yahoo|}}} | &nbsp;·&nbsp; | {{ #if: {{{fox|}}} | &nbsp;·&nbsp; | {{ #if: {{{si|}}} | &nbsp;·&nbsp; | {{ #if: {{{pfr|}}} | &nbsp;·&nbsp; | {{ #if: {{{rotoworld|}}} | &nbsp;·&nbsp; | {{ #if: {{{dbf|}}} | &nbsp;·&nbsp; | }} }} }} }} }} }} }} }} }} }}{{ #if: {{{afl|}}} | [http://www.arenafan.com/players/{{{afl}}}/ ArenaFan]{{ #if: {{{espn|}}} | &nbsp;·&nbsp; | {{ #if: {{{cbs|}}} | &nbsp;·&nbsp; | {{ #if: {{{yahoo|}}} | &nbsp;·&nbsp; | {{ #if: {{{fox|}}} | &nbsp;·&nbsp; | {{ #if: {{{si|}}} | &nbsp;·&nbsp; | {{ #if: {{{pfr|}}} | &nbsp;·&nbsp; | {{ #if: {{{rotoworld|}}} | &nbsp;·&nbsp; | {{ #if: {{{dbf|}}} | &nbsp;·&nbsp; | }} }} }} }} }} }} }} }} }}{{ #if: {{{espn|}}} | [http://www.espn.com/nfl/player/stats/_/id/{{{espn}}} ESPN]{{ #if: {{{cbs|}}} | &nbsp;·&nbsp; | {{ #if: {{{yahoo|}}} | &nbsp;·&nbsp; | {{ #if: {{{fox|}}} | &nbsp;·&nbsp; | {{ #if: {{{si|}}} | &nbsp;·&nbsp; | {{ #if: {{{pfr|}}} | &nbsp;·&nbsp; | {{ #if: {{{rotoworld|}}} | &nbsp;·&nbsp; | {{ #if: {{{dbf|}}} | &nbsp;·&nbsp; | }} }} }} }} }} }} }} }}{{ #if: {{{cbs|}}} | [https://www.cbssports.com/nfl/players/playerpage/{{{cbs}}} CBS Sports]{{ #if: {{{yahoo|}}} | &nbsp;·&nbsp; | {{ #if: {{{fox|}}} | &nbsp;·&nbsp; | {{ #if: {{{si|}}} | &nbsp;·&nbsp; | {{ #if: {{{pfr|}}} | &nbsp;·&nbsp; | {{ #if: {{{rotoworld|}}} | &nbsp;·&nbsp; | {{ #if: {{{dbf|}}} | &nbsp;·&nbsp; | }} }} }} }} }} }} }}{{ #if: {{{yahoo|}}} | [https://sports.yahoo.com/nfl/players/{{{yahoo}}}/ Yahoo! Sports]{{ #if: {{{fox|}}} | &nbsp;·&nbsp; | {{ #if: {{{si|}}} | &nbsp;·&nbsp; | {{ #if: {{{pfr|}}} | &nbsp;·&nbsp; | {{ #if: {{{rotoworld|}}} | &nbsp;·&nbsp; | {{ #if: {{{dbf|}}} | &nbsp;·&nbsp; | }} }} }} }} }} }}{{ #if: {{{fox|}}} | [http://msn.foxsports.com/nfl/player/{{{fox}}} Fox Sports]{{ #if: {{{si|}}} | &nbsp;·&nbsp; | {{ #if: {{{pfr|}}} | &nbsp;·&nbsp; | {{ #if: {{{rotoworld|}}} | &nbsp;·&nbsp; | {{ #if: {{{dbf|}}} | &nbsp;·&nbsp; | }} }} }} }} }}{{ #if: {{{si|}}} | [http://sportsillustrated.cnn.com/football/nfl/players/{{{si}}}/ SI.com]{{ #if: {{{pfr|}}} | &nbsp;·&nbsp; | {{ #if: {{{rotoworld|}}} | &nbsp;·&nbsp; | {{ #if: {{{dbf|}}} | &nbsp;·&nbsp; | }} }} }} }}{{ #if: {{{pfr|}}} | [https://www.pro-football-reference.com/players/{{#invoke:String|replace|source={{{pfr}}}|pattern=^(%u)(%a)|replace=%1/%1%2|count=1|plain=false}}.htm Pro Football Reference]{{ #if: {{{rotoworld|}}} | &nbsp;·&nbsp; | {{ #if: {{{dbf|}}} | &nbsp;·&nbsp; | }} }} }}{{ #if: {{{rotoworld|}}} | [https://www.rotoworld.com/player/nfl/{{{rotoworld}}} Rotoworld]{{ #if: {{{dbf|}}} | &nbsp;·&nbsp; | |}} }}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 09:24, 24 June 2020

  • 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