Template:Player/doc

From QWiki
< Template:Player
Revision as of 06:33, 24 April 2017 by Bps (talk | contribs)

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
|flag=
name country of which the player comes from and this returns with the flag of said country in front of the name
|race=
fill in the race of the player as initial or name this returns the corresponding race icon in front of the name.
|link=
There's three options:
link=true
Links the players name to the Liquipedia page with that name.
Note: This is the default. link=true behaves the same as simply not specifying a link= parameter.
link=false
Player's name is not linked.
link=other
Links the player's name to other.

Example

This code:

{{player|Nony|flag=us|link=false}}
{{player|Ret|hs=race|race=Z|flag=Netherlands}}
{{player|Ihasnowikipage|hs=race|race=Z|flag=se}}

Returns this:

United States Nony
Netherlands Ret
Sweden Ihasnowikipage