<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mywikibiz.com/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://mywikibiz.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AGridiron_color%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://mywikibiz.com/index.php?title=Module:Gridiron_color/doc&amp;action=history"/>
	<updated>2026-07-28T21:32:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.3</generator>
	<entry>
		<id>https://mywikibiz.com/index.php?title=Module:Gridiron_color/doc&amp;diff=471875&amp;oldid=prev</id>
		<title>Zoran: Pywikibot 6.4.0</title>
		<link rel="alternate" type="text/html" href="https://mywikibiz.com/index.php?title=Module:Gridiron_color/doc&amp;diff=471875&amp;oldid=prev"/>
		<updated>2021-07-15T21:54:37Z</updated>

		<summary type="html">&lt;p&gt;Pywikibot 6.4.0&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|30000}}&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{{=}}''team name (optional)''|year{{=}}''#### (optional)''}}&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{{=}}''#''|raw{{=}}''true (optional)''|team{{=}}''team name (optional)''|year{{=}}''#### (optional)''}}&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{{=}}''# or yes (optional)''|team{{=}}''team name (optional)''|year{{=}}''#### (optional)''}}&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;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox | |&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zoran</name></author>
	</entry>
</feed>