Difference between revisions of "Template:Colored link"

From blackwiki
Jump to navigation Jump to search
imported>CsDix
m (CsDix moved page Template:LinkColor to Template:Coloredlink: Puts the emphasis on the link being colo/ured, rather than the colo/ur of the link)
imported>Mxn
(Color-coordinated underline (if turned on in preferences) in Firefox)
Line 1: Line 1:
<includeonly>{{safesubst:</includeonly><includeonly>#ifeq:{{uc:{{{1}}}}}|#BA0000|{{red link|{{{2}}}|{{{3|{{{2}}}}}}}}|[[:{{{2}}}|<span style="color:{{{1}}}">{{{3|{{{2}}}}}}</span>]]}}</includeonly><noinclude>
+
<includeonly>{{safesubst:</includeonly><includeonly>#ifeq:{{uc:{{{1}}}}}|#BA0000|{{red link|{{{2}}}|{{{3|{{{2}}}}}}}}|[[:{{{2}}}|<span style="color: {{{1}}}; text-decoration: inherit; -moz-text-decoration-color: {{{1}}}; text-decoration-color: {{{1}}};">{{{3|{{{2}}}}}}</span>]]}}</includeonly><noinclude>
  
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
{{Documentation}}</noinclude>
 
{{Documentation}}</noinclude>

Revision as of 13:52, 16 January 2014


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

Usage

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|olive|Page name to link|Alternative text}}Alternative text

See also