Difference between revisions of "Template:Footballstats/doc"
Jump to navigation
Jump to search
imported>Vanisaac m (→Parameters: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
imported>Eagles247 (update for new NFL.com URL format) |
||
| Line 15: | Line 15: | ||
Example for [[Peyton Manning]]: | Example for [[Peyton Manning]]: | ||
| − | *<code>{{tlx|{{BASEPAGENAME}}|nfl{{=}} | + | *<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}} <!--|nfl= | + | {{{{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 39: | Line 34: | ||
| | | | ||
| {{plainlist|1= | | {{plainlist|1= | ||
| − | * <small><tt><nowiki>http://www.nfl.com/players/ | + | * <small><tt><nowiki>http://www.nfl.com/players/{{{nfl}}}</nowiki></tt></small> |
| − | * <small>Example: http://www.nfl.com/players/ | + | * <small>Example: http://www.nfl.com/players/peyton-manning</small> |
| − | |||
}} | }} | ||
|- | |- | ||
Revision as of 16:47, 21 May 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
Example for CFL and AFL player:
{{Footballstats|cfl=779|afl=3760}}- Career statistics and player information from CFL.ca · ArenaFan
Parameters