Difference between revisions of "Template:Handball color/doc"

From blackwiki
Jump to navigation Jump to search
imported>Malo95
(Create doc)
 
Line 28: Line 28:
  
 
<includeonly>
 
<includeonly>
[[Category:Handball|t Color]]
+
[[Category:Handball templates|Color]]
 
[[Category:Sports color templates]]
 
[[Category:Sports color templates]]
 
</includeonly>
 
</includeonly>

Revision as of 23:36, 23 April 2017

Usage

{{Handball color|team name|number}}

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

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

Examples

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

Lorem ipsum

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

Lorem ipsum

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

Lorem ipsum

Table of colors

Script error: No such module "Handball color/contrast".