Template:Player/doc

< Template:Player
Revision as of 09:51, 19 June 2015 by Warwolf30 (talk | contribs) (Created page with "This template allows for adding race icons and flags in a simple manner. If you do not wish to have a link use the {{tl|Playersp}} template instead. ==Usage== The variables...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template allows for adding race icons and flags in a simple manner. If you do not wish to have a link use the {{Playersp}} template instead.

Usage

The variables are:

|
the name of the player (or bot)
|race=
fill in the race of the player as initial or name this returns the corresponding race icon in front of the name.
|hs=
Set this to "name", "race" or "flag" to make the player sortable by the values that were set for the corresponding variable, if anything else is entered that will be used for the hidden sort field.

Example

This code:

{{player|Nony|race=P}}
{{player|Ret|hs=race|race=Z}}
{{player|Ihasnowikipage|hs=race|race=Z}}

Returns this:

Picon small.png Nony
ZZicon small.png Ret
ZZicon small.png Ihasnowikipage