Template:PDCFlag
Jump to navigation
Jump to search
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
| File:Lua-Logo.svg | This template uses Lua: |
This creates a link with flag to PDC Darts players. This invokes the module and gets players from Module:DartsRankings/data/PDC Players
Usage
{{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
Template:PDCFlagR gives a right positioning of the flag with the average on the left.