Difference between revisions of "Template:Colored link"

From blackwiki
Jump to navigation Jump to search
imported>Lightsup55
m (minor add)
imported>Lightsup55
m (minor add)
Line 1: Line 1:
{{#ifeq:{{{1}}}|#CC2200|{{red link|{{#if:{{{3|}}}|{{{3}}}|{{{2}}}}}}}|[[:{{{2}}}|<span style="color:{{{1}}}">{{#if:{{{3|}}}|{{{3}}}|{{{2}}}}}</span>]]}}<noinclude>
+
{{#ifeq:{{{1}}}|#CC2200|{{red link|{{{2}}}|{{#if:{{{3|}}}|{{{3}}}|{{{2}}}}}}}|[[:{{{2}}}|<span style="color:{{{1}}}">{{#if:{{{3|}}}|{{{3}}}|{{{2}}}}}</span>]]}}<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 14:49, 24 January 2009

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

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