Module:Gridiron color/data/doc: Difference between revisions

Content deleted Content added
Undid revision 1122996689 by Charlesaaronthompson (talk) Never mind.
 
(3 intermediate revisions by 3 users not shown)
Line 10:
=== Normal team formatting ===
 
<syntaxhighlight lang="lua">["team name"] = {"primary color", "secondary color", "tertiary color", "alternativealt primary", "alternativealt secondary"},</syntaxhighlight>
 
=== Teams with historical color schemes ===
Line 17:
 
<syntaxhighlight lang="lua">
["team name"] = {"primary color", "secondary color", "tertiary color", "alternativealt primary", "alternativealt secondary",
{
["team name XXXXthruYYYY"] = {"primary color", "secondary color", "tertiary color", "alternativealt primary", "alternativealt secondary"},
["team name XXXXthruYYYY"] = "alternative team name",
["team name XXXXthruYYYY"] = "alternative team name XXXXthruYYYY"
Line 49:
== Test table ==
{{#ifeq:{{SUBPAGENAME}}|sandbox
|{{#invoke:Gridiron color/contrast|testtable|columns=5|sport=data/sandbox|style=background:#FDFDFD}}
|{{#invoke:Gridiron color/contrast|testtable|columns=5|sport=data|style=background:#FDFDFD}}
}}
 
Line 58:
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Sports color modules]]
}}</includeonly><noinclude>
[[Category:Module documentation pages]]
</noinclude>