Difference between revisions of "Template:Player/doc"
From QWiki
m |
m (→Example) |
||
Line 27: | Line 27: | ||
Returns this: | Returns this: | ||
− | :{{player|Nony|flag=us}} | + | :{{player|Nony|flag=us|link=false}} |
:{{player|Ret|flag=nl}} | :{{player|Ret|flag=nl}} | ||
:{{player|Ihasnowikipage|flag=se}} | :{{player|Ihasnowikipage|flag=se}} |
Revision as of 06:34, 24 April 2017
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:
- Nony
- Ret
- Ihasnowikipage