Template:UFC/doc

Template:UFC展示终极格斗冠军赛(UFC)官方网站UFC.com选手资料页的外部链接。

用法

不带参数
{{UFC | ID }}
{{UFC | ID | NAME }}
{{UFC | ID | NAME | ACCESS DATE }}
带参数
{{UFC | id= ID }}
{{UFC | id= ID | name= NAME }}
{{UFC | id= ID | name= NAME | accessdate= ACCESS DATE }}

示例

外部链接

用法:

* {{UFC | ken-shamrock | Ken Shamrock }}
* {{UFC | id= ken-shamrock | name= Ken Shamrock }}

输出结果:

现用链接:

https://www.ufc.com/athlete/ken-shamrock

旧链接:

http://www.ufc.com/fighter/Ken-Shamrock (archive)

参考资料

用法:

* {{UFC | amanda-nunes | Amanda Nunes | April 26, 2019 }}
* {{UFC | id= amanda-nunes | name= Amanda Nunes | accessdate= 26 April 2019 }}

输出结果:

  • Amanda Nunes. Ultimate Fighting Championship. [April 26, 2019]. 
  • Amanda Nunes. Ultimate Fighting Championship. [26 April 2019]. 

现用链接:

https://www.ufc.com/athlete/amanda-nunes

旧链接:

http://www.ufc.com/fighter/Amanda-Nunes (archive)

未指定ID参数显示结果

用法:

* {{UFC}}

输出:

  • {{UFC}}模板缺乏ID

参见