Template:PDCFlagR
Appearance
This creates a link with flag to PDC Darts players. This invokes the module and gets players from Module:DartsRankings/data/PDC Players
Usage
[edit]{{PDCFlag|Player name|avg=123.45}}
- Player name is the name of the player used by the PDC OoM.
- the avg parameter is optional and will display small gray text after the name, intended for player 3 dart average.
- the b parameter is optional and displays the player name in bold
- the flag parameter is optional and will replace the flag icon from the database.
- the txt parameter is optional and can be used for players not in the database, or for additional text between player name and average
- the no link parameter is optional and can force a link to be suppressed, or force a red link to appear
See also
[edit]Template:PDCFlagR gives a right positioning of the flag with the average on the left.
Examples
[edit]Wiki markup | alignment | Displays | Links to |
---|---|---|---|
{{PDCFlag|Michael van Gerwen}} |
left | ![]() |
Michael van Gerwen |
{{PDCFlag|Peter Wright}} |
![]() |
Peter Wright (darts player) | |
{{PDCFlag|Gary Anderson|avg=111.09|b=1}} |
![]() |
Gary Anderson (darts player) | |
{{PDCFlag|Stefan Bellmont|avg=104.67}} |
![]() |
Stefan Bellmont | |
{{PDCFlag|Mickey Mouse}} |
![]() |
Mickey Mouse (Missing flag indicates player not in library) | |
{{PDCFlag|mensur suljovic|avg=98.57}} |
![]() |
Mensur Suljović | |
{{PDCFlag|Martin Atkins (Wigan)|b=y}} |
![]() |
Martin Atkins (darts player, born 1975) | |
{{PDCFlag|Chengan Liu}} |
![]() |
nothing, template suppresses redlinks | |
{{PDCFlag|Chengan Liu|nolink=0}} |
![]() |
Chengan Liu | |
{{PDCFlag|Gerwyn Price|nolink=1}} |
![]() |
nothing, link suppressed by args | |
{{PDCFlag|Phil Taylor|flag=GBR}} |
![]() |
Phil Taylor (darts player) | |
{{PDCFlag|txt=George Washington|flag=USA|avg=100.17}} |
![]() |
n/a | |
{{PDCFlag|Michael van Gerwen|txt=(2)|avg=113.12}} |
![]() |
Michael van Gerwen | |
PDCFlagR | |||
{{PDCFlagR|Michael van Gerwen}} |
right | Michael van Gerwen ![]() |
Michael van Gerwen |
{{PDCFlagR|Gary Anderson|avg=111.09|b=1}} |
111.09 Gary Anderson ![]() |
Gary Anderson (darts player) | |
{{PDCFlagR|Stefan Bellmont|avg=104.67}} |
104.67 Stefan Bellmont ![]() |
Stefan Bellmont | |
{{PDCFlagR|Mickey Mouse}} |
Mickey Mouse ![]() |
nothing | |
{{PDCFlagR|Michael van Gerwen|txt=(2)|avg=113.12}} |
113.12 (2) Michael van Gerwen ![]() |
Michael van Gerwen | |
{{PDCFlagR|Peter Wright}} |
center | Peter Wright ![]() |
Peter Wright (darts player) |
{{PDCFlagR|mensur suljovic|avg=98.57}} |
left | 98.57 Mensur Suljović ![]() |
Mensur Suljović |
{{PDCFlagR|Martin Atkins (Wigan)|b=y}} |
Martin Atkins ![]() |
Martin Atkins (darts player, born 1975) |