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

Content deleted Content added
columns=5
 
(10 intermediate revisions by 5 users not shown)
Line 1:
<!--{{tl|Module rating |<!-- Values: pre-alpha • alpha • beta • release • protected -- If a rating not needed/relevant, delete this template call }}-->
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{High-use}}
 
Data source for [[:Module:Gridiron color]] and [[:Module:Gridiron color/sandbox]]
 
Line 8 ⟶ 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 15 ⟶ 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 47 ⟶ 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 56 ⟶ 58:
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Sports color modules]]
}}</includeonly><noinclude>
[[Category:Module documentation pages]]
</noinclude>