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
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#ifexist: {{{2}}}|[[{{{2}}}|<span style="color:#{{ #switch:{{{1}}} | blue=0000cc | gold=eec700 | gray=666666 | green=009900 | orange=ff8500 | purple=990099 | red=cc0000 | {{{1}}} }};">{{{3|{{{2}}}}}}</span>]]|<span style="color:#{{ #switch:{{{1}}} | blue=0000cc | gold=eec700 | gray=666666 | green=009900 | orange=ff5000 | purple=990099 | red=cc0000 | {{{1}}} }};">{{{3|{{{2}}}}}}</span>}}</includeonly><noinclude>Produces links in color; the current options are <span style="color:#0000cc;">blue</span>, <span style="color:#eec700;">gold</span>, <span style="color:#666666;">gray</span>, <span style="color:#009900;">green</span>, <span style="color:#ff8500;">orange</span>, <span style="color:#990099;">purple</span> and <span style="color:#cc0000;">red</span>.
<includeonly>{{#ifexist: {{{2}}}|[[{{{2}}}|<span style="color:#{{ #switch:{{{1}}} | blue=0000cc | gold=eec700 | gray=666666 | green=009900 | orange=ff8500 | purple=990099 | red=cc0000 | {{{1}}} }};">{{{3|{{{2}}}}}}</span>]]|<span style="color:#{{ #switch:{{{1}}} | blue=0000cc | gold=eec700 | gray=666666 | green=009900 | orange=ff5000 | purple=990099 | red=cc0000 | {{{1}}} }};">{{{3|{{{2}}}}}}</span>}}</includeonly><noinclude>Produces links in color; the current options are <span style="color:#0000cc;">blue</span>, <span style="color:#eec700;">gold</span>, <span style="color:#666666;">gray</span>, <span style="color:#009900;">green</span>, <span style="color:#ff5000;">orange</span>, <span style="color:#990099;">purple</span> and <span style="color:#cc0000;">red</span>.


=== Syntax ===
=== Syntax ===

Revision as of 07:51, 12 December 2012

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

Syntax

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