Template:Player

From CoCWiki

Jump to: navigation, search


Documentation

Contents

Parameters

  • name - Username of player.
  • stripName - This is required only if the player has a space in their name. Replace the spaces with +'s. So, Lawyer Mico becomes Lawyer+Mico. If there are no spaces in the user's name, ignore this. Another use: If you would like to put, for instance a nickname as the heading without breaking the link to the stats, put their real name as stripName and their nickname as name.
  • image - The name of the player's rank's image, for example Private.gif.
  • size - The size of the image, set to 50 by default.
  • rank - 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.
  • 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.
  • footnotes - extra text at the bottom

Example

{{Player
|name=KAding
|image=E4a.gif
|size=48px
|rank=Corporal
|ag=KFG
|pps=1658
|eff=.620
|kdr=.899
|games=239
|names=none
}}

Looks like:

KAding

KAding currently has the rank of Corporal.
Member of: KFG
Approximate PPs: 1658
Approximate Efficency: .620
Approximate KDR: .899
Approximate Games Played: 239
Previous Names: none


To make the box float to the right, as you'll usually want, use:

{|align="right"
|{{Player
...options...
}}
|}
Personal tools