<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3AGridiron_color%2Fdoc</id>
	<title>Module:Gridiron color/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3AGridiron_color%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Gridiron_color/doc&amp;action=history"/>
	<updated>2026-04-17T18:29:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:Gridiron_color/doc&amp;diff=136435&amp;oldid=prev</id>
		<title>imported&gt;Paine Ellsworth: fix High-use template in sandbox display</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Gridiron_color/doc&amp;diff=136435&amp;oldid=prev"/>
		<updated>2022-11-12T05:02:06Z</updated>

		<summary type="html">&lt;p&gt;fix High-use template in sandbox display&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Module rating|beta}}&lt;br /&gt;
{{High-use}}&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{accessibility dispute|reason=insufficient [[Wikipedia:Manual of Style/Accessibility#Color|color contrast]] for some teams|talk=Accessibility problems|date=December 2009}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
{{Lua|Module:Gridiron color/data|Module:Yesno|Module:Color contrast}}&lt;br /&gt;
Implements:&lt;br /&gt;
&lt;br /&gt;
* {{tl|Gridiron primary color}}&lt;br /&gt;
* {{tl|Gridiron primary color raw}}&lt;br /&gt;
* {{tl|Gridiron primary style}}&lt;br /&gt;
* {{tl|Gridiron secondary color}}&lt;br /&gt;
* {{tl|Gridiron secondary color raw}}&lt;br /&gt;
* {{tl|Gridiron tertiary color raw}}&lt;br /&gt;
* {{tl|Gridiron alt primary color}}&lt;br /&gt;
* {{tl|Gridiron alt primary style}}&lt;br /&gt;
* {{tl|Gridiron alt secondary color}}&lt;br /&gt;
&lt;br /&gt;
Uses color data from [[Module:Gridiron color/data]].&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
===Debugging===&lt;br /&gt;
Displays entire row from [[Module:Gridiron color/data]] for team and year passed in template call or using {{para|team}} and {{para|year}} (if omitted from invoke, module will take values from the template call):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;#invoke:{{BASEPAGENAME}}|test|team{{=}}&amp;#039;&amp;#039;team name (optional)&amp;#039;&amp;#039;|year{{=}}&amp;#039;&amp;#039;#### (optional)&amp;#039;&amp;#039;}}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{#invoke:{{BASEPAGENAME}}/sandbox|test|team=Buffalo Bills|year=2002}}&lt;br /&gt;
&lt;br /&gt;
===Return team color===&lt;br /&gt;
Returns either raw color value or prefixed color value. {{para|column}} uses the following values:&lt;br /&gt;
&lt;br /&gt;
# Primary color&lt;br /&gt;
# Secondary color&lt;br /&gt;
# Tertiary color&lt;br /&gt;
# Alternative primary color&lt;br /&gt;
# Alternative secondary color&lt;br /&gt;
&lt;br /&gt;
Set {{para|raw|true}} to display raw hex values. Team name and year passed in template call or specified using {{para|team}} and {{para|year}}:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;#invoke:{{BASEPAGENAME}}|color|column{{=}}&amp;#039;&amp;#039;#&amp;#039;&amp;#039;|raw{{=}}&amp;#039;&amp;#039;true (optional)&amp;#039;&amp;#039;|team{{=}}&amp;#039;&amp;#039;team name (optional)&amp;#039;&amp;#039;|year{{=}}&amp;#039;&amp;#039;#### (optional)&amp;#039;&amp;#039;}}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{#invoke:{{BASEPAGENAME}}/sandbox|color|column=1|team=Buffalo Bills|year=2002}}&lt;br /&gt;
&lt;br /&gt;
===Return team style===&lt;br /&gt;
Returns complete CSS style for given team. A border will be displayed using the tertiary color if {{para|border}} is set to &amp;quot;true&amp;quot; (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 {{para|team}} and {{para|year}}:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;#invoke:{{BASEPAGENAME}}|style|border{{=}}&amp;#039;&amp;#039;# or yes (optional)&amp;#039;&amp;#039;|team{{=}}&amp;#039;&amp;#039;team name (optional)&amp;#039;&amp;#039;|year{{=}}&amp;#039;&amp;#039;#### (optional)&amp;#039;&amp;#039;}}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{#invoke:{{BASEPAGENAME}}/sandbox|style|team=Buffalo Bills|border=2|year=2002}}&lt;br /&gt;
&lt;br /&gt;
{{Sports color templates}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox||&lt;br /&gt;
&amp;lt;!-- Categories below this line; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Sports color modules]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Paine Ellsworth</name></author>
	</entry>
</feed>