Jump to content

User:Aditya.krishnan.82/Cricket Player/doc

From Wikipedia, the free encyclopedia

Usage

[edit]
{{Cricket Player
| player       =
| captain      = true / false
| vicecaptain  = true / false
| keeper       = true / false
| playerdob    = true / false
| playerbat    = true / false
| playerbowl   = true / false
| playerteam   = true / false
}}

Use this template to display details of a cricketer. The captain, vicecaptain & keeper parameters add symbols to represent the special status of the player after the player's name. The other parameters decide the columns to display.

This should be used after the User:Aditya.krishnan.82/Cricket Player List Header is used to create the table and must be followed by a "|}" to end the table.

Source of Information
This template requires the characteristics of the player included in the template to have information stored as meta tags in their Template page. The table below explains where the information for each characteristic is received from.

Information Source Example Comments
Player's Wiki Page Provided in this template Alan Turner (cricketer)
Player's name Template:Player's Wiki Page/meta/alias Template:Alan Turner (cricketer)/meta/alias If this meta tag does not exist, the Wiki Page title would be retained.
Date of Birth Template:Player's Wiki Page/meta/dob Template:Alan Turner (cricketer)/meta/dob
Batting Style Template:Player's Wiki Page/meta/bat Template:Alan Turner (cricketer)/meta/bat
Bowling Style Template:Player's Wiki Page/meta/bowl Template:Alan Turner (cricketer)/meta/bowl
First Class Team Template:Player's Wiki Page/meta/1stclass Template:Alan Turner (cricketer)/meta/1stclass

Examples:

Player Date of Birth Batting Style Bowling Style First class team
Sunil Gavaskar 10 July 1949 Right hand Right arm medium
Right arm offbreak
India Mumbai


Player Date of Birth Batting Style Bowling Style First class team
Clive Lloyd  (c) 31 August 1944 Left hand Right arm medium Guyana Guyana

See also

[edit]