Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Examples  





3 Table of colors  














Template:UniSport color







Add links
 









Template
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Usage[edit]

{{UniSport color|team name|number}}

{{UniSport color cell|team name}} returns a style that uses the primary color for the background and the secondary color for the font.

{{UniSport color cell2|team name}} returns a similar style but uses the tertiary and quaternary colors instead of the primary and secondary, respectively.

Examples[edit]

<span style="color: #{{UniSport color|default|1}};">Lorem ipsum</span>

Lorem ipsum

<span style="{{UniSport color cell|default}}">Lorem ipsum</span>

Lorem ipsum

<span style="{{UniSport color cell2|default}}">Lorem ipsum</span>

Lorem ipsum

Table of colors[edit]

Team1234Contrast
1/24/3
Ballarat Blizzards
Also known as Ballarat
Also known as University of Ballarat
XX10.56
MQU Sport
Also known as Macquarie
Also known as Macquarie University
Also known as MQU
9.0821
UC Sport
Also known as University of Canberra
Also known as UC
2.6821
UTS Sport
Also known as University of Technology Sydney
Also known as UTS
9.4421
Uni 7s Series14.9816.8
UniSport
Also known as Nationals Snow
Also known as Indigenous Nationals
Also known as UniSport Division 1
Also known as UniSport Div 1
Also known as UniSport Nationals
4.053.32
UniSport Division 2
Also known as UniSport Div 2
3.324.05
Free agentXX15.31
RetiredXX15.31

The numeric columns are the calculated contrast ratio for the first/second and the fourth/third colors. Anything lower than 3 is very poor contrast and should be changed in the data module. For more information, see Template:Color contrast ratio.


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:UniSport_color&oldid=965806927"

Categories: 
Lua-based templates
UniSport templates
Sports color templates
 



This page was last edited on 3 July 2020, at 14:45 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki