Difference between revisions of "Template:Colored Link"

Line 1: Line 1:
<includeonly>[[{{{1}}}|<font color="#{{#if:{{{color|}}}|{{{color|}}}|000000}}">{{#if:{{{3|}}}|{{{2}}}|{{{1}}}}}</font>]]</includeonly><noinclude>
+
<includeonly>[[{{{1}}}|<font color="#{{{color|000000}}}">{{{2|{{{1}}}}}}</font>]]</includeonly><noinclude>
 
This is a template to color links.
 
This is a template to color links.
  

Revision as of 23:11, 10 November 2008

This is a template to color links.

Usage

{{ColoredLink | Page | Text | color=000000}}
  • ColoredLink = Name of this template
  • Page = The actual page to be linked to.
  • Text = Optional parameter which determines the text displayed as the link. Default is the value of "Page".
  • Color = Optional named parameter which determines the text color. Default is black (000000).