Template:PDCFlag/doc
Jump to navigation
Jump to search
| This is a documentation subpage for Template:PDCFlag. It may contain usage information, categories and other content that is not part of the original template page. |
| 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
[edit source]{{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 source]Template:PDCFlagR gives a right positioning of the flag with the average on the left.