Difference between revisions of "Template:Colored Link"

m
m (Reverted edits by Cogniac (Talk); changed back to last version by BBR)
Line 1: Line 1:
<includeonly>[[{{{1}}}|<span style="color:#{{#if:{{{color|}}}|{{{color}}}|000000}};">{{{1}}}</span>]]</includeonly><noinclude>
+
<noinclude>[[Category:Templates]]
 
This is a template to color links.
 
This is a template to color links.
  
Line 7: Line 7:
 
* Text = Name of link
 
* Text = Name of link
 
* Color = Optional named parameter which determines the text color. Default is black(000000).
 
* Color = Optional named parameter which determines the text color. Default is black(000000).
 
+
</noinclude><includeonly><onlyinclude>[[{{{1}}}|<font color="#{{#if:{{{color|}}}|{{{color}}}|000000}}">{{{1}}}</font>]]</includeonly></onlyinclude>
[[Category:UO_Utility_Templates|{{PAGENAME}}]]
+
</noinclude>
+

Revision as of 13:37, 7 January 2008

This is a template to color links.

Usage: {{Link | Text | color=000000}}

  • Link = Template name
  • Text = Name of link
  • Color = Optional named parameter which determines the text color. Default is black(000000).