Difference between revisions of "Template:LinkColor/doc"

From blackwiki
Jump to navigation Jump to search
imported>Lightsup55
m (created documentation subpage for Template:LinkColor)
 
imported>Lightsup55
m (→‎Notes: added a few notes)
Line 10: Line 10:
  
 
My {{LinkColor|green|Article|whatever text}}.
 
My {{LinkColor|green|Article|whatever text}}.
 +
 +
=== Notes ===
 +
 +
If the hex code {{Color|#CC2200|#CC2200}} is used as the color, this template will switch to using the <code>{{tl|Red link}}</code> template automatically.
 +
 +
In other words, <code>{{tlx|LinkColor|#CC2200|Article}}</code> and <code>{{tlx|LinkColor|#CC2200|Article|whatever text}}</code> are the same as <code>{{tlx|Red link|Article}}</code> and <code>{{tlx|Red link|Article|whatever text}}</code>
  
 
== See also ==
 
== See also ==

Revision as of 14:32, 24 January 2009

Usage

My {{LinkColor|green|Article}} text. Produces:

My Article text.

My {{LinkColor|green|Article|whatever text}}. Produces:

My whatever text.

Notes

If the hex code #CC2200 is used as the color, this template will switch to using the {{Red link}} template automatically.

In other words, {{LinkColor|#CC2200|Article}} and {{LinkColor|#CC2200|Article|whatever text}} are the same as {{Red link|Article}} and {{Red link|Article|whatever text}}

See also