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

Content deleted Content added
I removed the tertiary color option from this documentation.
Tag: Reverted
 
(4 intermediate revisions by 3 users not shown)
Line 10:
=== Normal team formatting ===
 
<syntaxhighlight lang="lua">["team name"] = {"primary color", "secondary color", "alternativetertiary color", "alt primary", "alternativealt secondary"},</syntaxhighlight>
 
=== Teams with historical color schemes ===
Line 17:
 
<syntaxhighlight lang="lua">
["team name"] = {"primary color", "secondary color", "alternativetertiary color", "alt primary", "alternativealt secondary",
{
["team name XXXXthruYYYY"] = {"primary color", "secondary color", "alternativetertiary color", "alt primary", "alternativealt secondary"},
["team name XXXXthruYYYY"] = "alternative team name",
["team name XXXXthruYYYY"] = "alternative team name XXXXthruYYYY"
Line 35:
 
<syntaxhighlight lang="lua">
["Gridiron Team"] = {"#dcdcdc", "", "none", "", "",
{
["Gridiron Team 1990thru2000"] = "Gridiron Team"
Line 49:
== Test table ==
{{#ifeq:{{SUBPAGENAME}}|sandbox
|{{#invoke:Gridiron color/contrast|testtable|columns=45|sport=data/sandbox|style=background:#FDFDFD}}
|{{#invoke:Gridiron color/contrast|testtable|columns=45|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>