模組:Team appearances list/doc
外观
这是Module:Team appearances list的文档页面
![]() | 此模块文档已评为通行版,稳定可靠,可各处使用无误。已可在帮助页面和其他维基百科资源中提及,以帮助新用户学习。为降低服务器负载和错误输出,改善本模块前应进行沙盒测试,而不是重复的试错性编辑。 |
本模块为{{Team appearances list}}所使用,需要了解更详细的用法请查阅该模板的文档。
模块
- Module:Team appearances list · Module:Team appearances list/sandbox · same content
- Module:Team appearances list/data · Module:Team appearances list/data/sandbox · same content
- Module:Team appearances list/show · Module:Team appearances list/show/sandbox · same content
本模块为{{Team appearances list}}所使用,以便返回一个国家和地区在某一项特定赛事的参赛记录,该记录以水平列表的形式呈现。每一个列表项均为内链,链接至某一年份该国家和地区的代表团条目,如果该国家和地区在某一年份未参加该赛事,则相应年份处会以灰色显示。
如果调用该模块时有输入begin_year
和end_year
这两个参数,则这两个参数的值会覆盖在Module:Team appearances list/data当中默认设定的begin_year
和end_year
参数值。
本模块的全部数据均存于Module:Team appearances list/data,详细的数据定义请参阅该模块的文档。
Errors
Parameters provided by the template are validated using the following rules.
Always: competition required : non-empty string team required : non-empty string If competition is defined in data module: begin_year optional : number from 1800 to 2100 inclusive end_year optional : as above (and end_year >= begin_year) else: begin_year required : as above end_year optional : as above interval required : number from 1 to 30 inclusive
An invalid parameter causes an error to be displayed and places the page in the hidden category Category:Pages with script errors.