Template:UFC/doc
Appearance
This is a documentation subpage for Template:UFC. It may contain usage information, categories and other content that is not part of the original template page. |
This template is a Citation Style 1 wrapper template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
This template uses the Wikidata property:
- UFC athlete ID (P9722) (see uses)
This template uses Lua: |
Template:UFC displays an external link or citation to a profile page at UFC.com, the official website of Ultimate Fighting Championship (UFC).
Usage
[edit]- Unnamed parameters
{{UFC | ID }}
{{UFC | ID | NAME }}
{{UFC | ID | NAME | ACCESS DATE }}
- Named parameters
{{UFC | id= ID }}
{{UFC | id= ID | name= NAME }}
{{UFC | id= ID | name= NAME | access-date= ACCESS DATE }}
- Using Wikidata property UFC athlete ID (P9722)
{{UFC}}
{{UFC | name= NAME }}
{{UFC | name= NAME | access-date= ACCESS DATE }}
Examples
[edit]External link
[edit]- Usage and output
* {{UFC | ken-shamrock | Ken Shamrock }}
- Ken Shamrock at UFC
* {{UFC | id= ken-shamrock | name= Ken Shamrock }}
- Ken Shamrock at UFC
- Current URL
- https://www.ufc.com/athlete/ken-shamrock
- Former URL (redirect to current URL)
- http://www.ufc.com/fighter/Ken-Shamrock (archive)
Citation
[edit]- Usage and output
* {{UFC | amanda-nunes | Amanda Nunes | April 26, 2019 }}
- "Amanda Nunes". UFC. Retrieved April 26, 2019.
* {{UFC | id= amanda-nunes | name= Amanda Nunes | access-date= 26 April 2019 }}
- "Amanda Nunes". UFC. Retrieved 26 April 2019.
- Current URL
- https://www.ufc.com/athlete/amanda-nunes
- Former URL (redirect to current URL)
- http://www.ufc.com/fighter/Amanda-Nunes (archive)
No parameters and Wikidata property not defined
[edit]Usage:
* {{UFC}}
Output:
- {{UFC}} template missing ID and not present in Wikidata.
Tracking categories
[edit]- template with ID
- Category:UFC template with ID different from Wikidata (22)
- Category:UFC template with ID not in Wikidata (20)
- template missing ID
See also
[edit]External links
[edit]