Template:Elc: Difference between revisions
From The Urban Dead Wiki
Jump to navigationJump to search
Marcusfilby (talk | contribs) mNo edit summary |
Marcusfilby (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
[{{{LINK|}}} <span style="color:{{{ | [{{{LINK|}}} <span style="color:{{{2|red}}};">{{{|{{{1|}}}}}}</span>] | ||
<noinclude> | <noinclude> | ||
A simple hack to provide alternate colors to external (non-wiki) links (default: red). | A simple hack to provide alternate colors to external (non-wiki) links (default: red). |
Revision as of 18:30, 9 July 2009
[ ]
A simple hack to provide alternate colors to external (non-wiki) links (default: red).
Usage
{{elc|<link address>|<link name>|[<color>]}}
The color parameter is optional, defaults to red, and can be any named color or hash value. Note that links containing an = or {} characters will break the template, due to the way MediaWiki passes parameter values.
Example
{{elc|http://wiki.urbandead.com/|UrbanDeadWiki|green}} produces [ http://wiki.urbandead.com/] .