Template:Player
From CoCWiki
Documentation
Contents |
Parameters
All parameters are optional unless it says otherwise below.
- borderstyle - Defines how the border will look. See the CSS border-style property for valid values. Set to outset by default.
- name - Required: Username of player, used to create a link to their profile.
- nickname - The name shown to people viewing the template.
- image - The name of the player's rank's image, for example Private.png. If not specified, defaults to rank.png.
- size - The size of the image. The height is set to 90px by default. Note: Right now, this value must end with 'px'.
- rank - Required: Player's rank, for example Private.
- ag - The ag the player is in.
- pps - Estimated amount of pps the player has.
- eff - The player's efficiency.
- reff - The player's rolling efficiency.
- kdr - An estimation of the player's kdr.
- games - An estimation of the amount of games the player has played.
- names - Previous names the player may have had.
- awards - Medals or special statuses this player may have.
- nocat - If set, does not include the page in Category:Player.
Example
{{Player
|name=mrDaking
|nickname=KAding
|rank=Corporal
|ag=KFG
|pps=1658
|eff=.620
|reff=.705
|kdr=.899
|games=239
|names=KAding
}}
Looks like:
| KAding | |
| KAding currently has the rank of Corporal. | |
| Current user name: | mrDaking |
|---|---|
| Member of | KFG |
| PPs | 1658 |
| Efficency | .620 |
| Rolling Efficiency | .705 |
| KDR | .899 |
| Games Played | 239 |
| Previous names | KAding |
To make the box float to the right, as you'll usually want, use:
{|align="right"
|{{Player
...options...
}}
|}
