Template:Player/doc
From QWiki
Used for players and teams.
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. Leave empty for .
- |link=
- There's three options:
- link=true or empty
- Links the player name to the QWiki 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=abbr
- Player gets a dashed underline you can hover to read explanation. Requires |abbr= to be none-empty.
- link=anything
- Links the player's name to anything.
- |abbr=
- Abbreviation text that will display on hover, could be an array of players the team consist of. Requires |link=abbr to be set.
Example
This code:
{{player|Hib|flag=fi}} {{player|}} {{player|Kylo Ren|flag=se|link=shaka}} {{player|Team Brazil|flag=br|link=abbr|abbr=GT, mur & lit}} {{player|Ihasnowikipage|flag=us|link=false}}
Returns this: