Template:Colored link
[[:{{{2}}}|{{{2}}}]]
Usage[edit source]
This template takes three parameters: the color of the link, the article being linked to, and optional text to display as a piped link.
{{colored link|2=purple|3=Page name to link|4=Alternative text}} → Alternative text
Use noinvert = yes
to preserve the link color in dark mode: