Difference between revisions of "Template:Colored Link"

m
m
Line 1: Line 1:
<includeonly>[[{{{1}}}|<font color="#{{#if:{{{3}}}|{{{3}}}|000000}}">{{#if:{{{2}}}|{{{2}}}|{{{1}}}}}</font>]]</includeonly><noinclude>
+
<includeonly>[[{{{1}}}|<font color="#{{#if:{{{color|}}}|{{{color|}}}|000000}}">{{#if:{{{2}}}|{{{2}}}|{{{1}}}}}</font>]]</includeonly><noinclude>
 
This is a template to color links.
 
This is a template to color links.
  
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
{{Link | Page | Text | Color}}
+
{{Link | Page | Text | color=000000}}
 
</pre>
 
</pre>
 
* Link = Name of this template.
 
* Link = Name of this template.

Revision as of 14:45, 7 January 2008

This is a template to color links.

Usage

{{Link | Page | Text | color=000000}}
  • Link = 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).