قالب:AflRleague
{{{name}}}'s statistics from AFL Tables
قالب:AflRleague displays a uniformly formatted external link to an Australian Football League (AFL) player's profile page on the AFL Tables website.
Usage
Unnamed parameters:
{{AflRleague|ID}}{{AflRleague|ID|NAME}}
Named parameters (id, name):
{{AflRleague|id=ID}}{{AflRleague|id=ID|name=NAME}}
Named parameters (ref, alt):
{{AflRleague|ref=ID}}{{AflRleague|ref=ID|alt=NAME}}
The first parameter ("id" or "ref") is the exact folder and page name used in the URL at the AFL Tables website. This is in the form of FirstInitial/FirstName_LastName, such as B/Brendan_Fevola for http://afltables.com/afl/stats/players/B/Brendan_Fevola.html. Where multiple players have the same name, the usual system is to add a number, such as N/Nathan_Brown0, N/Nathan_Brown1, or N/Nathan_Brown2.
The second parameter ("name" or "alt") is an optional alternative parameter to specify a player's name. If not given it defaults to the Wikipedia article name, without any disambiguation such as (footballer). This parameter is only needed if you want to display text other than the article name.
TemplateData
AflRleague
This template displays a uniformly formatted external link to an Australian Football League (AFL) player's profile page on the AFL Tables website (afltables.com).
| وسيط | وصف | نوع | حالة | |
|---|---|---|---|---|
| ID | 1 id ref | Player ID portion of the URL. Example: B/Brendan_Fevola is the ID in http://afltables.com/afl/stats/players/B/Brendan_Fevola.html
| نص | مطلوب |
| Name | 2 name alt | Name of player. If not given it defaults to the Wikipedia article name, without any disambiguation such as (footballer).
| نص | اختياري |
Examples
Unnamed parameters
Usage: {{AflRleague | B/Brendan_Fevola | Brendan Fevola }}
- Output: Brendan Fevola's statistics from AFL Tables
- URL: http://afltables.com/afl/stats/players/B/Brendan_Fevola.html
Named parameters: id, name
Usage: {{AflRleague |id= N/Nathan_Brown0 |name= Nathan D. Brown }}
- Output: Nathan D. Brown's statistics from AFL Tables
- URL: http://afltables.com/afl/stats/players/N/Nathan_Brown0.html
Named parameters: alt, ref
Usage: {{AflRleague |ref= N/Nathan_Brown1 |alt= Nathan G. Brown }}
- Output: Nathan G. Brown's statistics from AFL Tables
- URL: http://afltables.com/afl/stats/players/N/Nathan_Brown1.html
| The above documentation is transcluded from قالب:AflRleague/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |