模组:College color/doc
这是Module:College color的文档页面
此模块文档被引用于约2,100个页面。 为了避免造成大规模的影响,所有对此模块文档的编辑应先于沙盒或测试样例上测试。 测试后无误的版本可以一次性地加入此模块文档中,但是修改前请务必于讨论页发起讨论。 模板引用数量会自动更新。 |
此模块文档已评为beta版,可广泛使用。因其新近完成,请谨慎使用,以确保输出结果符合预期。 |
此模块使用Lua语言: |
This module implements the colors for college athletic programs and is used by
- {{GotCollegeColorsFor}} - to check if colors are known for the given team.
- {{CollegePrimaryHex}}, {{CollegePrimaryStyle}}, {{CollegePrimaryColorLink}}, {{CollegePrimaryHeader}}
- {{CollegeSecondaryHex}}, {{CollegeSecondaryStyle}}, {{CollegeSecondaryColorLink}}, {{CollegeSecondaryHeader}}
- {{NCAA color}}, {{NCAA color cell}}, {{NCAA secondary color cell}}
- {{Infobox baseball biography/style}}
- {{Infobox basketball biography/style}}
- {{CBB roster/Header}}
- {{College color list}}, {{College color boxes}}
Usage
{{#invoke:College color|color}}
in the NCAA color template{{#invoke:College color|color1}}
in the primary color template{{#invoke:College color|color32}}
in the secondary color template{{#invoke:College color|style1}}
in the primary style template{{#invoke:College color|style2}}
in the secondary style template{{#invoke:College color|header1}}
in the primary header style of an infobox{{#invoke:College color|header2}}
in the secondary header style of an infobox{{#invoke:College color|tablehead1}}
in the primary header style of a wikitable{{#invoke:College color|tablehead2}}
in the secondary header style of a wikitable{{#invoke:College color|stripe1}}
in the primary header style of an infobox{{#invoke:College color|list}}
in the|colors=
field of an infobox{{#invoke:College color|boxes}}
in the|colors=
field of an infobox{{#invoke:College color|check}}
to check to see if a team has defined colors
Updating team colors
See Module:college color/data.
测试用表
#invoke:College color/contrast