Module:Gradient/doc

From MuttWiki
Revision as of 09:19, 22 February 2025 by Bofh (talk | contribs) (Created page with "{{#invoke:Gradient|rgb|FF0000|0000FF|This module provides support for generating text gradients.}} It contains the following functions: == rgb == <pre><nowiki>{{#invoke:Gradient|rgb|<from>|<to>|<text>}}</nowiki></pre> {| class="wikitable" |+ Parameters |- ! Name !! Description |- | from || A 6-digit hex code for the start colour. (No starting <code>#</code>.) |- | to || A 6-digit hex code for the end colour. (No starting <code>#</code>.) |- | text || The text to apply t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This is the documentation page for Module:Gradient

This module provides support for generating text gradients. It contains the following functions:

rgb

{{#invoke:Gradient|rgb|<from>|<to>|<text>}}
Parameters
Name Description
from A 6-digit hex code for the start colour. (No starting #.)
to A 6-digit hex code for the end colour. (No starting #.)
text The text to apply the gradient effect to. Plain text only.