• Home
  • Random
  • Log in
  • Settings
  • About English Wikipedia @ Freddythechick
English Wikipedia @ Freddythechick

Template:WDFFlag

  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]

This creates a link with flag to WDF Darts players. This invokes the module and gets players from Module:DartsRankings/data/WDF Players

Usage

{{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

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}} United States George Washington 100.17 n/a
{{WDFFlag|Richard Veenstra|txt=(2)|avg=113.12}}  Richard Veenstra (2) 113.12 Richard Veenstra
The above documentation is transcluded from Template:WDFFlag/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://enwiki.freddythechick.net/index.php?title=Template:WDFFlag&oldid=2560444"
Last edited on 7 December 2021, at 21:13

Languages

      This page is not available in other languages.

      English Wikipedia @ Freddythechick
      • This page was last edited on 7 December 2021, at 21:13.
      • Content is available under Creative Commons Attribution-ShareAlike 4.0 unless otherwise noted.
      • About English Wikipedia @ Freddythechick
      • Desktop