Template:Brisplayer/doc

It is intended for use in the external links section of an article.

Usage
Unnamed parameters:

Named parameters (id, name):

Named parameters (link, alt):

No parameters (generates link based on Wikipedia article name, test first to ensure a working link):

Parameters

 * 1 (first unnamed parameter)
 * id
 * link
 * Any of these parameters may be used specify the portion of the URL specific to an individual player, such as allen-christensen in http://www.lions.com.au/player-profile/ . It defaults to the Wikipedia article name, without any disambiguation such as "(footballer)", converted to lower case and with a hyphen added after the first word. If used in the article for Allen Christensen (footballer), the default value is allen-christensen (which is correct, therefore this parameter would be optional). If used in the article for Claye Beams, the default value is claye-beams (which is not correct, so this parameter would be used with clayton-beams ).


 * 2 (second unnamed parameter)
 * name
 * alt
 * Any of these parameters may be used to specify the anchor text used for the external link, which should be the name of the player. It defaults to the Wikipedia article name, without any disambiguation such as "(footballer)". If used in an article named Allen Christensen (footballer), the default would be Allen Christensen. This parameter is always optional unless the anchor text should be different than the article name. For example, in the article Claye Beams the template might specify the name as Clayton Beams.

Unnamed parameters
URL:
 * http://www.lions.com.au/player-profile/

Usage:

Result:

Named parameters: id, name
URL:
 * http://www.lions.com.au/player-profile/

Usage:

Result:

Named parameters: link, alt
URL:
 * http://www.lions.com.au/player-profile/

Usage:

Result:

Using default values
If used in the article for Allen Christensen (footballer), this template automatically generates the correct ID allen-christensen and the following links would work:

If used in the article for Claye Beams, this template automatically generates an incorrect ID claye-beams. The correct ID clayton-beams must be specified: