Template:Colored link
Appearance
(Redirected from Template:Coloured link)
[[:{{{2}}}|{{{2}}}]]
![]() | This template is used on approximately 79,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
![]() | Links in prose should never be manually colored. (MOS:LINKCOLOR) |
![]() | When using this template, make sure you only use it on a colored background to avoid issues with dark mode. More information about how to ensure dark mode compatibility. (MOS:LINKCOLOR) |
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|purple|Page name to link|Alternative text}}
→ Alternative text
Use noinvert = yes
to preserve the link color in dark mode:
{{colored link|purple|Page name to link|Alternative text}}
→ Alternative text
See also
- {{Aqua}} → Main page
- {{Black}} → Main page
- {{Blue}} → Main page
- {{Brown}} → Main page
- {{Cyan}} → Main page
- {{Fuchsia}} → Main page
- {{Gold (color)}} → Main page
- {{Gray}} → Main page
- {{Green}} → Main page
- {{Lime}} → Main page
- {{Link blue}} → Main page
- {{Magenta}} → Main page
- {{Maroon}} → Main page
- {{Navy (color)}} → Main page
- {{Olive}} → Main page
- {{Orange}} → Main page
- {{Pink}} → Main page
- {{Purple}} → Main page
- {{Red}} → Main page
- {{Teal}} → Main page
- {{White}} → Main page
- {{Yellow}} → Main page