模組:Gridiron color/doc

维基百科,自由的百科全书

这是Module:Gridiron color的文档页面

Implements:

Uses color data from Module:Gridiron color/data.

Usage

Debugging

Displays entire row from Module:Gridiron color/data for team and year passed in template call or using |team= and |year= (if omitted from invoke, module will take values from the template call):

{{#invoke:Gridiron color|test|team=team name (optional)|year=#### (optional)}}

Lua错误 在package.lua的第80行:module 'Module:Gridiron color/data/sandbox' not found

Return team color

Returns either raw color value or prefixed color value. |column= uses the following values:

  1. Primary color
  2. Secondary color
  3. Tertiary color
  4. Alternative primary color
  5. Alternative secondary color

Set |raw=true to display raw hex values. Team name and year passed in template call or specified using |team= and |year=:

{{#invoke:Gridiron color|color|column=#|raw=true (optional)|team=team name (optional)|year=#### (optional)}}

Lua错误 在package.lua的第80行:module 'Module:Gridiron color/data/sandbox' not found

Return team style

Returns complete CSS style for given team. A border will be displayed using the tertiary color if |border= is set to "true" (in which case the border will be 2px wide) or to a positive integer value (in which case the width will be the value specified in pixels). Team name and year passed in template call or specified using |team= and |year=:

{{#invoke:Gridiron color|style|border=# or yes (optional)|team=team name (optional)|year=#### (optional)}}

Lua错误 在package.lua的第80行:module 'Module:Gridiron color/data/sandbox' not found