Template:Color-link: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Protected "Template:Color-link" [edit=sysop:move=sysop])
mNo edit summary
Line 1: Line 1:
<span class="color-link">[[{{{1}}}|<span style="color:{{{2}}}; a:hover:{{{2}}};">{{{1}}}</span>]]</span><noinclude>
<span class="color-link">[[{{{1}}}|<span style="color:{{{2}}}; a:hover:{{{2}}};">{{{1}}}</span>]]</span><noinclude>


{{color-link|Main Page|#C00}}. Though you shouldn't falsely use the template as just shown, its implication is shown: change the link color of a link from the default blue. You can use a color name or a [[Help:Color codes|hexademical]], but be sure to add a <tt>#</tt> before the six alphanumeric sequence (or three if there's three pairs, such as C00, used in the example).
{{color-link|Main Page|#C00}}. Though you shouldn't falsely use the template as just shown, its implication is shown: change the link color of a link from the default blue. You can use a color name or a [[Help:Color codes|hexadecimal]], but be sure to add a <tt>#</tt> before the six alphanumeric sequence (or three if there's three pairs, such as C00, used in the example).


Actual code: <tt><nowiki>[[{{{1}}}|<span style="color:{{{2}}};">{{{1}}}</span>]]</nowiki></tt>
Actual code: <tt><nowiki>[[{{{1}}}|<span style="color:{{{2}}};">{{{1}}}</span>]]</nowiki></tt>

Revision as of 11:31, December 22, 2010

[[{{{1}}}|{{{1}}}]]

Main Page. Though you shouldn't falsely use the template as just shown, its implication is shown: change the link color of a link from the default blue. You can use a color name or a hexadecimal, but be sure to add a # before the six alphanumeric sequence (or three if there's three pairs, such as C00, used in the example).

Actual code: [[{{{1}}}|<span style="color:{{{2}}};">{{{1}}}</span>]]

Also see {{color-link-piped}}.