- Description
- This template implements the Colors module, allowing color processing in templates and articles.
- Syntax
{{colors|<function>|<param1>|<param2>}}
- Usage -
wikia function
- Input:
{{colors|<wikia>|<dropdown-menu-highlight>}}
- Output:
rgba(11, 0, 128, 0.1)
- Usage -
css function
- Input:
{{colors|<css>|<background-color: $color-community-header; color: $color-community-header-text;>}}
- Output:
background-color: #f6f6f6; color: #000000;
- Usage -
text function
- Input:
{{colors|<text>|<$color-community-header>|<#0f0f0f>|<#f0f0f0>}}
- Output:
#0f0f0f