Template:Colored link

From Deadlock Wiki
Revision as of 16:47, 23 September 2024 by DuskFyre (talk | contribs) (Created page with "[[:{{{2}}}|<span class="tmpl-colored-link {{#if:{{{noinvert|}}}|mw-no-invert|}}" style="color: {{{1}}}; text-decoration: inherit;">{{{3|{{{2}}}}}}</span>]]<noinclude> {{Documentation}}<!-- Add categories to the /doc subpage, not here! --> </noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Template documentation [view] [edit] [history] [purge]

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:

{{colored link|2=purple|3=Page name to link|4=Alternative text|5=noinvert=yes}} → Alternative text