Note: parts of or the entire template might not be visible without values provided.
- Description
- This template implements the Colors module, allowing color processing in templates and articles.
- Syntax
{{colors|<function>|<param1>|<param2>}}- Usage -
wikiafunction - Input:
{{colors|<wikia>|<dropdown-menu-highlight>}} - Output:
rgba(11, 0, 128, 0.1) - Usage -
cssfunction - Input:
{{colors|<css>|<background-color: $color-community-header; color: $color-community-header-text;>}} - Output:
background-color: #f6f6f6; color: #000000; - Usage -
textfunction - Input:
{{colors|<text>|<$color-community-header>|<#0f0f0f>|<#f0f0f0>}} - Output:
#0f0f0f