Jump to content
Wikipedia The Free Encyclopedia

Template:Colored link

From Wikipedia, the free encyclopedia
(Redirected from Template:Linkcolor)

[[:{{{2}}}|{{{2}}}]]

Template documentation[view] [edit] [history] [purge]
Warning This template is used on approximately 86,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|noinvert=yes}}Alternative text

See also

The above documentation is transcluded from Template:Colored link/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.

AltStyle によって変換されたページ (->オリジナル) /