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

Content deleted Content added
m I updated the wiki-code formatting again.
Tag: Reverted
 
(13 intermediate revisions by 7 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", "alt primary", "alt secondary"},</syntaxhighlight>
 
=== Teams with historical color schemes ===
Line 15 ⟶ 17:
 
<syntaxhighlight lang="lua">
["team name"] = {"primary color", "secondary color", "tertiary color", "alt primary", "alt secondary",
{
["team name XXXXthruYYYY"] = {"primary color", "secondary color", "tertiary color", "alt primary", "alt secondary"},
["team name XXXXthruYYYY"] = "alternative team name",
["team name XXXXthruYYYY"] = "alternative team name XXXXthruYYYY"
Line 33 ⟶ 35:
 
<syntaxhighlight lang="lua">
["Gridiron Team"] = {"#dcdcdc", "", "none", "", "",
{
["Gridiron Team 1990thru2000"] = "Gridiron Team"
["Gridiron Team 1980thru1990"] = {"#dcdcdc", "", "none", "", ""}
}
},
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}}
}}
 
{{Sports color templates}}
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Sports color modules]]
}}</includeonly><noinclude>
[[Category:Module documentation pages]]
</noinclude>