Jump to content

සැකිල්ල:Sherdog/doc

විකිපීඩියා වෙතින්

සැකිල්ල:Sherdog displays an external link to Sherdog.com's Fight Finder. It should be used exclusively for professional MMA fighters.

Unnamed parameters:

Named parameters:

Using Wikidata property Sherdog fighter ID (P2818):

  1. Go to http://www.sherdog.com/fightfinder/fightfinder.asp and search for the fighter you're looking for
  2. The page URL should look like http://www.sherdog.com/fightfinder/fightfinder.asp?FighterID=###, where "###" indicates a number.
  3. Copy ONLY that number
  4. add the number to the Wikidata item for the fighter, using P2818
  5. Add to the external links section the text:
{{Sherdog}}

Alternative method

[සංස්කරණය]
  1. Add to the external links section the text:
{{Sherdog|id=###|name=XXX}}, where "###" is the number you've copied and "XXX" is the fighter's name.

Optionally, you can leave out name=XXX and the template will use the page's name for the name, i.e. {{Sherdog|id=###}}.

  1. Searching for first name "Randy" and last name "Couture", you'll get to this page: http://www.sherdog.com/fightfinder/fightfinder.asp?FighterID=166
  2. Copy "166" and then write:
{{Sherdog|id=166|name=Randy Couture}}

The result is Professional MMA record for Randy Couture from Sherdog

Note that, since this will almost certainly go on the external link section, you should add a * before the template text to include it as a list item.

ID in template

[සංස්කරණය]

URLs:

Usage in the article Ronda Rousey, with article name as link text:

Usage with name parameter as link text:

  • {{Sherdog|73073|Ronda Rousey}}
  • {{Sherdog|id= 73073|name= Ronda Rousey}}

Output:

ID in Wikidata

[සංස්කරණය]

URLs:

Usage in the article Ken Shamrock:

Output:

No ID in template or Wikidata

[සංස්කරණය]

Usage:

Output:

  • {{Sherdog}} template missing ID and not present in Wikidata.

Tracking categories

[සංස්කරණය]
[සංස්කරණය]


"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Sherdog/doc&oldid=705409" වෙතින් සම්ප්‍රවේශනය කෙරිණි