Template:WDFFlag
Appearance
This creates a link with flag to WDF Darts players. This invokes the module and gets players from Module:DartsRankings/data/WDF Players
Usage
[edit]{{WDFFlag|Player name|avg=123.45}}
- Player name is the name of the player used by the WDF 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
Examples
[edit]Wiki markup | alignment | Displays | Links to |
---|---|---|---|
{{WDFFlag|Thibault Tricole}} |
left | Thibault Tricole | Thibault Tricole |
{{WDFFlag|Wayne Warren}} |
Wayne Warren | Wayne Warren | |
{{WDFFlag|Justin Thompson|avg=111.09|b=1}} |
Justin Thompson 111.09 | Justin Thompson (darts player) | |
{{WDFFlag|Stefan Bellmont|avg=104.67}} |
Stefan Bellmont 104.67 | Stefan Bellmont | |
{{WDFFlag|Mickey Mouse}} |
Mickey Mouse | Mickey Mouse (Missing flag indicates player not in library) | |
{{WDFFlag|wesley harms|avg=98.57}} |
Wesley Harms 98.57 | Wesley Harms | |
{{WDFFlag|Martin Atkins (Leeds)|b=y}} |
Martin Atkins | Martin Atkins (darts player, born 1965) | |
{{WDFFlag|Michael Unterbuchner}} |
Michael Unterbuchner | nothing, template suppresses redlinks | |
{{WDFFlag|Michael Unterbuchner|nolink=0}} |
Michael Unterbuchner | Michael Unterbuchner | |
{{WDFFlag|Paul Hogan|nolink=1}} |
Paul Hogan | nothing, link suppressed by args | |
{{WDFFlag|Scott Taylor|flag=GBR}} |
Scott Taylor | Scott Taylor (darts player) | |
{{WDFFlag|txt=George Washington|flag=USA|avg=100.17}} |
George Washington 100.17 | n/a | |
{{WDFFlag|Richard Veenstra|txt=(2)|avg=113.12}} |
Richard Veenstra (2) 113.12 | Richard Veenstra |