Difference between revisions of "Template:Footballstats/doc"
Jump to navigation
Jump to search
imported>Eagles247 (update for new NFL.com URL format) |
imported>Bagumba (→Examples: unclear why this is commented out) |
||
(One intermediate revision by one other user not shown) | |||
Line 16: | Line 16: | ||
*<code>{{tlx|{{BASEPAGENAME}}|nfl{{=}}peyton-manning|cfl{{=}}|afl{{=}}|espn{{=}}1428 |cbs{{=}}12531 |yahoo{{=}}4256 |fox{{=}}69814 |si{{=}}4256 |pfr{{=}}M/MannPe00 |rotoworld{{=}}1493 }}</code> | *<code>{{tlx|{{BASEPAGENAME}}|nfl{{=}}peyton-manning|cfl{{=}}|afl{{=}}|espn{{=}}1428 |cbs{{=}}12531 |yahoo{{=}}4256 |fox{{=}}69814 |si{{=}}4256 |pfr{{=}}M/MannPe00 |rotoworld{{=}}1493 }}</code> | ||
− | {{{{BASEPAGENAME}} | + | {{{{BASEPAGENAME}} |nfl=peyton-manning |cfl= |afl= |espn=1428 |cbs=12531 |yahoo=4256 |fox=69814 |si=4256 |pfr=M/MannPe00 |rotoworld=1493 }} |
Example for CFL and AFL player: | Example for CFL and AFL player: | ||
Line 34: | Line 34: | ||
| | | | ||
| {{plainlist|1= | | {{plainlist|1= | ||
− | * <small>< | + | * <small><code><nowiki>http://www.nfl.com/players/{{{nfl}}}</nowiki></code></small> |
* <small>Example: http://www.nfl.com/players/peyton-manning</small> | * <small>Example: http://www.nfl.com/players/peyton-manning</small> | ||
}} | }} | ||
Line 42: | Line 42: | ||
| | | | ||
| {{plainlist|1= | | {{plainlist|1= | ||
− | * <small>< | + | * <small><code><nowiki>https://www.cfl.ca/index.php?module=roster&func=display&ros_id={{{cfl}}}</nowiki></code></small> |
* <small>Example (dead link): https://www.cfl.ca/index.php?module=roster&func=display&ros_id=779</small> | * <small>Example (dead link): https://www.cfl.ca/index.php?module=roster&func=display&ros_id=779</small> | ||
* <small>Alternative (dead link): http://cfl.ca/roster/show?id=779 ([https://web.archive.org/web/20130813121516/http://cfl.ca/roster/show?id=779 archived copy])</small> | * <small>Alternative (dead link): http://cfl.ca/roster/show?id=779 ([https://web.archive.org/web/20130813121516/http://cfl.ca/roster/show?id=779 archived copy])</small> | ||
Line 52: | Line 52: | ||
| | | | ||
| {{plainlist|1= | | {{plainlist|1= | ||
− | * <small>< | + | * <small><code><nowiki>http://www.arenafan.com/players/{{{afl}}}/</nowiki></code></small> |
* <small>Example: http://www.arenafan.com/players/3760/</small> | * <small>Example: http://www.arenafan.com/players/3760/</small> | ||
}} | }} | ||
Line 60: | Line 60: | ||
| {{tl|ESPN NFL}}<br />[[Wikidata:Property:P3686]] | | {{tl|ESPN NFL}}<br />[[Wikidata:Property:P3686]] | ||
| {{plainlist|1= | | {{plainlist|1= | ||
− | * <small>< | + | * <small><code><nowiki>https://www.espn.com/nfl/player/stats/_/id/{{{espn}}}</nowiki></code> <!-- http://sports.espn.go.com/nfl/players/profile?playerId={{{espn}}} --></small> |
* <small>Example: https://www.espn.com/nfl/player/stats/_/id/1428 <!-- http://sports.espn.go.com/nfl/players/profile?playerId=1428 --></small> | * <small>Example: https://www.espn.com/nfl/player/stats/_/id/1428 <!-- http://sports.espn.go.com/nfl/players/profile?playerId=1428 --></small> | ||
}} | }} | ||
Line 68: | Line 68: | ||
| | | | ||
| {{plainlist|1= | | {{plainlist|1= | ||
− | * <small>< | + | * <small><code><nowiki>https://www.cbssports.com/nfl/players/playerpage/{{{cbs}}}</nowiki></code> <!--http://www.sportsline.com/nfl/players/playerpage/{{{cbs}}} --></small> |
* <small>Example: https://www.cbssports.com/nfl/players/playerpage/12531 <!-- http://www.sportsline.com/nfl/players/playerpage/12531 --></small> | * <small>Example: https://www.cbssports.com/nfl/players/playerpage/12531 <!-- http://www.sportsline.com/nfl/players/playerpage/12531 --></small> | ||
}} | }} | ||
Line 76: | Line 76: | ||
| | | | ||
| {{plainlist|1= | | {{plainlist|1= | ||
− | * <small>< | + | * <small><code><nowiki>https://sports.yahoo.com/nfl/players/{{{yahoo}}}/</nowiki></code></small> |
* <small>Example: https://sports.yahoo.com/nfl/players/4256/</small> | * <small>Example: https://sports.yahoo.com/nfl/players/4256/</small> | ||
}} | }} | ||
Line 84: | Line 84: | ||
| | | | ||
| {{plainlist|1= | | {{plainlist|1= | ||
− | * <small>< | + | * <small><code><nowiki>http://msn.foxsports.com/nfl/player/{{{fox}}}</nowiki></code></small> |
* <small>Example (dead link): http://msn.foxsports.com/nfl/player/69814</small> | * <small>Example (dead link): http://msn.foxsports.com/nfl/player/69814</small> | ||
* <small>Archive: https://web.archive.org/web/20091126165953/http://msn.foxsports.com/nfl/player/69814</small> | * <small>Archive: https://web.archive.org/web/20091126165953/http://msn.foxsports.com/nfl/player/69814</small> | ||
Line 93: | Line 93: | ||
| | | | ||
| {{plainlist|1= | | {{plainlist|1= | ||
− | * <small>< | + | * <small><code><nowiki>http://sportsillustrated.cnn.com/football/nfl/players/{{{si}}}/</nowiki></code></small> |
* <small>Example (dead link): http://sportsillustrated.cnn.com/football/nfl/players/4256/</small> | * <small>Example (dead link): http://sportsillustrated.cnn.com/football/nfl/players/4256/</small> | ||
* <small>Archive: https://web.archive.org/web/20130129141004/http://sportsillustrated.cnn.com/football/nfl/players/4256/</small> | * <small>Archive: https://web.archive.org/web/20130129141004/http://sportsillustrated.cnn.com/football/nfl/players/4256/</small> | ||
Line 102: | Line 102: | ||
| | | | ||
| {{plainlist|1= | | {{plainlist|1= | ||
− | * <small>< | + | * <small><code><nowiki>https://www.pro-football-reference.com/players/{{{pfr}}}.htm</nowiki></code></small> |
* <small>Example: https://www.pro-football-reference.com/players/M/MannPe00.htm</small> | * <small>Example: https://www.pro-football-reference.com/players/M/MannPe00.htm</small> | ||
}} | }} | ||
Line 110: | Line 110: | ||
| | | | ||
| {{plainlist|1= | | {{plainlist|1= | ||
− | * <small>< | + | * <small><code><nowiki>http://www.rotoworld.com/player/nfl/{{{rotoworld}}}</nowiki></code> <!-- http://www.rotoworld.com/content/playerpages/player_main.aspx?sport=NFL&id={{{rotoworld}}} --></small> |
* <small>Example: http://www.rotoworld.com/player/nfl/1493 <!-- http://www.rotoworld.com/content/playerpages/player_main.aspx?sport=NFL&id=1493 --></small> | * <small>Example: http://www.rotoworld.com/player/nfl/1493 <!-- http://www.rotoworld.com/content/playerpages/player_main.aspx?sport=NFL&id=1493 --></small> | ||
}} | }} |
Latest revision as of 09:55, 24 June 2020
![]() | This is a documentation subpage for Template:Footballstats. It contains usage information, categories and other content that is not part of the original template page. |
![]() | This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
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=peyton-manning|cfl=|afl=|espn=1428|cbs=12531|yahoo=4256|fox=69814|si=4256|pfr=M/MannPe00|rotoworld=1493}}
- Career statistics and player information from NFL.com · ESPN · CBS Sports · Yahoo! Sports · Fox Sports · SI.com · Pro Football Reference · Rotoworld
Example for CFL and AFL player:
{{Footballstats|cfl=779|afl=3760}}
- Career statistics and player information from CFL.ca · ArenaFan
Parameters