You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

Template:Colorlink: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
<includeonly>[[{{{2}}}|<span style="color:#{{ #switch:{{{1}}} | purple=990099 | red=cc0000 | green=009900 | gray=666666 | orange=ffa500 | {{{1}}} }};">{{{3|{{{2}}}}}}</span>]]</includeonly><noinclude>Produces links in color; the current options are gray, green, orange, purple and red.
<includeonly>[[{{{2}}}|<span style="color:#{{ #switch:{{{1}}} | gray=666666 | green=009900 | orange=ffa500 | purple=990099 | red=cc0000 | {{{1}}} }};">{{{3|{{{2}}}}}}</span>]]</includeonly><noinclude>Produces links in color; the current options are <span style="color:#666666;">gray</span>, <span style="color:#009900;">green</span>, <span style="color:#ffa500;">orange</span>, <span style="color:#990099;">purple</span> and <span style="color:#cc0000;">red</span>.
 
=== Syntax ===
<pre>{{colorlink|color|link|link name (optional)}}</pre>


[[Category:Templates|{{PAGENAME}}]]</noinclude>
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 08:14, 21 August 2012

Produces links in color; the current options are gray, green, orange, purple and red.

Syntax

{{colorlink|color|link|link name (optional)}}